DraftObject: return more attachments attributes

This commit is contained in:
Francis Lachapelle
2013-12-18 22:18:08 -05:00
parent a8e3418a4c
commit 1a900b05d9
3 changed files with 64 additions and 44 deletions
+6 -3
View File
@@ -40,10 +40,11 @@
@class NSData;
@class NSDictionary;
@class NSException;
@class NGImap4Envelope;
@class NGMimeMessage;
@class NSMutableDictionary;
@class NSString;
@class NGImap4Envelope;
@class NGMimeBodyPart;
@class NGMimeMessage;
@class SOGoMailObject;
@@ -87,8 +88,10 @@
/* attachments */
- (NSArray *) fetchAttachmentNames;
- (NSArray *) fetchAttachmentAttrs;
- (BOOL) isValidAttachmentName: (NSString *) _name;
- (NGMimeBodyPart *) bodyPartForAttachmentWithName: (NSString *) _name;
- (NSString *) pathToAttachmentWithName: (NSString *) _name;
- (NSException *) saveAttachment: (NSData *) _attach
withMetadata: (NSDictionary *) metadata;
- (NSException *) deleteAttachmentWithName: (NSString *) _name;