Improve JSON getter/setter for todos

This commit is contained in:
Francis Lachapelle
2015-02-18 16:44:09 -05:00
parent f47a22068f
commit 94105e937a
5 changed files with 530 additions and 348 deletions
+2 -26
View File
@@ -1,8 +1,6 @@
/* UIxTaskEditor.h - this file is part of SOGo
*
* Copyright (C) 2007-2009 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
* 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
@@ -28,35 +26,13 @@
@class iCalToDo;
@class NSString;
@interface UIxTaskEditor : UIxComponent
@interface UIxTaskEditor : UIxComponentEditor
{
iCalToDo *todo;
NSCalendarDate *taskStartDate;
NSCalendarDate *taskDueDate;
NSCalendarDate *statusDate;
NSString *status;
NSString *statusPercent;
BOOL hasStartDate;
BOOL hasDueDate;
NSString *item;
SOGoDateFormatter *dateFormatter;
}
/* template values */
- (NSString *) saveURL;
- (iCalToDo *) todo;
/* icalendar values */
- (void) setTaskStartDate: (NSCalendarDate *) _date;
- (NSCalendarDate *) taskStartDate;
- (void) setTaskDueDate: (NSCalendarDate *) _date;
- (NSCalendarDate *) taskDueDate;
- (NSString *) taskStartDateTimeText;
- (NSString *) taskDueDateTimeText;
- (NSString *) statusDateText;
@end
#endif /* UIXAPPOINTMENTEDITOR_H */