]> err.no Git - sope/blob - sope-ical/NGiCal/iCalEventChanges.h
minor changes to Xcode project layout
[sope] / sope-ical / NGiCal / iCalEventChanges.h
1 /*
2  Copyright (C) 2004-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 //  Created by znek on 31.08.04.
22
23 #ifndef __NGiCal_iCalEventChanges_H_
24 #define __NGiCal_iCalEventChanges_H_
25
26 #include <Foundation/NSObject.h>
27
28 @class iCalEvent, NSArray, NSMutableArray;
29
30 @interface iCalEventChanges : NSObject
31 {
32   NSMutableArray *insertedAttendees;
33   NSMutableArray *deletedAttendees;
34   NSMutableArray *updatedAttendees;
35   NSMutableArray *insertedAlarms;
36   NSMutableArray *deletedAlarms;
37   NSMutableArray *updatedAlarms;
38   NSMutableArray *updatedProperties;
39 }
40
41 + (id)changesFromEvent:(iCalEvent *)_old toEvent:(iCalEvent *)_to;
42 - (id)initWithFromEvent:(iCalEvent *)_from toEvent:(iCalEvent *)_to;
43
44 - (BOOL)hasChanges;
45
46 - (BOOL)hasAttendeeChanges;
47 - (NSArray *)insertedAttendees;
48 - (NSArray *)deletedAttendees;
49 - (NSArray *)updatedAttendees;
50
51 - (BOOL)hasAlarmChanges;
52 - (NSArray *)insertedAlarms;
53 - (NSArray *)deletedAlarms;
54 - (NSArray *)updatedAlarms;
55
56 - (BOOL)hasPropertyChanges;
57 - (NSArray *)updatedProperties;
58
59 @end
60
61 #endif  /* __NGiCal_iCalEventChanges_H_ */