From 17018226cb370a5179f8d2549f56686845f06262 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 20 Oct 2006 21:13:18 +0000 Subject: [PATCH] Monotone-Parent: 9981beed9a8901d08a5b916dc336af3cbffb185b Monotone-Revision: 6f4aca34d0b59d7ae94fc6372510067926e9d0b4 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-20T21:13:18 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ SoObjects/Appointments/SOGoAptMailNotification.h | 12 ++++++------ SoObjects/Appointments/SOGoAptMailNotification.m | 6 +++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 60d3f9d82..9ab2ea19b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-10-20 Wolfgang Sourdeau + * SoObjects/Appointments/SOGoAptMailNotification.[hm]: work on + iCalEntityObject instances instead of just iCalEvent's. + * SoObjects/Appointments/SOGoAppointmentFolder.m ([SOGoAppointmentFolder -fetchFields:_fieldsfromFolder:_folderfrom:_startDateto:_endDatecomponent:_component]): set ownership of returned records by adding an "owner" key to the resulting dictionaries. diff --git a/SoObjects/Appointments/SOGoAptMailNotification.h b/SoObjects/Appointments/SOGoAptMailNotification.h index e7c92be6d..934571757 100644 --- a/SoObjects/Appointments/SOGoAptMailNotification.h +++ b/SoObjects/Appointments/SOGoAptMailNotification.h @@ -25,7 +25,7 @@ #include @class NSString, NSTimeZone, NSCalendarDate; -@class iCalEvent; +@class iCalEntityObject; /* * NOTE: We inherit from SoComponent in order to get the correct @@ -33,8 +33,8 @@ */ @interface SOGoAptMailNotification : SoComponent { - iCalEvent* oldApt; - iCalEvent* newApt; + iCalEntityObject* oldApt; + iCalEntityObject* newApt; NSString *homePageURL; NSTimeZone *viewTZ; NSCalendarDate *oldStartDate; @@ -43,13 +43,13 @@ } - (id) oldApt; -- (void) setOldApt: (iCalEvent *) _oldApt; +- (void) setOldApt: (iCalEntityObject *) _oldApt; - (id) newApt; -- (void) setNewApt: (iCalEvent *) _newApt; +- (void) setNewApt: (iCalEntityObject *) _newApt; - (NSString *)homePageURL; -- (void)setHomePageURL:(NSString *)_homePageURL; +- (void)setHomePageURL: (NSString *)_homePageURL; - (NSTimeZone *)viewTZ; - (void)setViewTZ:(NSTimeZone *)_viewTZ; diff --git a/SoObjects/Appointments/SOGoAptMailNotification.m b/SoObjects/Appointments/SOGoAptMailNotification.m index 1ed6b36e1..bba1ef46c 100644 --- a/SoObjects/Appointments/SOGoAptMailNotification.m +++ b/SoObjects/Appointments/SOGoAptMailNotification.m @@ -19,7 +19,7 @@ 02111-1307, USA. */ -#import +#import #import "SOGoAptMailNotification.h" #import "common.h" @@ -58,7 +58,7 @@ static NSTimeZone *EST = nil; - (id)oldApt { return self->oldApt; } -- (void)setOldApt:(iCalEvent *)_oldApt { +- (void)setOldApt:(iCalEntityObject *)_oldApt { ASSIGN(self->oldApt, _oldApt); } @@ -66,7 +66,7 @@ static NSTimeZone *EST = nil; return self->newApt; } -- (void)setNewApt:(iCalEvent *) _newApt +- (void)setNewApt:(iCalEntityObject *) _newApt { ASSIGN(self->newApt, _newApt); }