+2005-07-14 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * v0.9.60
+
+ * SOGoAppointment.[hm]: added 'method' and 'userComment' accessors
+
+ * SOGoAppointmentICalRenderer.m: properly render 'method' of
+ appointment if it's set - otherwise assume 'REQUEST'
+
2005-07-14 Helge Hess <helge.hess@opengroupware.org>
* SOGoUser.m: added -homeFolderInContext: and
- (NSString *)comment;
- (BOOL)hasComment;
+- (void)setUserComment:(NSString *)_userComment;
+- (NSString *)userComment;
+
- (void)setPriority:(NSString *)_value;
- (NSString *)priority;
- (BOOL)hasPriority;
- (NSString *)transparency;
- (BOOL)isTransparent;
+- (void)setMethod:(NSString *)_method;
+- (NSString *)method;
+
- (void)removeAllAttendees;
- (void)addToAttendees:(iCalPerson *)_person;
- (void)appendAttendees:(NSArray *)_persons;
return YES;
}
+- (void)setUserComment:(NSString *)_userComment {
+ [self->event setUserComment:_userComment];
+}
+- (NSString *)userComment {
+ return [self->event userComment];
+}
+
- (void)setPriority:(NSString *)_value {
[self->event setPriority:_value];
}
return [[self transparency] isEqualToString:@"TRANSPARENT"];
}
+- (void)setMethod:(NSString *)_method {
+ [self->calendar setMethod:_method];
+}
+- (NSString *)method {
+ return [self->calendar method];
+}
+
- (void)setOrganizer:(iCalPerson *)_organizer {
[self->event setOrganizer:_organizer];
}
toString:(NSMutableString *)s
{
iCalCalendar *calendar;
+ NSString *x;
calendar = [_apt calendar];
- [s appendString:@"BEGIN:VCALENDAR\r\nMETHOD:REQUEST\r\n"];
+ [s appendString:@"BEGIN:VCALENDAR\r\n"];
+ [s appendString:@"METHOD:"];
+ if((x = [calendar method]))
+ [s appendString:[x iCalSafeString]];
+ else
+ [s appendString:@"REQUEST"];
+ [s appendString:@"\r\n"];
[s appendString:@"PRODID:"];
[s appendString:[calendar isNotNull] ? [calendar prodId] : @"SOGo/0.9"];
# version file
-SUBMINOR_VERSION:=59
+SUBMINOR_VERSION:=60
+# v0.9.60 requires libNGiCal v4.5.49
# v0.9.50 requires libGDLContentStore v4.5.30
# v0.9.34 requires libGDLContentStore v4.5.26
# v0.9.26 requires libOGoContentStore v0.9.13