Initial JSON actions to get/set an event

This commit is contained in:
Francis Lachapelle
2015-06-12 10:48:00 -04:00
parent f694f57638
commit f9271b747c
10 changed files with 1192 additions and 2643 deletions
+2 -31
View File
@@ -1,6 +1,6 @@
/* UIxAppointmentEditor.h - this file is part of SOGo
*
* Copyright (C) 2007-2014 Inverse inc.
* Copyright (C) 2007-2015 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -24,43 +24,14 @@
#import <SOGoUI/UIxComponent.h>
@class iCalEvent;
@class NSString;
@interface UIxAppointmentEditor : UIxComponent
@interface UIxAppointmentEditor : UIxComponentEditor
{
iCalEvent *event;
BOOL isAllDay, isTransparent, sendAppointmentNotifications;
NSCalendarDate *aptStartDate;
NSCalendarDate *aptEndDate;
NSString *item;
SOGoAppointmentFolder *componentCalendar;
SOGoDateFormatter *dateFormatter;
}
/* template values */
- (NSString *) saveURL;
- (iCalEvent *) event;
/* icalendar values */
- (void) setIsAllDay: (BOOL) newIsAllDay;
- (BOOL) isAllDay;
- (void) setIsTransparent: (BOOL) newIsOpaque;
- (BOOL) isTransparent;
- (void) setSendAppointmentNotifications: (BOOL) theBOOL;
- (BOOL) sendAppointmentNotifications;
- (void) setAptStartDate: (NSCalendarDate *) newAptStartDate;
- (NSCalendarDate *) aptStartDate;
- (void) setAptEndDate: (NSCalendarDate *) newAptEndDate;
- (NSCalendarDate *) aptEndDate;
- (NSString *) aptStartDateText;
- (NSString *) aptStartDateTimeText;
- (NSString *) aptEndDateTimeText;
@end
#endif /* UIXAPPOINTMENTEDITOR_H */