mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-18 13:13:31 +00:00
Monotone-Parent: dfb6501f2203375a52c674747ac8caa6ab2ca7d3
Monotone-Revision: 08c6872fb6a9c8bafc542d62b81e555faf5e1c05 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-10-25T17:36:51 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -34,36 +34,34 @@
|
||||
|
||||
@implementation MAPIStoreCalendarAttachment
|
||||
|
||||
- (int) getProperty: (void **) data
|
||||
withTag: (enum MAPITAGS) propTag
|
||||
inMemCtx: (TALLOC_CTX *) localMemCtx
|
||||
- (int) getPrAttachmentHidden: (void **) data
|
||||
inMemCtx: (TALLOC_CTX *) localMemCtx
|
||||
{
|
||||
int rc;
|
||||
*data = MAPIBoolValue (localMemCtx, YES);
|
||||
|
||||
rc = MAPISTORE_SUCCESS;
|
||||
switch (propTag)
|
||||
{
|
||||
case PR_ATTACHMENT_HIDDEN:
|
||||
*data = MAPIBoolValue (localMemCtx, YES);
|
||||
break;
|
||||
case PR_ATTACHMENT_FLAGS:
|
||||
*data = MAPILongValue (localMemCtx, 0x00000002); /* afException */
|
||||
break;
|
||||
case PR_ATTACH_METHOD:
|
||||
*data = MAPILongValue (localMemCtx, 0x00000005); /* afEmbeddedMessage */
|
||||
break;
|
||||
|
||||
// case PidTagExceptionStartTime:
|
||||
// case PidTagExceptionEndTime:
|
||||
// case PidTagExceptionReplaceTime:
|
||||
|
||||
default:
|
||||
rc = [super getProperty: data withTag: propTag inMemCtx: localMemCtx];
|
||||
}
|
||||
|
||||
return rc;
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
- (int) getPrAttachmentFlags: (void **) data
|
||||
inMemCtx: (TALLOC_CTX *) localMemCtx
|
||||
{
|
||||
*data = MAPILongValue (localMemCtx, 0x00000002); /* afException */
|
||||
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
- (int) getPrAttachmMethod: (void **) data
|
||||
inMemCtx: (TALLOC_CTX *) localMemCtx
|
||||
{
|
||||
*data = MAPILongValue (localMemCtx, 0x00000005); /* afEmbeddedMessage */
|
||||
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
// case PidTagExceptionStartTime:
|
||||
// case PidTagExceptionEndTime:
|
||||
// case PidTagExceptionReplaceTime:
|
||||
|
||||
/* subclasses */
|
||||
- (MAPIStoreEmbeddedMessage *) openEmbeddedMessage
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user