Monotone-Parent: 467dc56666485b20c968357bff135be6a192df0c

Monotone-Revision: 81ebf97febc5675193974e8834acc35e001494f1

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-03-18T15:20:38
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-03-18 15:20:38 +00:00
parent 84bba82435
commit d26f7a625a
7 changed files with 982 additions and 1239 deletions
+20 -32
View File
@@ -1,6 +1,6 @@
/* UIxAppointmentEditor.h - this file is part of SOGo
*
* Copyright (C) 2006 Inverse groupe conseil
* Copyright (C) 2007 Inverse groupe conseil
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
@@ -23,50 +23,38 @@
#ifndef UIXAPPOINTMENTEDITOR_H
#define UIXAPPOINTMENTEDITOR_H
#import <UIxComponentEditor.h>
#import <SOGoUI/UIxComponent.h>
@class iCalEvent;
@class NSString;
@class iCalPerson;
@class iCalRecurrenceRule;
@interface UIxAppointmentEditor : UIxComponentEditor
@interface UIxAppointmentEditor : UIxComponent
{
NSCalendarDate *endDate;
iCalEvent *event;
NSCalendarDate *aptStartDate;
NSCalendarDate *aptEndDate;
NSString *item;
}
/* template values */
- (NSString *) saveURL;
- (iCalEvent *) event;
/* icalendar values */
- (BOOL) isAllDay;
- (void) setIsAllDay: (BOOL) newIsAllDay;
- (void) setAptStartDate: (NSCalendarDate *) _date;
- (NSCalendarDate *) aptStartDate;
- (void) setAptEndDate: (NSCalendarDate *) _date;
- (NSCalendarDate *) aptEndDate;
/* iCal */
- (NSString *) repeat;
- (void) setRepeat: (NSString *) newRepeat;
- (NSString *) iCalStringTemplate;
/* new */
- (id) newAction;
/* save */
- (void) loadValuesFromAppointment: (iCalEvent *) _apt;
- (void) saveValuesIntoAppointment: (iCalEvent *) _apt;
- (iCalEvent *) appointmentFromString: (NSString *) _iCalString;
/* conflict management */
- (BOOL) containsConflict: (id) _apt;
- (id <WOActionResults>) defaultAction;
- (id <WOActionResults>) saveAction;
- (id) acceptAction;
- (id) declineAction;
- (NSString *) saveUrl;
// TODO: add tentatively
- (id) acceptOrDeclineAction: (BOOL) _accept;
- (NSString *) reminder;
- (void) setReminder: (NSString *) newReminder;
@end