1 /* SOGoAptMailReceipt.h - this file is part of SOGo
2  *
3  * Copyright (C) 2009-2012 Inverse inc.
4  *
5  * Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
6  *         Ludovic Marcotte <lmarcotte@inverse.ca>
7  *
8  * This file is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2, or (at your option)
11  * any later version.
12  *
13  * This file is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; see the file COPYING.  If not, write to
20  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23 
24 #ifndef SOGOAPTMAILRECEIPT_H
25 #define SOGOAPTMAILRECEIPT_H
26 
27 #import "SOGoAptMailNotification.h"
28 
29 @class NSArray;
30 @class NSString;
31 @class iCalPerson;
32 
33 
34 @interface SOGoAptMailReceipt : SOGoAptMailNotification
35 {
36   NSString *originator;
37   NSArray *addedAttendees;
38   NSArray *deletedAttendees;
39   NSArray *updatedAttendees;
40   iCalPerson *currentRecipient;
41   SOGoComponentOperation operation;
42   NSString *calendarName;
43 }
44 
45 - (void) setOriginator: (NSString *) newOriginator;
46 - (void) setAddedAttendees: (NSArray *) theAttendees;
47 - (void) setDeletedAttendees: (NSArray *) theAttendees;
48 - (void) setUpdatedAttendees: (NSArray *) theAttendees;
49 - (void) setOperation: (SOGoComponentOperation) theOperation;
50 - (void) setCalendarName: (NSString *) theCalendarName;
51 
52 - (NSString *) aptSummary;
53 - (NSString *) calendarName;
54 
55 @end
56 
57 #endif /* SOGOAPTMAILRECEIPT_H */
58