Monotone-Parent: 8e107fb288c79a6ab48898f0f819a6f622daaab3

Monotone-Revision: 693f258d762745d4b943a8edf8adf8f691c787f1

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-06-19T16:20:49
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2009-06-19 16:20:49 +00:00
1 parent c2656306ed
commit aa09636ec6
3 files changed
+30

No files matched your search

@@ -2240,6 +2240,33 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
return colType;
}
- (SOGoWebDAVValue *) davCalendarComponentSet
{
static SOGoWebDAVValue *componentSet = nil;
NSMutableArray *components;
if (!componentSet)
{
components = [NSMutableArray array];
/* Totally hackish.... we use the "n1" prefix because we know our
extensions will assign that one to ..:caldav but we really need to
handle element attributes */
[components addObject: [SOGoWebDAVValue
valueForObject: @"<n1:comp name=\"VEVENT\"/>"
attributes: nil]];
[components addObject: [SOGoWebDAVValue
valueForObject: @"<n1:comp name=\"VTODO\"/>"
attributes: nil]];
componentSet
= [davElementWithContent (@"supported-calendar-component-set",
XMLNS_CALDAV,
components)
asWebDAVValue];
}
return componentSet;
}
- (NSString *) davDescription
{
return @"";
+1
View File
@@ -22,6 +22,7 @@
*/
#import <Foundation/NSArray.h>
#import <Foundation/NSAutoreleasePool.h>
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSEnumerator.h>