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:
Wolfgang Sourdeau
2011-10-25 17:36:51 +00:00
parent fc6711585a
commit e2457472b4
4 changed files with 174 additions and 133 deletions
+24 -26
View File
@@ -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
{