]> err.no Git - scalable-opengroupware.org/blob - SOPE/NGCards/iCalCalendar.h
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1013 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / SOPE / NGCards / iCalCalendar.h
1 /*
2   Copyright (C) 2000-2005 SKYRIX Software AG
3
4   This file is part of SOPE.
5
6   SOPE 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   SOPE 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 SOPE; 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 __NGCards_iCalCalendar_H__
23 #define __NGCards_iCalCalendar_H__
24
25 #import "CardGroup.h"
26
27 @class NSString;
28 @class NSMutableArray;
29 @class NSArray;
30 @class NSEnumerator;
31 @class NSMutableDictionary;
32
33 @class iCalEvent;
34 @class iCalToDo;
35 @class iCalJournal;
36 @class iCalFreeBusy;
37 @class iCalEntityObject;
38 @class iCalTimeZone;
39
40 @interface iCalCalendar : CardGroup
41 // {
42 //   NSString *version;
43 //   NSString *calscale;
44 //   NSString *prodId;
45 //   NSString *method;
46
47 //   NSMutableArray *todos;
48 //   NSMutableArray *events;
49 //   NSMutableArray *journals;
50 //   NSMutableArray *freeBusys;
51 //   NSMutableDictionary *timezones;
52 // }
53
54 /* accessors */
55
56 - (void) setMethod: (NSString *)_method;
57 - (NSString *) method;
58
59 - (void) setCalscale: (NSString *) _calscale;
60 - (NSString *) calscale;
61
62 - (void) setVersion: (NSString *) _version;
63 - (NSString *) version;
64
65 - (void) setProdID: (NSString *) _prodid;
66 - (NSString *) prodId;
67
68 - (void) setMethod: (NSString *) _method;
69 - (NSString *) method;
70
71 - (NSArray *) events;
72 - (NSArray *) todos;
73 - (NSArray *) journals;
74 - (NSArray *) freeBusys;
75
76 - (void) addTimeZone: (iCalTimeZone *) iTZ;
77 - (iCalTimeZone *) timeZoneWithId: (NSString *) tzId;
78
79 /* collection */
80
81 - (NSArray *) allObjects;
82
83 @end
84
85 #endif /* __NGCards_iCalCalendar_H__ */