Monotone-Parent: 6c4cf7f3dbb7e635d914fed1a257163b82cd9517

Monotone-Revision: ca4fbefac87810f783af4e8524407ee848ae6b3f

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-15T17:18:34
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-10-15 17:18:34 +00:00
parent 1455202fdd
commit 92030a5996
3 changed files with 17 additions and 0 deletions
+5
View File
@@ -1,3 +1,8 @@
2010-10-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreMapping.m (+sharedMapping): singleton
constructor.
2010-10-14 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/WebServerResources/generic.js: (triggerAjaxRequest): save the
+2
View File
@@ -34,6 +34,8 @@
NSMutableDictionary *reverseMapping; /* url -> FID/MID */
}
+ (id) sharedMapping;
- (NSString *) urlFromID: (uint64_t) idKey;
- (uint64_t) idFromURL: (NSString *) url;
+10
View File
@@ -34,6 +34,16 @@
@implementation MAPIStoreMapping
+ (id) sharedMapping
{
static id sharedMapping = nil;
if (!sharedMapping)
sharedMapping = [self new];
return sharedMapping;
}
- (void) _setupFixedMapping
{
[self registerURL: @"sogo://openchange:openchange@mail/folderINBOX" withID: 0x160001];