mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 21:53:19 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user