merge of '02eeec72548ff817666ea01fd17816eeaf1aa802'
and 'ade57d95f9e3d9e8015757ea30d104d416c32d67' Monotone-Parent: 02eeec72548ff817666ea01fd17816eeaf1aa802 Monotone-Parent: ade57d95f9e3d9e8015757ea30d104d416c32d67 Monotone-Revision: 48706c943fa3ceb72288194c22bfec223fb4a890 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-02-03T22:09:45 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
commit
36a03a0e5c
|
@ -1,3 +1,8 @@
|
||||||
|
2011-02-03 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||||
|
|
||||||
|
* OpenChange/MAPIStoreMapping.m (-unregisterURLWithID:): new
|
||||||
|
method for removing entries from the mapping dictionaries.
|
||||||
|
|
||||||
2011-02-03 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
2011-02-03 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
* SoObjects/SOGo/WOResourceManager+SOGo.m: new category module
|
* SoObjects/SOGo/WOResourceManager+SOGo.m: new category module
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
- (uint64_t) idFromURL: (NSString *) url;
|
- (uint64_t) idFromURL: (NSString *) url;
|
||||||
- (BOOL) registerURL: (NSString *) urlString
|
- (BOOL) registerURL: (NSString *) urlString
|
||||||
withID: (uint64_t) idNbr;
|
withID: (uint64_t) idNbr;
|
||||||
// - (void) registerURL: (NSString *) urlString;
|
- (void) unregisterURLWithID: (uint64_t) idNbr;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
|
@ -180,4 +180,15 @@ MAPIStoreMappingInitDictionary (NSMutableDictionary *mapping)
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void) unregisterURLWithID: (uint64_t) idNbr
|
||||||
|
{
|
||||||
|
NSNumber *idKey;
|
||||||
|
NSString *urlString;
|
||||||
|
|
||||||
|
idKey = [NSNumber numberWithUnsignedLongLong: idNbr];
|
||||||
|
urlString = [mapping objectForKey: idKey];
|
||||||
|
[reverseMapping removeObjectForKey: urlString];
|
||||||
|
[mapping removeObjectForKey: idKey];
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in a new issue