Monotone-Parent: 9b8dbd42ad07c6401218185ae572a3918a455e0f

Monotone-Revision: f141f31038bdfcf46fcde9a48d1473fd5e5763a4

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-13T13:21:16
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-10-13 13:21:16 +00:00
parent 227a13eb78
commit 26501cdafe
4 changed files with 74 additions and 20 deletions
+7
View File
@@ -32,6 +32,8 @@
@class NSString;
@class NSUserDefaults;
@class NGImap4Connection;
@class SOGoGroup;
@class SOGoObject;
@class SOGoUser;
@@ -40,6 +42,7 @@
@interface SOGoCache : NSObject
{
NSMutableDictionary *localCache;
NSMutableDictionary *imap4Connections;
NSMutableDictionary *cache;
NSMutableDictionary *users;
NSMutableDictionary *groups;
@@ -68,6 +71,10 @@
- (id) groupNamed: (NSString *) groupName
inDomain: (NSString *) domainName;
- (void) registerIMAP4Connection: (NGImap4Connection *) connection
forKey: (NSString *) key;
- (NGImap4Connection *) imap4ConnectionForKey: (NSString *) key;
/* NSDictionary-like methods */
- (void) setValue: (NSString *) value forKey: (NSString *) key;
- (NSString *) valueForKey: (NSString *) key;