mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 21:53:19 +00:00
Monotone-Parent: a084cda52b54dea2be32b37d71aefe6f27b1af33
Monotone-Revision: 8e81030e83aa6ed594c40a5f56274b5ba292f47c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-05-02T23:08:15 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -24,6 +24,14 @@
|
||||
|
||||
#import <Foundation/NSObject.h>
|
||||
|
||||
#import <DOM/DOMProtocols.h>
|
||||
|
||||
#if LIB_FOUNDATION_LIBRARY
|
||||
#error SOGo will not work properly with libFoundation.
|
||||
#error Please use gnustep-base instead.
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
SOGoObject
|
||||
|
||||
@@ -48,8 +56,8 @@
|
||||
@class GCSFolder;
|
||||
|
||||
@class SOGoUserFolder;
|
||||
@class SOGoGroupsFolder;
|
||||
@class SOGoDAVSet;
|
||||
@class SOGoWebDAVValue;
|
||||
@class SOGoWebDAVAclManager;
|
||||
|
||||
#define $(class) NSClassFromString(class)
|
||||
|
||||
@@ -58,6 +66,7 @@
|
||||
WOContext *context;
|
||||
NSString *nameInContainer;
|
||||
NSString *owner;
|
||||
SOGoWebDAVAclManager *webdavAclManager;
|
||||
id container;
|
||||
}
|
||||
|
||||
@@ -90,7 +99,6 @@
|
||||
/* looking up shared objects */
|
||||
|
||||
- (SOGoUserFolder *) lookupUserFolder;
|
||||
- (SOGoGroupsFolder *) lookupGroupsFolder;
|
||||
|
||||
- (void) sleep;
|
||||
|
||||
@@ -103,8 +111,6 @@
|
||||
- (NSException *)delete;
|
||||
- (id)GETAction:(id)_ctx;
|
||||
|
||||
- (SOGoDAVSet *) davCurrentUserPrivilegeSet;
|
||||
|
||||
/* etag support */
|
||||
|
||||
- (NSException *) matchesRequestConditionInContext:(id)_ctx;
|
||||
@@ -129,8 +135,10 @@
|
||||
- (NSString *) httpURLForAdvisoryToUser: (NSString *) uid;
|
||||
- (NSString *) resourceURLForAdvisoryToUser: (NSString *) uid;
|
||||
|
||||
/* dav */
|
||||
- (NSArray *) davNamespaces;
|
||||
/* dav acls */
|
||||
- (SOGoWebDAVValue *) davCurrentUserPrivilegeSet;
|
||||
|
||||
/* inverse dav extensions for acls */
|
||||
- (NSString *) davRecordForUser: (NSString *) user;
|
||||
|
||||
/* description */
|
||||
@@ -139,4 +147,17 @@
|
||||
|
||||
@end
|
||||
|
||||
@interface SOGoObject (SOGo)
|
||||
|
||||
- (NSString *) contentAsString;
|
||||
|
||||
@end
|
||||
|
||||
@interface SOGoObject (SOGoDomHelpers)
|
||||
|
||||
- (NSArray *) domNode: (id <DOMNode>) node
|
||||
getChildNodesByType: (DOMNodeType) type;
|
||||
|
||||
@end
|
||||
|
||||
#endif /* __SoObjects_SOGoObject_H__ */
|
||||
|
||||
Reference in New Issue
Block a user