Monotone-Parent: 26cbeaca3585c432387d70a58a14fa4850bca000

Monotone-Revision: 33e2aa2b132966fb140cf836363d66bcada361fd

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-02-11T21:37:17
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-02-11 21:37:17 +00:00
parent 6e1cf147bd
commit 3dded781c2
3 changed files with 18 additions and 10 deletions

View File

@ -1,5 +1,8 @@
2011-02-11 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreTable.m
(-warnUnhandledProperty:inFunction:): renamed and made method public.
* OpenChange/MAPIStoreGCSMessageTable.m
(-evaluatePropertyRestriction:intoQualifier:)
took version of method from MAPIStoreTable and modified it to

View File

@ -86,6 +86,11 @@ typedef enum {
forKey: (NSString *) childKey
withTag: (enum MAPITAGS) proptag;
/* helpers */
- (void) warnUnhandledProperty: (enum MAPITAGS) property
inFunction: (const char *) function;
/* subclasses */
- (NSArray *) childKeys;

View File

@ -562,8 +562,8 @@ static Class NSDataK, NSStringK;
return nil;
}
- (void) _warnUnhandledPropertyException: (enum MAPITAGS) property
inFunction: (const char *) function
- (void) warnUnhandledProperty: (enum MAPITAGS) property
inFunction: (const char *) function
{
const char *propName;
@ -628,8 +628,8 @@ static Class NSDataK, NSStringK;
}
else
{
[self _warnUnhandledPropertyException: res->ulPropTag
inFunction: __FUNCTION__];
[self warnUnhandledProperty: res->ulPropTag
inFunction: __FUNCTION__];
rc = MAPIRestrictionStateAlwaysFalse;
}
@ -675,8 +675,8 @@ static Class NSDataK, NSStringK;
}
else
{
[self _warnUnhandledPropertyException: res->ulPropTag
inFunction: __FUNCTION__];
[self warnUnhandledProperty: res->ulPropTag
inFunction: __FUNCTION__];
rc = MAPIRestrictionStateAlwaysFalse;
}
@ -701,8 +701,8 @@ static Class NSDataK, NSStringK;
}
else
{
[self _warnUnhandledPropertyException: res->ulPropTag
inFunction: __FUNCTION__];
[self warnUnhandledProperty: res->ulPropTag
inFunction: __FUNCTION__];
rc = MAPIRestrictionStateAlwaysFalse;
}
@ -727,8 +727,8 @@ static Class NSDataK, NSStringK;
}
else
{
[self _warnUnhandledPropertyException: res->ulPropTag
inFunction: __FUNCTION__];
[self warnUnhandledProperty: res->ulPropTag
inFunction: __FUNCTION__];
rc = MAPIRestrictionStateAlwaysFalse;
}