mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-03 10:35:25 +00:00
Monotone-Parent: 8ec67206fe2e60d10c9dd420d14aeb136a46afc8
Monotone-Revision: d3347c857a352227561f6e22c205b089a223ee88 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-06-07T00:02:54 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -607,6 +607,37 @@ _prepareContextClass (struct mapistore_context *newMemCtx,
|
||||
return rc;
|
||||
}
|
||||
|
||||
- (int) getAvailableProperties: (struct SPropTagArray **) propertiesP
|
||||
ofTableType: (uint8_t) type
|
||||
{
|
||||
int rc = MAPISTORE_SUCCESS;
|
||||
|
||||
switch (type)
|
||||
{
|
||||
case MAPISTORE_FOLDER_TABLE:
|
||||
[[baseFolder class] getAvailableProperties: propertiesP];
|
||||
break;
|
||||
case MAPISTORE_MESSAGE_TABLE:
|
||||
[[baseFolder messageClass] getAvailableProperties: propertiesP];
|
||||
break;
|
||||
case MAPISTORE_FAI_TABLE:
|
||||
[MAPIStoreFAIMessage getAvailableProperties: propertiesP];
|
||||
break;
|
||||
case MAPISTORE_RULE_TABLE:
|
||||
[self errorWithFormat: @"%s: rules not handled yet",
|
||||
__PRETTY_FUNCTION__];
|
||||
rc = MAPISTORE_ERROR;
|
||||
break;
|
||||
case MAPISTORE_ATTACHMENT_TABLE:
|
||||
[self errorWithFormat: @"%s: attachments not handled yet",
|
||||
__PRETTY_FUNCTION__];
|
||||
rc = MAPISTORE_ERROR;
|
||||
break;
|
||||
}
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
- (int) openMessage: (struct mapistore_message *) msg
|
||||
withMID: (uint64_t) mid
|
||||
inFID: (uint64_t) fid
|
||||
|
||||
Reference in New Issue
Block a user