mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-03 07:44:25 +00:00
Monotone-Parent: 4e23e038f2b0b7eddf8b30700b8c9a8910768f98
Monotone-Revision: 9235e5dc4d151a3cba8ad842ac39e1b2d18c8201 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-01-29T19:55:21 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -47,31 +47,26 @@
|
||||
@class MAPIStoreAttachment;
|
||||
@class MAPIStoreAttachmentTable;
|
||||
@class MAPIStoreFolder;
|
||||
@class MAPIStoreMapping;
|
||||
@class MAPIStoreMessage;
|
||||
@class MAPIStoreTable;
|
||||
@class MAPIStoreUserContext;
|
||||
|
||||
@interface MAPIStoreContext : NSObject
|
||||
{
|
||||
struct mapistore_context *mstoreCtx;
|
||||
struct mapistore_connection_info *connInfo;
|
||||
|
||||
SOGoUser *activeUser;
|
||||
SOGoUser *ownerUser;
|
||||
|
||||
MAPIStoreUserContext *userContext;
|
||||
|
||||
NSURL *contextUrl;
|
||||
|
||||
MAPIStoreMapping *mapping;
|
||||
|
||||
MAPIStoreAuthenticator *authenticator;
|
||||
WOContext *woContext;
|
||||
|
||||
MAPIStoreFolder *baseFolder;
|
||||
}
|
||||
|
||||
+ (struct mapistore_contexts_list *) listAllContextsForUser: (NSString *) userName
|
||||
withTDBIndexing: (struct tdb_wrap *) indexingTdb
|
||||
inMemCtx: (TALLOC_CTX *) memCtx;
|
||||
+ (struct mapistore_contexts_list *) listContextsForUser: (NSString *) userName
|
||||
withTDBIndexing: (struct tdb_wrap *) indexingTdb
|
||||
inMemCtx: (TALLOC_CTX *) memCtx;
|
||||
|
||||
+ (int) openContext: (MAPIStoreContext **) contextPtr
|
||||
@@ -83,20 +78,12 @@
|
||||
withConnectionInfo: (struct mapistore_connection_info *) newConnInfo
|
||||
andTDBIndexing: (struct tdb_wrap *) indexingTdb;
|
||||
|
||||
- (void) setAuthenticator: (MAPIStoreAuthenticator *) newAuthenticator;
|
||||
- (MAPIStoreAuthenticator *) authenticator;
|
||||
|
||||
- (NSURL *) url;
|
||||
- (struct mapistore_connection_info *) connectionInfo;
|
||||
|
||||
- (WOContext *) woContext;
|
||||
- (MAPIStoreMapping *) mapping;
|
||||
|
||||
- (void) setupRequest;
|
||||
- (void) tearDownRequest;
|
||||
- (MAPIStoreUserContext *) userContext;
|
||||
|
||||
- (SOGoUser *) activeUser;
|
||||
- (SOGoUser *) ownerUser;
|
||||
|
||||
// - (id) lookupObject: (NSString *) objectURLString;
|
||||
|
||||
@@ -117,7 +104,11 @@
|
||||
|
||||
/* subclass methods */
|
||||
+ (NSString *) MAPIModuleName;
|
||||
- (void) setupBaseFolder: (NSURL *) newURL;
|
||||
- (Class) MAPIStoreFolderClass;
|
||||
|
||||
/* the top-most parent of the context folder: SOGoMailAccount,
|
||||
SOGoCalendarFolders, ... */
|
||||
- (id) rootSOGoFolder;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user