diff options
author | CodaFi <devteam.codafi@gmail.com> | 2013-04-28 17:37:52 -0600 |
---|---|---|
committer | CodaFi <devteam.codafi@gmail.com> | 2013-04-28 17:37:52 -0600 |
commit | d9da8ea6e22361a35c0bf94237c8c16d5021a3b4 (patch) | |
tree | e5e68ac9a9906d128c2179b82cd8b60c8a64c721 /src/objc/provider/MCOMailProvider.h | |
parent | 10c9d0abf0e8009277fb2006cffb76b8a26865c7 (diff) |
Providers API
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 |