From: helge Date: Wed, 30 Jun 2004 09:37:56 +0000 (+0000) Subject: git-svn-id: http://svn.opengroupware.org/SOGo/trunk@105 d1b88da0-ebda-0310-925b-ed51d... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=133766750c9652ed6c61d5f85388868d24904009;p=scalable-opengroupware.org git-svn-id: http://svn.opengroupware.org/SOGo/trunk@105 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/SOGo/SoObjects/SOGo/README b/SOGo/SoObjects/SOGo/README index 4ee0d4ec..d7d99df1 100644 --- a/SOGo/SoObjects/SOGo/README +++ b/SOGo/SoObjects/SOGo/README @@ -6,3 +6,12 @@ libSOGo Common SOGo objects. Note that the SOPE objects are registered by the Main bundle products.plist. + +Class Hierarchy +=============== + + [NSObject] + SOGoObject + SOGoContentObject + SOGoFolder + SOGoUserFolder diff --git a/SOGo/SoObjects/SOGo/SOGoObject.h b/SOGo/SoObjects/SOGo/SOGoObject.h index 889fd5e2..02502a58 100644 --- a/SOGo/SoObjects/SOGo/SOGoObject.h +++ b/SOGo/SoObjects/SOGo/SOGoObject.h @@ -26,6 +26,7 @@ #import @class OCSFolderManager, OCSFolder; +@class SOGoUserFolder; @interface SOGoObject : NSObject { @@ -40,6 +41,10 @@ - (NSString *)nameInContainer; - (id)container; +/* looking up shared objects */ + +- (SOGoUserFolder *)lookupUserFolder; + @end #endif /* __SoObjects_SOGoObject_H__ */ diff --git a/SOGo/SoObjects/SOGo/SOGoObject.m b/SOGo/SoObjects/SOGo/SOGoObject.m index d79d02de..8a15b440 100644 --- a/SOGo/SoObjects/SOGo/SOGoObject.m +++ b/SOGo/SoObjects/SOGo/SOGoObject.m @@ -57,4 +57,13 @@ return self->container; } +/* looking up shared objects */ + +- (SOGoUserFolder *)lookupUserFolder { + if (![self->container respondsToSelector:_cmd]) + return nil; + + return [self->container lookupUserFolder]; +} + @end /* SOGoObject */ diff --git a/SOGo/SoObjects/SOGo/SOGoUserFolder.h b/SOGo/SoObjects/SOGo/SOGoUserFolder.h index d2f91ca3..022206cb 100644 --- a/SOGo/SoObjects/SOGo/SOGoUserFolder.h +++ b/SOGo/SoObjects/SOGo/SOGoUserFolder.h @@ -29,6 +29,10 @@ { } +/* accessors */ + +- (NSString *)login; + @end #endif /* __SOGo_SOGoUserFolder_H__ */ diff --git a/SOGo/SoObjects/SOGo/SOGoUserFolder.m b/SOGo/SoObjects/SOGo/SOGoUserFolder.m index fb9b456d..79ee1a36 100644 --- a/SOGo/SoObjects/SOGo/SOGoUserFolder.m +++ b/SOGo/SoObjects/SOGo/SOGoUserFolder.m @@ -29,4 +29,16 @@ [super dealloc]; } +/* accessors */ + +- (NSString *)login { + return [self nameInContainer]; +} + +/* looking up shared objects */ + +- (SOGoUserFolder *)lookupUserFolder { + return self; +} + @end /* SOGoUserFolder */ diff --git a/SOGo/UI/Scheduler/ChangeLog b/SOGo/UI/Scheduler/ChangeLog new file mode 100644 index 00000000..752c93ca --- /dev/null +++ b/SOGo/UI/Scheduler/ChangeLog @@ -0,0 +1,9 @@ +2004-06-30 Helge Hess + + * removed backend stuff from some sources + + * product.plist: bind things on SOGoAppointmentXXX instead of SX... + + * GNUmakefile: changed from ZideStore to SOGo + + * created ChangeLog