mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 08:55:08 +00:00
Monotone-Parent: 7bd1aabb4c8542dc219b7ddaff1bee6356e39dd2
Monotone-Revision: 031caf8f4d04f5492d5af29b0ff93447c66c5cbf Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-14T16:38:15 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -945,21 +945,43 @@ static MAPIStoreMapping *mapping = nil;
|
||||
return MAPISTORE_ERROR;
|
||||
}
|
||||
|
||||
- (int) getProperties: (struct SPropTagArray *) SPropTagArray
|
||||
- (int) getProperties: (struct SPropTagArray *) sPropTagArray
|
||||
inRow: (struct SRow *) aRow
|
||||
withMID: (uint64_t) fmid
|
||||
type: (uint8_t) tableType
|
||||
{
|
||||
[self logWithFormat: @"METHOD '%s' (%d) -- tableType: %d, mid: %lld",
|
||||
__FUNCTION__, __LINE__, tableType, fmid];
|
||||
NSString *childURL;
|
||||
int rc;
|
||||
|
||||
switch (tableType)
|
||||
childURL = [mapping urlFromID: fmid];
|
||||
if (childURL)
|
||||
{
|
||||
case MAPISTORE_FOLDER:
|
||||
break;
|
||||
case MAPISTORE_MESSAGE:
|
||||
break;
|
||||
switch (tableType)
|
||||
{
|
||||
case MAPISTORE_MESSAGE:
|
||||
rc = [self getMessageProperties: sPropTagArray inRow: aRow
|
||||
atURL: childURL];
|
||||
break;
|
||||
case MAPISTORE_FOLDER:
|
||||
default:
|
||||
rc = MAPISTORE_ERROR;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
[self errorWithFormat: @"No url found for FMID: %lld", fmid];
|
||||
rc = MAPISTORE_ERR_NOT_FOUND;
|
||||
}
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
- (int) getMessageProperties: (struct SPropTagArray *) sPropTagArray
|
||||
inRow: (struct SRow *) aRow
|
||||
atURL: (NSString *) childURL
|
||||
{
|
||||
[self logWithFormat: @"METHOD '%s' (%d)", __FUNCTION__, __LINE__];
|
||||
|
||||
return MAPISTORE_ERROR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user