]> err.no Git - scalable-opengroupware.org/blob - UI/Scheduler/UIxTimeDateControl.h
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1163 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / Scheduler / UIxTimeDateControl.h
1 /*
2   Copyright (C) 2004 SKYRIX Software AG
3
4   This file is part of OpenGroupware.org.
5
6   OGo is free software; you can redistribute it and/or modify it under
7   the terms of the GNU Lesser General Public License as published by the
8   Free Software Foundation; either version 2, or (at your option) any
9   later version.
10
11   OGo is distributed in the hope that it will be useful, but WITHOUT ANY
12   WARRANTY; without even the implied warranty of MERCHANTABILITY or
13   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
14   License for more details.
15
16   You should have received a copy of the GNU Lesser General Public
17   License along with OGo; see the file COPYING.  If not, write to the
18   Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19   02111-1307, USA.
20 */
21
22 #ifndef UIXTIMEDATECONTROL_H
23 #define UIXTIMEDATECONTROL_H
24
25 #import <SOGoUI/UIxComponent.h>
26
27 @class NSString;
28 @class NSCalendarDate;
29 @class NSNumber;
30
31 @interface UIxTimeDateControl : UIxComponent
32 {
33   NSString *controlID;
34   NSString *label;
35   NSCalendarDate *date;
36   id       hour;
37   id       minute;
38   id       second;
39   id       day;
40   id       month;
41   id       year;
42   BOOL     displayTimeControl;
43   unsigned int startHour;
44   unsigned int endHour;
45   NSNumber *currentHour;
46   NSNumber *currentMinute;
47   BOOL isDisabled;
48 }
49
50 - (void) setDayStartHour: (unsigned int) hour;
51 - (void) setDayEndHour: (unsigned int) hour;
52
53 - (void)setControlID:(NSString *)_controlID;
54 - (NSString *)controlID;
55 - (void)setLabel:(NSString *)_label;
56 - (NSString *)label;
57 - (void)setDate:(NSCalendarDate *)_date;
58 - (NSCalendarDate *)date;
59
60 - (void)setHour:(id)_hour;
61 - (id)hour;
62 - (void)setMinute:(id)_minute;
63 - (id)minute;
64 - (void)setSecond:(id)_second;
65 - (id)second;
66 - (void)setDay:(id)_day;
67 - (id)day;
68 - (void)setMonth:(id)_month;
69 - (id)month;
70 - (void)setYear:(id)_year;
71 - (id)year;
72
73 - (NSString *)timeID;
74 - (NSString *)dateID;
75
76 - (void)_setDate:(NSCalendarDate *)_date;
77
78 @end
79
80 #endif /* UIXTIMEDATECONTROL_H */