2006-06-15 21:34:10 +02:00
|
|
|
/*
|
2012-08-27 22:35:10 +02:00
|
|
|
Copyright (C) 2006-2012 Inverse inc.
|
2006-06-15 21:34:10 +02:00
|
|
|
Copyright (C) 2000-2005 SKYRIX Software AG
|
|
|
|
|
2012-08-27 22:35:10 +02:00
|
|
|
This file is part of SOGo.
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2012-08-27 22:35:10 +02:00
|
|
|
SOGo is free software; you can redistribute it and/or modify it under
|
2006-06-15 21:34:10 +02:00
|
|
|
the terms of the GNU Lesser General Public License as published by the
|
|
|
|
Free Software Foundation; either version 2, or (at your option) any
|
|
|
|
later version.
|
|
|
|
|
2012-08-27 22:35:10 +02:00
|
|
|
SOGo is distributed in the hope that it will be useful, but WITHOUT ANY
|
2006-06-15 21:34:10 +02:00
|
|
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
|
|
License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with OGo; see the file COPYING. If not, write to the
|
|
|
|
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __Appointments_SOGoAptMailNotification_H_
|
|
|
|
#define __Appointments_SOGoAptMailNotification_H_
|
|
|
|
|
|
|
|
#include <NGObjWeb/SoComponent.h>
|
|
|
|
|
2010-04-09 20:45:14 +02:00
|
|
|
@class NSCalendarDate;
|
|
|
|
@class NSMutableDictionary;
|
|
|
|
@class NSString;
|
|
|
|
@class NSTimeZone;
|
|
|
|
@class iCalEvent;
|
2012-08-27 22:35:10 +02:00
|
|
|
@class SOGoDateFormatter;
|
2006-06-15 21:34:10 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
* NOTE: We inherit from SoComponent in order to get the correct
|
|
|
|
* resourceManager required for this product
|
|
|
|
*/
|
|
|
|
@interface SOGoAptMailNotification : SoComponent
|
|
|
|
{
|
2010-04-09 20:45:14 +02:00
|
|
|
iCalEvent *apt;
|
|
|
|
iCalEvent *previousApt;
|
2006-09-28 19:24:12 +02:00
|
|
|
NSString *homePageURL;
|
|
|
|
NSTimeZone *viewTZ;
|
2006-06-15 21:34:10 +02:00
|
|
|
NSCalendarDate *oldStartDate;
|
|
|
|
NSCalendarDate *newStartDate;
|
2010-10-21 22:12:47 +02:00
|
|
|
NSCalendarDate *oldEndDate;
|
|
|
|
NSCalendarDate *newEndDate;
|
2008-10-24 18:12:21 +02:00
|
|
|
NSString *organizerName;
|
2010-04-09 20:45:14 +02:00
|
|
|
NSMutableDictionary *values;
|
2012-08-27 22:35:10 +02:00
|
|
|
SOGoDateFormatter *dateFormatter;
|
2006-06-15 21:34:10 +02:00
|
|
|
}
|
|
|
|
|
2010-04-09 20:45:14 +02:00
|
|
|
- (void) setupValues;
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2010-04-09 20:45:14 +02:00
|
|
|
- (iCalEvent *) apt;
|
|
|
|
- (void) setApt: (iCalEvent *) theApt;
|
|
|
|
|
|
|
|
- (iCalEvent *) previousApt;
|
|
|
|
- (void) setPreviousApt: (iCalEvent *) theApt;
|
2008-11-18 01:06:37 +01:00
|
|
|
|
|
|
|
- (void) setOrganizerName: (NSString *) theString;
|
|
|
|
- (NSString *) organizerName;
|
|
|
|
|
2010-04-09 20:45:14 +02:00
|
|
|
- (NSCalendarDate *) oldStartDate;
|
|
|
|
- (NSCalendarDate *) newStartDate;
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2010-10-21 22:12:47 +02:00
|
|
|
- (NSCalendarDate *) oldEndDate;
|
|
|
|
- (NSCalendarDate *) newEndDate;
|
|
|
|
|
2012-08-27 22:35:10 +02:00
|
|
|
- (NSString *) sentByText;
|
|
|
|
- (NSString *) formattedAptStartDate;
|
|
|
|
- (NSString *) formattedAptStartTime;
|
|
|
|
- (NSString *) formattedAptEndDate;
|
|
|
|
- (NSString *) formattedAptEndTime;
|
|
|
|
|
2007-08-23 22:17:26 +02:00
|
|
|
- (NSString *) getSubject;
|
|
|
|
- (NSString *) getBody;
|
2006-06-15 21:34:10 +02:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
#endif /* __Appointments_SOGoAptMailNotification_H_ */
|