Monotone-Parent: 9981beed9a8901d08a5b916dc336af3cbffb185b

Monotone-Revision: 6f4aca34d0b59d7ae94fc6372510067926e9d0b4

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-20T21:13:18
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-10-20 21:13:18 +00:00
parent 74a29216f9
commit 17018226cb
3 changed files with 12 additions and 9 deletions
+3
View File
@@ -1,5 +1,8 @@
2006-10-20 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* 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.
@@ -25,7 +25,7 @@
#include <NGObjWeb/SoComponent.h>
@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;
@@ -19,7 +19,7 @@
02111-1307, USA.
*/
#import <NGCards/iCalEvent.h>
#import <NGCards/iCalEntityObject.h>
#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);
}