mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 21:53:19 +00:00
Monotone-Parent: 7fb9c9db1f708e5ebd59004e2cd37cf85e5d94d6
Monotone-Revision: 61a57c3431ce88c941b644d5a0ce21abb1f82f8c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-07-13T20:36:19
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user