2007-04-12 02:34:43 +02:00
|
|
|
// $Id: UIxAppointmentView.h 1045 2007-04-11 20:13:07Z wolfgang $
|
2006-06-15 21:34:10 +02:00
|
|
|
|
|
|
|
#ifndef __SOGo_UIxAppointmentView_H__
|
|
|
|
#define __SOGo_UIxAppointmentView_H__
|
|
|
|
|
|
|
|
#include <SOGoUI/UIxComponent.h>
|
|
|
|
|
|
|
|
@class NSCalendarDate;
|
2006-09-28 19:26:02 +02:00
|
|
|
@class iCalEvent;
|
|
|
|
@class iCalPerson;
|
2006-06-15 21:34:10 +02:00
|
|
|
@class SOGoDateFormatter;
|
|
|
|
|
|
|
|
@interface UIxAppointmentView : UIxComponent
|
|
|
|
{
|
2006-09-28 19:26:02 +02:00
|
|
|
iCalEvent* appointment;
|
|
|
|
iCalPerson* attendee;
|
2006-06-15 21:34:10 +02:00
|
|
|
SOGoDateFormatter *dateFormatter;
|
|
|
|
id item;
|
|
|
|
}
|
|
|
|
|
2007-04-11 21:08:58 +02:00
|
|
|
- (iCalEvent *) appointment;
|
2006-06-15 21:34:10 +02:00
|
|
|
|
|
|
|
/* permissions */
|
2007-04-11 21:08:58 +02:00
|
|
|
- (BOOL) canAccessApt;
|
|
|
|
- (BOOL) canEditApt;
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2007-04-11 21:08:58 +02:00
|
|
|
- (SOGoDateFormatter *) dateFormatter;
|
|
|
|
- (NSCalendarDate *) startTime;
|
|
|
|
- (NSCalendarDate *) endTime;
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2007-04-11 21:08:58 +02:00
|
|
|
- (NSString *) attributesTabLink;
|
|
|
|
- (NSString *) participantsTabLink;
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2007-04-11 21:08:58 +02:00
|
|
|
- (NSString *) completeHrefForMethod: (NSString *) _method
|
|
|
|
withParameter: (NSString *) _param
|
|
|
|
forKey: (NSString *) _key;
|
2006-06-15 21:34:10 +02:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
#endif /* __SOGo_UIxAppointmentView_H__ */
|