diff --git a/ChangeLog b/ChangeLog index f615bda9d..8be20de68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-07-20 Wolfgang Sourdeau + + * SoObjects/SOGo/SOGoObject.m (-setContext, -context): new + accessors for the "context" ivar. + 2011-07-20 Francis Lachapelle * UI/WebServerResources/UIxMailToSelection.js diff --git a/SoObjects/SOGo/SOGoObject.h b/SoObjects/SOGo/SOGoObject.h index 3502fc806..85474b7c9 100644 --- a/SoObjects/SOGo/SOGoObject.h +++ b/SoObjects/SOGo/SOGoObject.h @@ -84,6 +84,9 @@ /* accessors */ +- (void) setContext: (WOContext *) newContext; +- (WOContext *) context; + - (NSString *) nameInContainer; - (NSString *) displayName; - (id) container; diff --git a/SoObjects/SOGo/SOGoObject.m b/SoObjects/SOGo/SOGoObject.m index 1191ccdc2..ab86d73bb 100644 --- a/SoObjects/SOGo/SOGoObject.m +++ b/SoObjects/SOGo/SOGoObject.m @@ -199,6 +199,16 @@ /* accessors */ +- (void) setContext: (WOContext *) newContext +{ + context = newContext; +} + +- (WOContext *) context +{ + return context; +} + - (NSString *) nameInContainer { return nameInContainer;