]> err.no Git - sope/blob - sope-appserver/SoOFS/common.h
added strict OSX bundle dependencies
[sope] / sope-appserver / SoOFS / common.h
1 /*
2   Copyright (C) 2000-2005 SKYRIX Software AG
3
4   This file is part of SOPE.
5
6   SOPE is free software; you can redistribute it and/or modify it under
7   the terms of the GNU Lesser General Public License as published by the
8   Free Software Foundation; either version 2, or (at your option) any
9   later version.
10
11   SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
12   WARRANTY; without even the implied warranty of MERCHANTABILITY or
13   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
14   License for more details.
15
16   You should have received a copy of the GNU Lesser General Public
17   License along with SOPE; see the file COPYING.  If not, write to the
18   Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19   02111-1307, USA.
20 */
21
22 #ifndef __SoOFS_common_H__
23 #define __SoOFS_common_H__
24
25 #import <Foundation/Foundation.h>
26
27 #if NeXT_Foundation_LIBRARY || APPLE_FOUNDATION_LIBRARY || \
28     COCOA_Foundation_LIBRARY
29 #define COCOA_Foundation_LIBRARY 1
30
31 #  include <NGExtensions/NGObjectMacros.h>
32 #  include <NGExtensions/NSString+Ext.h>
33 #endif
34
35 #include <NGExtensions/NGExtensions.h>
36
37 #include <NGObjWeb/WORequest.h>
38 #include <NGObjWeb/WOApplication.h>
39 #include <NGExtensions/NGFileManager.h>
40
41 #include <SoObjects/NSException+HTTP.h>
42 #include <SoObjects/SoClass.h>
43 #include <SoObjects/SoClassRegistry.h>
44 #include <SoObjects/SoClassSecurityInfo.h>
45 #include <SoObjects/SoDefaultRenderer.h>
46 #include <SoObjects/SoObject.h>
47 #include <SoObjects/SoObjectMethodDispatcher.h>
48 #include <SoObjects/SoObjectRequestHandler.h>
49 #include <SoObjects/SoPermissions.h>
50 #include <SoObjects/SoSecurityManager.h>
51 #include <SoObjects/SoUser.h>
52 #include <SoObjects/WOContext+SoObjects.h>
53 #include <SoObjects/NSException+HTTP.h>
54 #ifdef COMPILE_FOR_GSTEP_MAKE
55 #  include "WOContext+private.h" // required for page rendering
56 #else
57 /* Xcode can't reference the private header, so as a workaround we declare all
58    private methods used here */
59 #  include <NGObjWeb/WOContext.h>
60 @interface WOContext(UsedPrivates)
61 - (void)enterComponent:(WOComponent *)_component content:(WOElement *)_content;
62 - (void)leaveComponent:(WOComponent *)_component;
63 - (void)setPage:(WOComponent *)_page;
64 @end
65 #endif
66
67 @interface WOContext(LastException)
68 - (NSException *)lastException;
69 @end
70
71 #endif /* __SoOFS_common_H__ */