Monotone-Parent: 92ce389a1151c9f1a5f222e3ad03a757f3be2bdd

Monotone-Revision: 9cbf90659764ea3f6e6865022fda54ac0159d18f

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-11-19T15:02:25
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-11-19 15:02:25 +00:00
parent 0cd778fdb3
commit 629491e2fb
3 changed files with 33 additions and 25 deletions
+30 -22
View File
@@ -37,8 +37,15 @@
would address the MIME part 1.2.3 of the mail 12345 in the folder INBOX.
*/
@class NSData, NSString, NSArray, NSCalendarDate, NSException, NSDictionary;
@class NGImap4Envelope, NGImap4EnvelopeAddress;
@class NSArray;
@class NSCalendarDate;
@class NSData;
@class NSDictionary;
@class NSException;
@class NSString;
@class NGImap4Envelope;
@class NGImap4EnvelopeAddress;
@interface SOGoMailObject : SOGoMailBaseObject
{
@@ -53,42 +60,43 @@
/* core infos */
- (BOOL)doesMailExist;
- (id)fetchCoreInfos; // TODO: what does it do?
- (BOOL) doesMailExist;
- (id) fetchCoreInfos; // TODO: what does it do?
- (NGImap4Envelope *)envelope;
- (NSString *)subject;
- (NSString *)decodedSubject;
- (NSCalendarDate *)date;
- (NSArray *)fromEnvelopeAddresses;
- (NSArray *)toEnvelopeAddresses;
- (NSArray *)ccEnvelopeAddresses;
- (NGImap4Envelope *) envelope;
- (NSString *) subject;
- (NSString *) decodedSubject;
- (NSCalendarDate *) date;
- (NSArray *) fromEnvelopeAddresses;
- (NSArray *) replyToEnvelopeAddresses;
- (NSArray *) toEnvelopeAddresses;
- (NSArray *) ccEnvelopeAddresses;
- (NSDictionary *) mailHeaders;
- (id)bodyStructure;
- (id)lookupInfoForBodyPart:(id)_path;
- (id) bodyStructure;
- (id) lookupInfoForBodyPart:(id)_path;
/* content */
- (NSData *)content;
- (NSString *)contentAsString;
- (NSData *) content;
- (NSString *) contentAsString;
/* bulk fetching of plain/text content */
- (NSArray *)plainTextContentFetchKeys;
- (NSDictionary *)fetchPlainTextParts:(NSArray *)_fetchKeys;
- (NSDictionary *)fetchPlainTextParts;
- (NSDictionary *)fetchPlainTextStrings:(NSArray *)_fetchKeys;
- (NSArray *) plainTextContentFetchKeys;
- (NSDictionary *) fetchPlainTextParts:(NSArray *)_fetchKeys;
- (NSDictionary *) fetchPlainTextParts;
- (NSDictionary *) fetchPlainTextStrings:(NSArray *)_fetchKeys;
/* flags */
- (NSException *)addFlags:(id)_f;
- (NSException *)removeFlags:(id)_f;
- (NSException *) addFlags:(id)_f;
- (NSException *) removeFlags:(id)_f;
/* deletion */
- (BOOL)isDeletionAllowed;
- (BOOL) isDeletionAllowed;
- (NSException *) trashInContext:(id)_ctx;
- (NSException *) copyToFolderNamed: (NSString *) folderName
inContext: (id)_ctx;