Monotone-Parent: 3f27140faaea0e665b74e3809ef50a384c440a95

Monotone-Revision: 2e7676b90c71219dd808c0fe5e7250367ee03889

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-02-11T16:08:09
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-02-11 16:08:09 +00:00
parent e401c0bfae
commit 3749c51da9
2 changed files with 19 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2011-02-11 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreCalendarMessageTable.m
(-sortIdentifierForProperty:): implemented basic table.
* OpenChange/MAPIStoreGCSMessageTable.m (-setSordOrder:):
implemented overriden method, making use of the new
"sortIdentifierForProperty:" subclass method for the mapping of

View File

@ -201,4 +201,20 @@
return [knownProperties objectForKey: MAPIPropertyKey (property)];
}
/* sorting */
- (NSString *) sortIdentifierForProperty: (enum MAPITAGS) property
{
static NSMutableDictionary *knownProperties = nil;
if (!knownProperties)
{
knownProperties = [NSMutableDictionary new];
[knownProperties setObject: @"c_startdate"
forKey: MAPIPropertyKey (PidLidAppointmentStartWhole)];
}
return [knownProperties objectForKey: MAPIPropertyKey (property)];
}
@end