diff options
Diffstat (limited to 'src/objc/provider/MCOMailProvider.h')
-rw-r--r-- | src/objc/provider/MCOMailProvider.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/objc/provider/MCOMailProvider.h b/src/objc/provider/MCOMailProvider.h new file mode 100644 index 00000000..6a5ed9b4 --- /dev/null +++ b/src/objc/provider/MCOMailProvider.h @@ -0,0 +1,32 @@ +// +// MCOMailProvider.h +// mailcore2 +// +// Created by Robert Widmann on 4/28/13. +// Copyright (c) 2013 MailCore. All rights reserved. +// + +#import <Foundation/Foundation.h> + +@interface MCOMailProvider : NSObject + +@property (nonatomic, copy) NSString * identifier; + +- (id) initWithInfo:(NSDictionary *)info; + +- (NSArray *) imapServices; +- (NSArray *) smtpServices; +- (NSArray *) popServices; + +- (BOOL) matchEmail:(NSString *)email; +- (BOOL) matchMX:(NSString *)hostname; + +- (NSString *) sentMailFolderPath; +- (NSString *) starredFolderPath; +- (NSString *) allMailFolderPath; +- (NSString *) trashFolderPath; +- (NSString *) draftsFolderPath; +- (NSString *) spamFolderPath; +- (NSString *) importantFolderPath; + +@end |