Monotone-Parent: 86d5fda1266a9ae6071c1b0c48daa229594679fb

Monotone-Revision: 319124b4db57da3c6d63eabff877eacac5c8a8a2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-10-06T18:24:47
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2009-10-06 18:24:47 +00:00
1 parent a9f4d77c2c
commit f518e5f4a9
3 files changed
+25

No files matched your search

+16
View File
@@ -20,9 +20,12 @@
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSDictionary.h>
#import <Foundation/NSEnumerator.h>
#import <Foundation/NSString.h>
#import <SaxObjC/XMLNamespaces.h>
#import "NSObject+DAV.h"
#import "NSArray+DAV.h"
@@ -48,4 +51,17 @@
return webdavString;
}
- (NSDictionary *) asDAVPropstatWithStatus: (NSString *) status
{
NSMutableArray *propstat;
propstat = [NSMutableArray arrayWithCapacity: 2];
[propstat addObject: davElementWithContent (@"prop", XMLNS_WEBDAV,
self)];
[propstat addObject: davElementWithContent (@"status", XMLNS_WEBDAV,
status)];
return davElementWithContent (@"propstat", XMLNS_WEBDAV, propstat);
}
@end