From 82a18774bc7723d357639789d2fa00f38f46abc6 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 28 Sep 2006 17:24:12 +0000 Subject: [PATCH] Monotone-Parent: 3ae52910ee7b5f31984924b6f8e65b5fdb7f5ed1 Monotone-Revision: f69b7cb2701cafc9e0fe6db220af902548793deb Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-28T17:24:12 Monotone-Branch: ca.inverse.sogo --- .../Appointments/SOGoAptMailNotification.h | 19 ++++++++++--------- .../Appointments/SOGoAptMailNotification.m | 13 ++++++++----- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/SoObjects/Appointments/SOGoAptMailNotification.h b/SoObjects/Appointments/SOGoAptMailNotification.h index 99330d746..e7c92be6d 100644 --- a/SoObjects/Appointments/SOGoAptMailNotification.h +++ b/SoObjects/Appointments/SOGoAptMailNotification.h @@ -25,6 +25,7 @@ #include @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; diff --git a/SoObjects/Appointments/SOGoAptMailNotification.m b/SoObjects/Appointments/SOGoAptMailNotification.m index c6cc518c1..1ed6b36e1 100644 --- a/SoObjects/Appointments/SOGoAptMailNotification.m +++ b/SoObjects/Appointments/SOGoAptMailNotification.m @@ -19,9 +19,10 @@ 02111-1307, USA. */ -#include "SOGoAptMailNotification.h" -#include -#include "common.h" +#import + +#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); }