mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-03 22:26:24 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user