Monotone-Parent: 7fb9c9db1f708e5ebd59004e2cd37cf85e5d94d6

Monotone-Revision: 61a57c3431ce88c941b644d5a0ce21abb1f82f8c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-07-13T20:36:19
This commit is contained in:
Wolfgang Sourdeau
2012-07-13 20:36:19 +00:00
parent d40be7d196
commit cbd4bd907a
3 changed files with 10 additions and 6 deletions
+2
View File
@@ -3,6 +3,8 @@
* SoObjects/Appointments/SOGoCalendarComponent.m
(-lookupOccurrence:): now a virtual method forcing the use by
subclasses of the new methods below.
(-saveCalendar:): new method that enables the saving of an
iCalendar object.
* SoObjects/Appointments/iCalCalendar+SOGo.m: new category module.
(-eventWithRecurrenceId, -todoWithRecurrenceId): new method that
@@ -62,6 +62,7 @@
toFolder: (SOGoGCSFolder *) newFolder;
- (void) updateComponent: (iCalRepeatableEntityObject *) newObject;
- (NSException *) saveCalendar: (iCalCalendar *) newCalendar;
- (NSException *) saveComponent: (iCalRepeatableEntityObject *) newObject;
/* mail notifications */
@@ -645,17 +645,18 @@
}
}
- (NSException *) saveComponent: (iCalRepeatableEntityObject *) newObject
- (NSException *) saveCalendar: (iCalCalendar *) newCalendar
{
NSString *newiCalString;
newiCalString = [[newObject parent] versitString];
[self saveContentString: newiCalString];
[self saveContentString: [newCalendar versitString]];
return nil;
}
- (NSException *) saveComponent: (iCalRepeatableEntityObject *) newObject
{
return [self saveCalendar: [newObject parent]];
}
/* raw saving */
/* EMail Notifications */