mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-08 03:49:47 +00:00
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:
@@ -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
|
||||
|
||||
@@ -34,6 +34,8 @@
|
||||
NSMutableDictionary *reverseMapping; /* url -> FID/MID */
|
||||
}
|
||||
|
||||
+ (id) sharedMapping;
|
||||
|
||||
- (NSString *) urlFromID: (uint64_t) idKey;
|
||||
|
||||
- (uint64_t) idFromURL: (NSString *) url;
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user