From eda164db06912f00bab891049cc0ed8efdd618e5 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Sat, 9 Aug 2008 15:21:19 +0000 Subject: [PATCH] Monotone-Parent: d21cefd93fac803cfbe8968d3756327533467537 Monotone-Revision: b9cb79ce492de43bb8ad332eccb447d019e86cd5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-08-09T15:21:19 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/Appointments/SOGoComponentOccurence.h | 2 ++ SoObjects/Appointments/SOGoComponentOccurence.m | 7 +++++++ 3 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 003b0ee61..2eae7c69b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-08-09 Wolfgang Sourdeau + * SoObjects/Appointments/SOGoComponentOccurence.m + ([SOGoComponentOccurence -changeParticipationStatus:newPartStat]): + implemented proxy method. + * SoObjects/Appointments/SOGoCalendarComponent.m ([SOGoCalendarComponent -sendEMailUsingTemplateNamed:_pageNameforOldObject:_oldObjectandNewObject:_newObjecttoAttendees:_attendees]): diff --git a/SoObjects/Appointments/SOGoComponentOccurence.h b/SoObjects/Appointments/SOGoComponentOccurence.h index 07413b414..f511e673c 100644 --- a/SoObjects/Appointments/SOGoComponentOccurence.h +++ b/SoObjects/Appointments/SOGoComponentOccurence.h @@ -51,6 +51,8 @@ - (void) setMasterComponent: (iCalRepeatableEntityObject *) newMaster; - (void) setIsNew: (BOOL) newIsNew; +- (NSException *) changeParticipationStatus: (NSString *) newPartStat; + @end #endif /* SOGOCOMPONENTOCCURENCE_H */ diff --git a/SoObjects/Appointments/SOGoComponentOccurence.m b/SoObjects/Appointments/SOGoComponentOccurence.m index 4f4281d31..244b2a0b4 100644 --- a/SoObjects/Appointments/SOGoComponentOccurence.m +++ b/SoObjects/Appointments/SOGoComponentOccurence.m @@ -160,4 +160,11 @@ [container saveComponent: newEvent]; } +#warning most of SOGoCalendarComponent and SOGoComponentOccurence share the same external interface... \ + they should be siblings or SOGoComponentOccurence the parent class of SOGoCalendarComponent... +- (NSException *) changeParticipationStatus: (NSString *) newPartStat +{ + return [container changeParticipationStatus: newPartStat]; +} + @end