diff options
author | Hoà V. DINH <dinh.viet.hoa@gmail.com> | 2014-03-04 14:40:46 -0800 |
---|---|---|
committer | Hoà V. DINH <dinh.viet.hoa@gmail.com> | 2014-03-04 14:40:46 -0800 |
commit | 8ab02555cfb262eea4f7377e5be7f05949915dbc (patch) | |
tree | b106dca3fa2f5d5a52897b3b8a68fbd4747e9e29 | |
parent | b08aaff4d9b71cb8eb6afb0ec2d3b482df7e2d96 (diff) | |
parent | 431aaf5f1b56b4529a70a7fb8598d686f4d6d814 (diff) |
Merge pull request #619 from mronge/master
Add NSCoding to classes that support it
-rw-r--r-- | src/objc/abstract/MCOAddress.h | 2 | ||||
-rw-r--r-- | src/objc/abstract/MCOMessageHeader.h | 2 | ||||
-rw-r--r-- | src/objc/imap/MCOIMAPMessage.h | 2 | ||||
-rw-r--r-- | src/objc/imap/MCOIMAPMessagePart.h | 2 | ||||
-rw-r--r-- | src/objc/imap/MCOIMAPMultipart.h | 2 | ||||
-rw-r--r-- | src/objc/imap/MCOIMAPPart.h | 2 | ||||
-rw-r--r-- | src/objc/utils/MCOIndexSet.h | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/objc/abstract/MCOAddress.h b/src/objc/abstract/MCOAddress.h index 82aa5280..473c8428 100644 --- a/src/objc/abstract/MCOAddress.h +++ b/src/objc/abstract/MCOAddress.h @@ -12,7 +12,7 @@ #import <Foundation/Foundation.h> -@interface MCOAddress : NSObject <NSCopying> +@interface MCOAddress : NSObject <NSCopying, NSCoding> /** Creates an address with a display name and a mailbox. diff --git a/src/objc/abstract/MCOMessageHeader.h b/src/objc/abstract/MCOMessageHeader.h index f47e71b6..4d11bb6c 100644 --- a/src/objc/abstract/MCOMessageHeader.h +++ b/src/objc/abstract/MCOMessageHeader.h @@ -16,7 +16,7 @@ @class MCOAddress; -@interface MCOMessageHeader : NSObject <NSCopying> +@interface MCOMessageHeader : NSObject <NSCopying, NSCoding> /** Message-ID field.*/ @property (nonatomic, copy) NSString * messageID; diff --git a/src/objc/imap/MCOIMAPMessage.h b/src/objc/imap/MCOIMAPMessage.h index f4587636..7ca40b9e 100644 --- a/src/objc/imap/MCOIMAPMessage.h +++ b/src/objc/imap/MCOIMAPMessage.h @@ -29,7 +29,7 @@ @protocol MCOHTMLRendererIMAPDelegate; -@interface MCOIMAPMessage : MCOAbstractMessage +@interface MCOIMAPMessage : MCOAbstractMessage <NSCoding> /** IMAP UID of the message. */ @property (nonatomic, assign) uint32_t uid; diff --git a/src/objc/imap/MCOIMAPMessagePart.h b/src/objc/imap/MCOIMAPMessagePart.h index 8f4f531f..c455d336 100644 --- a/src/objc/imap/MCOIMAPMessagePart.h +++ b/src/objc/imap/MCOIMAPMessagePart.h @@ -14,7 +14,7 @@ #import <MailCore/MCOAbstractMessagePart.h> -@interface MCOIMAPMessagePart : MCOAbstractMessagePart +@interface MCOIMAPMessagePart : MCOAbstractMessagePart <NSCoding> /** A part identifier is of the form 1.2.1*/ @property (nonatomic, copy) NSString * partID; diff --git a/src/objc/imap/MCOIMAPMultipart.h b/src/objc/imap/MCOIMAPMultipart.h index 0b5997de..c083f425 100644 --- a/src/objc/imap/MCOIMAPMultipart.h +++ b/src/objc/imap/MCOIMAPMultipart.h @@ -14,7 +14,7 @@ #import <MailCore/MCOAbstractMultipart.h> -@interface MCOIMAPMultipart : MCOAbstractMultipart +@interface MCOIMAPMultipart : MCOAbstractMultipart <NSCoding> /** A part identifier looks like 1.2.1 */ @property (nonatomic, copy) NSString * partID; diff --git a/src/objc/imap/MCOIMAPPart.h b/src/objc/imap/MCOIMAPPart.h index 814aa0a8..660113b5 100644 --- a/src/objc/imap/MCOIMAPPart.h +++ b/src/objc/imap/MCOIMAPPart.h @@ -16,7 +16,7 @@ /** Represents a single IMAP message part */ -@interface MCOIMAPPart : MCOAbstractPart +@interface MCOIMAPPart : MCOAbstractPart <NSCoding> /** A part identifier looks like 1.2.1 */ @property (nonatomic, copy) NSString * partID; diff --git a/src/objc/utils/MCOIndexSet.h b/src/objc/utils/MCOIndexSet.h index 9188ba65..0cd18d15 100644 --- a/src/objc/utils/MCOIndexSet.h +++ b/src/objc/utils/MCOIndexSet.h @@ -16,7 +16,7 @@ /** similar to NSMutableIndexSet but supports int64_t*/ -@interface MCOIndexSet : NSObject <NSCopying> +@interface MCOIndexSet : NSObject <NSCopying, NSCoding> /** Creates an empty index set.*/ + (MCOIndexSet *) indexSet; |