3 #ifndef __SOGo_UIxCalView_H__
4 #define __SOGo_UIxCalView_H__
6 #include <SOGoUI/UIxComponent.h>
11 Superclass for most components which render a set of appointments coming from
12 a SOPE clientObject (which usually is an SOGoAppointmentFolder).
15 @class NSString, NSArray, NSDictionary, NSCalendarDate, SOGoAptFormatter;
17 @interface UIxCalView : UIxComponent
19 NSArray *appointments;
22 NSCalendarDate *currentDay;
23 SOGoAptFormatter *aptFormatter;
24 SOGoAptFormatter *aptTooltipFormatter;
29 - (NSArray *)appointments;
30 - (NSArray *)allDayApts;
34 - (BOOL)hasHoldidayInfo;
35 - (BOOL)hasAllDayApts;
37 - (NSDictionary *)aptTypeDict;
38 - (NSString *)aptTypeLabel;
39 - (NSString *)aptTypeIcon;
40 - (SOGoAptFormatter *)aptFormatter;
42 - (NSString *)shortTextForApt;
43 - (NSString *)shortTitleForApt;
44 - (NSString *)tooltipForApt;
45 - (NSString *)appointmentViewURL;
50 /* related to current day */
51 - (void)setCurrentDay:(NSCalendarDate *)_day;
52 - (NSCalendarDate *)currentDay;
53 - (NSString *)currentDayName; /* localized */
56 - (BOOL)showFullNames;
57 - (BOOL)showAMPMDates;
58 - (unsigned)dayStartHour;
59 - (unsigned)dayEndHour;
60 - (BOOL)shouldDisplayWeekend;
62 - (NSCalendarDate *)referenceDateForFormatter;
64 - (NSCalendarDate *)thisMonth;
65 - (NSCalendarDate *)nextMonth;
69 - (NSCalendarDate *)startDate;
70 - (NSCalendarDate *)endDate;
71 - (NSArray *)fetchCoreInfos;
75 - (NSDictionary *)todayQueryParameters;
76 - (NSDictionary *)currentDayQueryParameters;
80 #endif /* __SOGo_UIxCalView_H__ */