Monotone-Parent: aff0225cae26a70d3ca711bd22d7459655c7f24e
Monotone-Revision: 39e4d66894e1c585c6ce895bdcf629c4e6c0999e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-08T20:05:50 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
fcc4b2b070
commit
5c044411d4
|
@ -1,5 +1,8 @@
|
|||
2011-07-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreObject.m (-setMAPIRetainCount:)
|
||||
(-mapiRetainCount:): moved methods from MAPIStoreMessage.
|
||||
|
||||
* OpenChange/MAPIStoreTable.m
|
||||
(-evaluateContentRestriction:intoQualifier:): temporarily
|
||||
commented out code initializing "operator" as this local var is
|
||||
|
|
|
@ -39,13 +39,8 @@
|
|||
NSMutableArray *attachmentKeys;
|
||||
NSMutableDictionary *attachmentParts;
|
||||
NSMutableArray *activeTables;
|
||||
uint32_t mapiRetainCount;
|
||||
}
|
||||
|
||||
/* HACK: MAPI retain count */
|
||||
- (void) setMAPIRetainCount: (uint32_t) newCount;
|
||||
- (uint32_t) mapiRetainCount;
|
||||
|
||||
- (void) openMessage: (struct mapistore_message *) msg;
|
||||
|
||||
/* helper getters */
|
||||
|
|
|
@ -54,7 +54,6 @@
|
|||
{
|
||||
if ((self = [super init]))
|
||||
{
|
||||
mapiRetainCount = 0;
|
||||
attachmentKeys = nil;
|
||||
attachmentParts = nil;
|
||||
activeTables = [NSMutableArray new];
|
||||
|
@ -71,16 +70,6 @@
|
|||
[super dealloc];
|
||||
}
|
||||
|
||||
- (void) setMAPIRetainCount: (uint32_t) newCount
|
||||
{
|
||||
mapiRetainCount = newCount;
|
||||
}
|
||||
|
||||
- (uint32_t) mapiRetainCount
|
||||
{
|
||||
return mapiRetainCount;
|
||||
}
|
||||
|
||||
- (void) openMessage: (struct mapistore_message *) msg
|
||||
{
|
||||
static enum MAPITAGS tags[] = { PR_SUBJECT_PREFIX_UNICODE,
|
||||
|
|
|
@ -39,6 +39,8 @@
|
|||
{
|
||||
const IMP *classGetters;
|
||||
|
||||
uint32_t mapiRetainCount;
|
||||
|
||||
NSMutableArray *parentContainersBag;
|
||||
MAPIStoreObject *container;
|
||||
id sogoObject;
|
||||
|
@ -54,6 +56,10 @@
|
|||
- (id) initWithSOGoObject: (id) newSOGoObject
|
||||
inContainer: (MAPIStoreObject *) newFolder;
|
||||
|
||||
/* HACK: MAPI retain count */
|
||||
- (void) setMAPIRetainCount: (uint32_t) newCount;
|
||||
- (uint32_t) mapiRetainCount;
|
||||
|
||||
- (void) setIsNew: (BOOL) newIsNew;
|
||||
- (BOOL) isNew;
|
||||
|
||||
|
|
|
@ -95,6 +95,7 @@ static Class NSExceptionK, MAPIStoreFolderK;
|
|||
{
|
||||
if ((self = [super init]))
|
||||
{
|
||||
mapiRetainCount = 0;
|
||||
classGetters = (IMP *) MAPIStorePropertyGettersForClass (isa);
|
||||
parentContainersBag = [NSMutableArray new];
|
||||
container = nil;
|
||||
|
@ -129,6 +130,16 @@ static Class NSExceptionK, MAPIStoreFolderK;
|
|||
[super dealloc];
|
||||
}
|
||||
|
||||
- (void) setMAPIRetainCount: (uint32_t) newCount
|
||||
{
|
||||
mapiRetainCount = newCount;
|
||||
}
|
||||
|
||||
- (uint32_t) mapiRetainCount
|
||||
{
|
||||
return mapiRetainCount;
|
||||
}
|
||||
|
||||
- (void) setIsNew: (BOOL) newIsNew
|
||||
{
|
||||
isNew = newIsNew;
|
||||
|
|
Loading…
Reference in a new issue