Monotone-Parent: 3ae52910ee7b5f31984924b6f8e65b5fdb7f5ed1

Monotone-Revision: f69b7cb2701cafc9e0fe6db220af902548793deb

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-09-28T17:24:12
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-09-28 17:24:12 +00:00
parent dbee220f40
commit 82a18774bc
2 changed files with 18 additions and 14 deletions

View File

@@ -25,6 +25,7 @@
#include <NGObjWeb/SoComponent.h>
@class NSString, NSTimeZone, NSCalendarDate;
@class iCalEvent;
/*
* NOTE: We inherit from SoComponent in order to get the correct
@@ -32,20 +33,20 @@
*/
@interface SOGoAptMailNotification : SoComponent
{
id oldApt;
id newApt;
NSString *homePageURL;
NSTimeZone *viewTZ;
iCalEvent* oldApt;
iCalEvent* newApt;
NSString *homePageURL;
NSTimeZone *viewTZ;
NSCalendarDate *oldStartDate;
NSCalendarDate *newStartDate;
BOOL isSubject;
BOOL isSubject;
}
- (id)oldApt;
- (void)setOldApt:(id)_oldApt;
- (id) oldApt;
- (void) setOldApt: (iCalEvent *) _oldApt;
- (id)newApt;
- (void)setNewApt:(id)_newApt;
- (id) newApt;
- (void) setNewApt: (iCalEvent *) _newApt;
- (NSString *)homePageURL;
- (void)setHomePageURL:(NSString *)_homePageURL;

View File

@@ -19,9 +19,10 @@
02111-1307, USA.
*/
#include "SOGoAptMailNotification.h"
#include <SOGo/SOGoAppointment.h>
#include "common.h"
#import <NGCards/iCalEvent.h>
#import "SOGoAptMailNotification.h"
#import "common.h"
@interface SOGoAptMailNotification (PrivateAPI)
- (BOOL)isSubject;
@@ -57,14 +58,16 @@ static NSTimeZone *EST = nil;
- (id)oldApt {
return self->oldApt;
}
- (void)setOldApt:(id)_oldApt {
- (void)setOldApt:(iCalEvent *)_oldApt {
ASSIGN(self->oldApt, _oldApt);
}
- (id)newApt {
return self->newApt;
}
- (void)setNewApt:(id)_newApt {
- (void)setNewApt:(iCalEvent *) _newApt
{
ASSIGN(self->newApt, _newApt);
}