diff --git a/ChangeLog b/ChangeLog index 97eee1d30..a2f856715 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2011-02-03 Ludovic Marcotte + * SoObjects/SOGo/SOGoContentObject.m (-MAPIContent) + (-setMAPIContent:): new accessors for querying/modifying the new + "MAPIContent" ivar, as part of a hack to enable events to be + modified multiple times as one. + * OpenChange/MAPIStoreCalendarContext.m (-openMessage:forKey:inTable:): overriden method to return attendees as recipients. diff --git a/SoObjects/SOGo/SOGoContentObject.h b/SoObjects/SOGo/SOGoContentObject.h index ea8ca594c..af838b3d0 100644 --- a/SoObjects/SOGo/SOGoContentObject.h +++ b/SoObjects/SOGo/SOGoContentObject.h @@ -35,6 +35,7 @@ { BOOL isNew; NSString *content; + NSString *MAPIContent; unsigned int version; NSCalendarDate *creationDate; NSCalendarDate *lastModified; @@ -75,6 +76,10 @@ - (NSString *) davLastModified; - (NSString *) davContentLength; +/* MAPI support */ +- (NSString *) MAPIContent; +- (void) setMAPIContent: (NSString *) theContent; + @end @interface SOGoContentObject (OptionalMethods) diff --git a/SoObjects/SOGo/SOGoContentObject.m b/SoObjects/SOGo/SOGoContentObject.m index 6da79c5a4..ca3981bef 100644 --- a/SoObjects/SOGo/SOGoContentObject.m +++ b/SoObjects/SOGo/SOGoContentObject.m @@ -142,6 +142,7 @@ - (void) dealloc { [content release]; + [MAPIContent release]; [creationDate release]; [lastModified release]; [super dealloc]; @@ -480,4 +481,16 @@ return @""; } +/* MAPI support */ +- (NSString *) MAPIContent +{ + return MAPIContent; +} + +- (void) setMAPIContent: (NSString *) theContent +{ + ASSIGN(MAPIContent, theContent); +} + + @end /* SOGoContentObject */