Implement stubs for SOGoCalendarComponent::isNew and SOGoCalendarComponent::setIsNew methods.

Those are required to implement the SOGoComponentOccurence protocol hence
their absence creates compilation warnings.
pull/201/head
Patrice Levesque 2016-02-17 11:04:28 -05:00
parent 0b1cf9faaf
commit 3ba0e9f82f
1 changed files with 19 additions and 0 deletions

View File

@ -130,6 +130,25 @@
return aclManager;
}
- (void) setIsNew: (BOOL) newIsNew
{
// Required for protocol <SOGoComponentOccurence>
// but not yet implemented. Violently warn if
// used.
NSLog (@"SOGoCalendarComponent::setIsNew is not implemented.");
abort();
}
- (BOOL) isNew
{
// Required for protocol <SOGoComponentOccurence>
// but not yet implemented. Violently warn if
// used.
NSLog (@"SOGoCalendarComponent::isNew is not implemented.");
abort();
return false;
}
- (NSException *) changeParticipationStatus: (NSString *) newPartStat
withDelegate: (iCalPerson *) delegate
alarm: (iCalAlarm *) alarm