From 3ba0e9f82f45940f6024d327a038959ae51a4749 Mon Sep 17 00:00:00 2001 From: Patrice Levesque Date: Wed, 17 Feb 2016 11:04:28 -0500 Subject: [PATCH] Implement stubs for SOGoCalendarComponent::isNew and SOGoCalendarComponent::setIsNew methods. Those are required to implement the SOGoComponentOccurence protocol hence their absence creates compilation warnings. --- .../Appointments/SOGoCalendarComponent.m | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/SoObjects/Appointments/SOGoCalendarComponent.m b/SoObjects/Appointments/SOGoCalendarComponent.m index 32a2cb390..e62197056 100644 --- a/SoObjects/Appointments/SOGoCalendarComponent.m +++ b/SoObjects/Appointments/SOGoCalendarComponent.m @@ -130,6 +130,25 @@ return aclManager; } +- (void) setIsNew: (BOOL) newIsNew +{ + // Required for protocol + // but not yet implemented. Violently warn if + // used. + NSLog (@"SOGoCalendarComponent::setIsNew is not implemented."); + abort(); +} + +- (BOOL) isNew +{ + // Required for protocol + // 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