]> err.no Git - scalable-opengroupware.org/blob - SoObjects/Appointments/SOGoAptMailNotification.h
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1155 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / SoObjects / Appointments / SOGoAptMailNotification.h
1 /*
2   Copyright (C) 2000-2005 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 __Appointments_SOGoAptMailNotification_H_
23 #define __Appointments_SOGoAptMailNotification_H_
24
25 #include <NGObjWeb/SoComponent.h>
26
27 @class NSString, NSTimeZone, NSCalendarDate;
28 @class iCalEntityObject;
29
30 /*
31  * NOTE: We inherit from SoComponent in order to get the correct
32  *       resourceManager required for this product
33  */
34 @interface SOGoAptMailNotification : SoComponent
35 {
36   iCalEntityObject* oldApt;
37   iCalEntityObject* newApt;
38   NSString *homePageURL;
39   NSTimeZone *viewTZ;
40   NSCalendarDate *oldStartDate;
41   NSCalendarDate *newStartDate;
42   BOOL isSubject;
43 }
44
45 - (id) oldApt;
46 - (void) setOldApt: (iCalEntityObject *) _oldApt;
47
48 - (id) newApt;
49 - (void) setNewApt: (iCalEntityObject *) _newApt;
50
51 - (NSString *) homePageURL;
52 - (void) setHomePageURL: (NSString *) _homePageURL;
53
54 - (NSTimeZone *) viewTZ;
55 - (void) setViewTZ: (NSTimeZone *) _viewTZ;
56
57 /* Helpers */
58
59 - (NSCalendarDate *) oldStartDate;
60 - (NSCalendarDate *) newStartDate;
61
62 /* Content Generation */
63
64 - (NSString *) getSubject;
65 - (NSString *) getBody;
66   
67 @end
68
69 #endif  /* __Appointments_SOGoAptMailNotification_H_ */