+2005-07-18 Helge Hess <helge.hess@opengroupware.org>
+
+ * iCalPerson.m: added -partStatWithDefault method to retrieve the
+ partstat and return NEEDS-ACTION in case none is set (v4.5.57)
+
2005-07-15 Marcus Mueller <znek@mulle-kybernetik.com>
* iCalObject.[hm], iCalEntityObject.m, iCalToDo.m, iCalAlarm.m,
MAJOR_VERSION=4
MINOR_VERSION=5
-SUBMINOR_VERSION:=56
+SUBMINOR_VERSION:=57
# v4.5.40 requires NGExtensions v4.5.145
# v4.5.37 requires NGExtensions v4.5.140
- (void)setPartStat:(NSString *)_s;
- (NSString *)partStat;
+- (NSString *)partStatWithDefault;
- (void)setParticipationStatus:(iCalPersonPartStat)_status;
- (iCalPersonPartStat)participationStatus;
- (NSString *)partStat {
return self->partStat;
}
+- (NSString *)partStatWithDefault {
+ NSString *s;
+
+ s = [self partStat];
+ if ([s length] > 0)
+ return s;
+
+ return @"NEEDS-ACTION";
+}
- (void)setParticipationStatus:(iCalPersonPartStat)_status {
NSString *stat;