mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-07 12:57:14 +00:00
Monotone-Parent: 6b7485d7999f592e4a4b077024f47c2323c3fdbc
Monotone-Revision: d47c52bbe608df33a336ba2d63dad8b7524aa9d7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-22T21:31:42 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
ffffac624a
commit
4371dba9a1
10 files changed
+107
-415
No files matched your search
@@ -22,8 +22,6 @@
|
||||
#ifndef __Mailer_SOGoMailManager_H__
|
||||
#define __Mailer_SOGoMailManager_H__
|
||||
|
||||
#import <Foundation/NSObject.h>
|
||||
#import <Foundation/NSRange.h>
|
||||
#include <NGImap4/NGImap4ConnectionManager.h>
|
||||
|
||||
/*
|
||||
@@ -32,61 +30,15 @@
|
||||
Legacy methods, the methods were used prior the move to NGImap4.
|
||||
*/
|
||||
|
||||
@class NSString, NSData, NSURL, NSArray, NSMutableDictionary, NSTimer;
|
||||
@class NSDictionary;
|
||||
@class NSException;
|
||||
@class NGImap4Client;
|
||||
@class NSString;
|
||||
@class NSURL;
|
||||
|
||||
@interface NGImap4ConnectionManager(SOGoMailManager)
|
||||
@interface NGImap4ConnectionManager (SOGoMailManager)
|
||||
|
||||
/* folder hierarchy */
|
||||
|
||||
- (NSArray *)subfoldersForURL:(NSURL *)_url password:(NSString *)_pwd;
|
||||
- (NSArray *)allFoldersForURL:(NSURL *)_url password:(NSString *)_pwd;
|
||||
|
||||
/* messages */
|
||||
|
||||
- (NSArray *)fetchUIDsInURL:(NSURL *)_url qualifier:(id)_q
|
||||
sortOrdering:(id)_so password:(NSString *)_pwd;
|
||||
- (NSArray *)fetchUIDs:(NSArray *)_uids inURL:(NSURL *)_url
|
||||
parts:(NSArray *)_parts password:(NSString *)_pwd;
|
||||
|
||||
- (NSException *)expungeAtURL:(NSURL *)_url password:(NSString *)_pwd;
|
||||
|
||||
/* individual message */
|
||||
|
||||
- (id)fetchURL:(NSURL *)_url parts:(NSArray *)_parts password:(NSString *)_pwd;
|
||||
|
||||
- (NSData *)fetchContentOfBodyPart:(NSString *)_partId
|
||||
atURL:(NSURL *)_url password:(NSString *)_pwd;
|
||||
|
||||
- (NSException *)addFlags:(id)_f toURL:(NSURL *)_u password:(NSString *)_p;
|
||||
- (NSException *)removeFlags:(id)_f toURL:(NSURL *)_u password:(NSString *)_p;
|
||||
- (NSException *)markURLDeleted:(NSURL *)_u password:(NSString *)_p;
|
||||
|
||||
- (NSException *)postData:(NSData *)_data flags:(id)_flags
|
||||
toFolderURL:(NSURL *)_url password:(NSString *)_p;
|
||||
|
||||
- (NSException *)copyMailURL:(NSURL *)_srcurl toFolderURL:(NSURL *)_desturl
|
||||
password:(NSString *)_pwd;
|
||||
|
||||
/* managing folders */
|
||||
|
||||
- (BOOL)doesMailboxExistAtURL:(NSURL *)_url password:(NSString *)_pwd;
|
||||
- (id)infoForMailboxAtURL:(NSURL *)_url password:(NSString *)_pwd;
|
||||
|
||||
- (NSException *)createMailbox:(NSString *)_mailbox atURL:(NSURL *)_url
|
||||
password:(NSString *)_pwd;
|
||||
- (NSException *)deleteMailboxAtURL:(NSURL *)_url password:(NSString *)_pwd;
|
||||
|
||||
- (NSException *)moveMailboxAtURL:(NSURL *)_srcurl toURL:(NSURL *)_desturl
|
||||
password:(NSString *)_pwd;
|
||||
|
||||
- (NSDictionary *)aclForMailboxAtURL:(NSURL *)_url password:(NSString *)_pwd;
|
||||
- (NSString *)myRightsForMailboxAtURL:(NSURL *)_url password:(NSString *)_pwd;
|
||||
|
||||
- (NSException *)addFlags:(id)_f toAllMessagesInURL:(NSURL *)_u
|
||||
password:(NSString *)_p;
|
||||
- (NSException *) copyMailURL: (NSURL *) srcurl
|
||||
toFolderURL: (NSURL *) desturl
|
||||
password: (NSString *) pwd;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in new issue
Block a user