diff --git a/ChangeLog b/ChangeLog index f648d50e3..254e30d60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-08-18 Wolfgang Sourdeau + * UI/Scheduler/UIxCalInlineMonthOverview.h: interface extracted + from its .m file. + * UI/Scheduler/UIxCalFilterPanel.[hm]: new class designed to display a widget to handle the information displayed in the appointments list. Not currently used, lacks implementation. diff --git a/UI/Scheduler/UIxCalInlineMonthOverview.h b/UI/Scheduler/UIxCalInlineMonthOverview.h new file mode 100644 index 000000000..0948f06fb --- /dev/null +++ b/UI/Scheduler/UIxCalInlineMonthOverview.h @@ -0,0 +1,51 @@ +/* + Copyright (C) 2004 SKYRIX Software AG + + This file is part of OpenGroupware.org. + + OGo is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + + OGo 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 Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ + +#ifndef UIXCALINLINEMONTHOVERVIEW_H +#define UIXCALINLINEMONTHOVERVIEW_H + +#import "UIxCalMonthOverview.h" + +@class NSCalendarDate; +@class NSString; + +@interface UIxCalInlineMonthOverview : UIxCalMonthOverview +{ + NSCalendarDate *selectedDate; + NSString *style; + NSString *headerStyle; + NSString *weekStyle; + NSString *todayWeekStyle; + NSString *dayHeaderStyle; + NSString *dayBodyStyle; + NSString *todayBodyStyle; + NSString *inactiveDayBodyStyle; + NSString *selectedDayExtraStyle; + NSString *daySelectionHref; + NSString *weekSelectionHref; + NSString *monthSelectionHref; + BOOL showWeekColumn; + BOOL showYear; +} + +@end + +#endif /* UIXCALINLINEMONTHOVERVIEW_H */ diff --git a/UI/Scheduler/UIxCalInlineMonthOverview.m b/UI/Scheduler/UIxCalInlineMonthOverview.m index 31d78b3db..57bdba04f 100644 --- a/UI/Scheduler/UIxCalInlineMonthOverview.m +++ b/UI/Scheduler/UIxCalInlineMonthOverview.m @@ -21,49 +21,11 @@ // $Id: UIxCalInlineMonthOverview.m 181 2004-08-11 15:13:25Z helge $ -#include "UIxCalMonthOverview.h" -#include +#import +#import "NSCalendarDate+Scheduler.h" -@interface UIxCalInlineMonthOverview : UIxCalMonthOverview -{ - NSCalendarDate *selectedDate; - NSString *style; - NSString *headerStyle; - NSString *weekStyle; - NSString *todayWeekStyle; - NSString *dayHeaderStyle; - NSString *dayBodyStyle; - NSString *todayBodyStyle; - NSString *inactiveDayBodyStyle; - NSString *selectedDayExtraStyle; - NSString *daySelectionHref; - NSString *weekSelectionHref; - NSString *monthSelectionHref; - BOOL showWeekColumn; - BOOL showYear; -} - -@end - - -@interface NSCalendarDate (UIxCalMonthOverviewExtensions) -- (BOOL)isDateInSameMonth:(NSCalendarDate *)_other; -@end - - -@implementation NSCalendarDate (UIxCalMonthOverviewExtensions) -- (BOOL)isDateInSameMonth:(NSCalendarDate *)_other { - if(_other == nil) - return NO; - if(([_other yearOfCommonEra] == [self yearOfCommonEra]) && - ([_other monthOfYear] == [self monthOfYear])) { - return YES; - } - return NO; -} -@end - +#import "UIxCalInlineMonthOverview.h" @implementation UIxCalInlineMonthOverview