2 Copyright (C) 2004-2005 SKYRIX Software AG
4 This file is part of SOPE.
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
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.
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
21 // Created by znek on 31.08.04.
23 #ifndef __NGiCal_iCalEventChanges_H_
24 #define __NGiCal_iCalEventChanges_H_
26 #import <Foundation/NSObject.h>
28 @class iCalEvent, NSArray, NSMutableArray;
30 @interface iCalEventChanges : NSObject
32 NSMutableArray *insertedAttendees;
33 NSMutableArray *deletedAttendees;
34 NSMutableArray *updatedAttendees;
35 NSMutableArray *insertedAlarms;
36 NSMutableArray *deletedAlarms;
37 NSMutableArray *updatedAlarms;
38 NSMutableArray *updatedProperties;
41 + (id)changesFromEvent:(iCalEvent *)_old toEvent:(iCalEvent *)_to;
42 - (id)initWithFromEvent:(iCalEvent *)_from toEvent:(iCalEvent *)_to;
46 - (BOOL)hasAttendeeChanges;
47 - (NSArray *)insertedAttendees;
48 - (NSArray *)deletedAttendees;
49 - (NSArray *)updatedAttendees;
51 - (BOOL)hasAlarmChanges;
52 - (NSArray *)insertedAlarms;
53 - (NSArray *)deletedAlarms;
54 - (NSArray *)updatedAlarms;
56 - (BOOL)hasPropertyChanges;
57 - (NSArray *)updatedProperties;
61 #endif /* __NGiCal_iCalEventChanges_H_ */