mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 02:45:25 +00:00
Monotone-Parent: 3f8608c82d9c379cc9e0fea6ffe853cc1949a24b
Monotone-Revision: 905276f295d6f28a6946297f6a7af9ad60f71842 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-06-29T17:59:38 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -52,6 +52,7 @@
|
||||
if ((self = [super init]))
|
||||
{
|
||||
bodyInfo = nil;
|
||||
bodyPart = nil;
|
||||
}
|
||||
|
||||
return self;
|
||||
@@ -60,6 +61,7 @@
|
||||
- (void) dealloc
|
||||
{
|
||||
[bodyInfo release];
|
||||
[bodyPart release];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
@@ -68,6 +70,11 @@
|
||||
ASSIGN (bodyInfo, newBodyInfo);
|
||||
}
|
||||
|
||||
- (void) setBodyPart: (SOGoMailBodyPart *) newBodyPart
|
||||
{
|
||||
ASSIGN (bodyPart, newBodyPart);
|
||||
}
|
||||
|
||||
- (int) getPidTagAttachMethod: (void **) data
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
{
|
||||
@@ -187,7 +194,7 @@
|
||||
- (int) getPidTagAttachDataBinary: (void **) data
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
{
|
||||
*data = [[sogoObject fetchBLOBWithPeek: YES] asBinaryInMemCtx: memCtx];
|
||||
*data = [[bodyPart fetchBLOBWithPeek: YES] asBinaryInMemCtx: memCtx];
|
||||
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user