Monotone-Parent: aeb8c107b97ba5a8089c220a6f38fa3a8ce06df6

Monotone-Revision: 1178361f8707a8028000acf5b245a4eef4ee3f92

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-02-11T16:09:42
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-02-11 16:09:42 +00:00
parent e61634f501
commit 89d4df71b1
2 changed files with 23 additions and 0 deletions

View File

@@ -566,6 +566,8 @@
forKey: MAPIPropertyKey (PidLidEmail3EmailAddress)];
[knownProperties setObject: @"c_cn"
forKey: MAPIPropertyKey (PR_DISPLAY_NAME_UNICODE)];
[knownProperties setObject: @"c_cn"
forKey: MAPIPropertyKey (PidLidFileUnder)];
}
return [knownProperties objectForKey: MAPIPropertyKey (property)];
@@ -604,4 +606,20 @@
return rc;
}
/* sorting */
- (NSString *) sortIdentifierForProperty: (enum MAPITAGS) property
{
static NSMutableDictionary *knownProperties = nil;
if (!knownProperties)
{
knownProperties = [NSMutableDictionary new];
[knownProperties setObject: @"c_cn"
forKey: MAPIPropertyKey (PidLidFileUnder)];
}
return [knownProperties objectForKey: MAPIPropertyKey (property)];
}
@end