~ubuntu-branches/ubuntu/saucy/sope/saucy

« back to all changes in this revision

Viewing changes to sope-appserver/NGObjWeb/WebDAV/SoWebDAVRenderer.h

  • Committer: Package Import Robot
  • Author(s): Jeroen Dekkers
  • Date: 2012-05-09 15:39:17 UTC
  • Revision ID: package-import@ubuntu.com-20120509153917-nr4jlm8mktma1yv3
Tags: upstream-1.3.14
ImportĀ upstreamĀ versionĀ 1.3.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  Copyright (C) 2000-2006 SKYRIX Software AG
 
3
  Copyright (C) 2006      Helge Hess
 
4
 
 
5
  This file is part of SOPE.
 
6
 
 
7
  SOPE is free software; you can redistribute it and/or modify it under
 
8
  the terms of the GNU Lesser General Public License as published by the
 
9
  Free Software Foundation; either version 2, or (at your option) any
 
10
  later version.
 
11
 
 
12
  SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
 
13
  WARRANTY; without even the implied warranty of MERCHANTABILITY or
 
14
  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
 
15
  License for more details.
 
16
 
 
17
  You should have received a copy of the GNU Lesser General Public
 
18
  License along with SOPE; see the file COPYING.  If not, write to the
 
19
  Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 
20
  02111-1307, USA.
 
21
*/
 
22
 
 
23
#ifndef __SoObjects_SoWebDAVRenderer_H__
 
24
#define __SoObjects_SoWebDAVRenderer_H__
 
25
 
 
26
#import <Foundation/NSObject.h>
 
27
 
 
28
/*
 
29
  SoWebDAVRenderer
 
30
  
 
31
  An object which can render DAV responses of all kinds.
 
32
*/
 
33
 
 
34
@class NSException;
 
35
@class WOContext;
 
36
 
 
37
@interface SoWebDAVRenderer : NSObject
 
38
{
 
39
}
 
40
 
 
41
+ (id)sharedRenderer;
 
42
 
 
43
/* master renderer */
 
44
 
 
45
- (NSException *)renderObject:(id)_object inContext:(WOContext *)_ctx;
 
46
- (BOOL)canRenderObject:(id)_object inContext:(WOContext *)_ctx;
 
47
 
 
48
/* render individual response types, auto-selected by renderObject:inContext: */
 
49
 
 
50
- (BOOL)renderSearchResult:(id)_object    inContext:(WOContext *)_ctx;
 
51
- (BOOL)renderLockToken:(id)_object       inContext:(WOContext *)_ctx;
 
52
- (BOOL)renderOptions:(id)_object         inContext:(WOContext *)_ctx;
 
53
- (BOOL)renderSubscription:(id)_object    inContext:(WOContext *)_ctx;
 
54
- (BOOL)renderPropPatchResult:(id)_object inContext:(WOContext *)_ctx;
 
55
- (BOOL)renderDeleteResult:(id)_object    inContext:(WOContext *)_ctx;
 
56
- (BOOL)renderUploadResult:(id)_object    inContext:(WOContext *)_ctx;
 
57
- (BOOL)renderPollResult:(id)_object      inContext:(WOContext *)_ctx;
 
58
- (BOOL)renderMkColResult:(id)_object     inContext:(WOContext *)_ctx;
 
59
 
 
60
@end
 
61
 
 
62
#endif /* __SoObjects_SoWebDAVRenderer_H__ */