diff options
author | Adlai Holler <guy.on.internet@icloud.com> | 2014-07-25 15:10:52 -0700 |
---|---|---|
committer | Adlai Holler <guy.on.internet@icloud.com> | 2014-07-25 15:10:52 -0700 |
commit | 4a544eb527d3f3625073311cf55090e758390c60 (patch) | |
tree | d6353480ebd48bceaea2326d7e0efa37fe3d0985 /src/objc/abstract/MCOAbstractPart.h | |
parent | dfc73dd7ad39d13e2cb06b2a308dbab38105c786 (diff) |
use NS_ENUM and NS_OPTIONS
Diffstat (limited to 'src/objc/abstract/MCOAbstractPart.h')
-rw-r--r-- | src/objc/abstract/MCOAbstractPart.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objc/abstract/MCOAbstractPart.h b/src/objc/abstract/MCOAbstractPart.h index 4ee98de3..af499582 100644 --- a/src/objc/abstract/MCOAbstractPart.h +++ b/src/objc/abstract/MCOAbstractPart.h @@ -14,7 +14,7 @@ @class MCOAbstractMessage; -typedef enum { +typedef NS_ENUM(NSInteger, MCOPartType) { // Used for a single part. // The part will be a MCOAbstractPart. MCOPartTypeSingle, @@ -35,7 +35,7 @@ typedef enum { // Used for a multipart, multipart/alternative. // The part will be a MCOAbstractMultipart. MCOPartTypeMultipartAlternative, -} MCOPartType; +}; @interface MCOAbstractPart : NSObject <NSCopying> |