2006-10-12 18:35:53 +02:00
|
|
|
/* UIxAppointmentEditor.h - this file is part of SOGo
|
|
|
|
*
|
2013-06-18 20:14:42 +02:00
|
|
|
* Copyright (C) 2007-2013 Inverse inc.
|
2006-10-12 18:35:53 +02:00
|
|
|
*
|
|
|
|
* 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
|
|
|
|
* the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* This file is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; see the file COPYING. If not, write to
|
|
|
|
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef UIXAPPOINTMENTEDITOR_H
|
|
|
|
#define UIXAPPOINTMENTEDITOR_H
|
|
|
|
|
2007-03-18 16:20:38 +01:00
|
|
|
#import <SOGoUI/UIxComponent.h>
|
2006-10-12 18:35:53 +02:00
|
|
|
|
2007-03-18 16:20:38 +01:00
|
|
|
@class iCalEvent;
|
2006-10-12 18:35:53 +02:00
|
|
|
@class NSString;
|
|
|
|
|
2007-03-18 16:20:38 +01:00
|
|
|
@interface UIxAppointmentEditor : UIxComponent
|
2006-10-12 18:35:53 +02:00
|
|
|
{
|
2007-03-18 16:20:38 +01:00
|
|
|
iCalEvent *event;
|
2013-06-18 20:14:42 +02:00
|
|
|
BOOL isAllDay, isTransparent, sendAppointmentNotifications;
|
2007-03-18 16:20:38 +01:00
|
|
|
NSCalendarDate *aptStartDate;
|
|
|
|
NSCalendarDate *aptEndDate;
|
|
|
|
NSString *item;
|
2009-07-29 20:46:44 +02:00
|
|
|
SOGoAppointmentFolder *componentCalendar;
|
|
|
|
SOGoDateFormatter *dateFormatter;
|
2006-10-12 18:35:53 +02:00
|
|
|
}
|
|
|
|
|
2007-03-18 16:20:38 +01:00
|
|
|
/* template values */
|
|
|
|
- (NSString *) saveURL;
|
|
|
|
- (iCalEvent *) event;
|
|
|
|
|
|
|
|
/* icalendar values */
|
|
|
|
- (void) setIsAllDay: (BOOL) newIsAllDay;
|
2008-11-06 18:19:14 +01:00
|
|
|
- (BOOL) isAllDay;
|
|
|
|
|
2008-12-01 23:46:31 +01:00
|
|
|
- (void) setIsTransparent: (BOOL) newIsOpaque;
|
|
|
|
- (BOOL) isTransparent;
|
2007-03-18 16:20:38 +01:00
|
|
|
|
2013-06-18 20:14:42 +02:00
|
|
|
- (void) setSendAppointmentNotifications: (BOOL) theBOOL;
|
|
|
|
- (BOOL) sendAppointmentNotifications;
|
|
|
|
|
2011-03-18 22:28:11 +01:00
|
|
|
- (void) setAptStartDate: (NSCalendarDate *) newAptStartDate;
|
2006-10-18 16:42:44 +02:00
|
|
|
- (NSCalendarDate *) aptStartDate;
|
2006-10-12 18:35:53 +02:00
|
|
|
|
2008-11-06 18:19:14 +01:00
|
|
|
- (void) setAptEndDate: (NSCalendarDate *) newAptEndDate;
|
2006-10-18 16:42:44 +02:00
|
|
|
- (NSCalendarDate *) aptEndDate;
|
2006-10-12 18:35:53 +02:00
|
|
|
|
2009-07-29 20:46:44 +02:00
|
|
|
- (NSString *) aptStartDateText;
|
|
|
|
- (NSString *) aptStartDateTimeText;
|
|
|
|
- (NSString *) aptEndDateTimeText;
|
|
|
|
|
2006-10-12 18:35:53 +02:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif /* UIXAPPOINTMENTEDITOR_H */
|