Monotone-Parent: be9c203f3a5b8055a08854fac75321227532ee8c

Monotone-Revision: b65572c3789024ccb44bac952fa19cc6708071a0

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-07-19T19:28:44
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2012-07-19 19:28:44 +00:00
parent cd18ceeb6c
commit b4f8a596f5
6 changed files with 138 additions and 0 deletions

View File

@@ -143,6 +143,7 @@ static Class NSExceptionK, MAPIStoreFolderK;
SEL methodSel;
id value;
int rc = MAPISTORE_ERR_NOT_FOUND;
NSUInteger count, max;
value = [properties objectForKey: MAPIPropertyKey (propTag)];
if (value)
@@ -156,6 +157,16 @@ static Class NSExceptionK, MAPIStoreFolderK;
rc = method (self, methodSel, data, memCtx);
}
if (rc == MAPISTORE_ERR_NOT_FOUND)
{
max = [proxies count];
for (count = 0; rc == MAPISTORE_ERR_NOT_FOUND && count < max; count++)
rc = [[proxies objectAtIndex: count]
getProperty: data
withTag: propTag
inMemCtx: memCtx];
}
return rc;
}
@@ -200,6 +211,11 @@ static Class NSExceptionK, MAPIStoreFolderK;
return MAPISTORE_SUCCESS;
}
- (void) addProxy: (MAPIStoreObjectProxy *) newProxy
{
[proxies addObject: newProxy];
}
- (int) addPropertiesFromRow: (struct SRow *) aRow
{
struct SPropValue *cValue;