1 | /* |
---|
2 | * ORXONOX - the hottest 3D action shooter ever to exist |
---|
3 | * > www.orxonox.net < |
---|
4 | * |
---|
5 | * |
---|
6 | * License notice: |
---|
7 | * |
---|
8 | * This program is free software; you can redistribute it and/or |
---|
9 | * modify it under the terms of the GNU General Public License |
---|
10 | * as published by the Free Software Foundation; either version 2 |
---|
11 | * of the License, or (at your option) any later version. |
---|
12 | * |
---|
13 | * This program is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | * GNU General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU General Public License |
---|
19 | * along with this program; if not, write to the Free Software |
---|
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
---|
21 | * |
---|
22 | * Author: |
---|
23 | * Reto Grieder |
---|
24 | * Co-authors: |
---|
25 | * ... |
---|
26 | * |
---|
27 | */ |
---|
28 | |
---|
29 | /** |
---|
30 | @file |
---|
31 | @brief Contains all the necessary forward declarations for all classes and structs. |
---|
32 | */ |
---|
33 | |
---|
34 | #ifndef _CorePrereqs_H__ |
---|
35 | #define _CorePrereqs_H__ |
---|
36 | |
---|
37 | #include "OrxonoxConfig.h" |
---|
38 | |
---|
39 | //----------------------------------------------------------------------- |
---|
40 | // Shared library settings |
---|
41 | //----------------------------------------------------------------------- |
---|
42 | #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( CORE_STATIC_BUILD ) |
---|
43 | # ifdef CORE_SHARED_BUILD |
---|
44 | # define _CoreExport __declspec(dllexport) |
---|
45 | # else |
---|
46 | # if defined( __MINGW32__ ) |
---|
47 | # define _CoreExport |
---|
48 | # else |
---|
49 | # define _CoreExport __declspec(dllimport) |
---|
50 | # endif |
---|
51 | # endif |
---|
52 | #elif defined ( ORXONOX_GCC_VISIBILITY ) |
---|
53 | # define _CoreExport __attribute__ ((visibility("default"))) |
---|
54 | #else |
---|
55 | # define _CoreExport |
---|
56 | #endif |
---|
57 | |
---|
58 | |
---|
59 | //----------------------------------------------------------------------- |
---|
60 | // Forward declarations |
---|
61 | //----------------------------------------------------------------------- |
---|
62 | namespace orxonox |
---|
63 | { |
---|
64 | namespace XMLPort |
---|
65 | { |
---|
66 | enum Mode |
---|
67 | { |
---|
68 | LoadObject, |
---|
69 | SaveObject, |
---|
70 | ExpandObject |
---|
71 | }; |
---|
72 | } |
---|
73 | |
---|
74 | namespace KeybindMode |
---|
75 | { |
---|
76 | enum Value |
---|
77 | { |
---|
78 | OnPress, |
---|
79 | OnHold, |
---|
80 | OnRelease, |
---|
81 | None |
---|
82 | }; |
---|
83 | }; |
---|
84 | |
---|
85 | typedef std::string LanguageEntryLabel; |
---|
86 | |
---|
87 | class ArgumentCompleter; |
---|
88 | class ArgumentCompletionListElement; |
---|
89 | class BaseFactory; |
---|
90 | class BaseMetaObjectListElement; |
---|
91 | class BaseObject; |
---|
92 | template <class T> |
---|
93 | class ClassFactory; |
---|
94 | template <class T> |
---|
95 | class ClassIdentifier; |
---|
96 | class ClassTreeMask; |
---|
97 | class ClassTreeMaskIterator; |
---|
98 | class ClassTreeMaskNode; |
---|
99 | class ClassTreeMaskObjectIterator; |
---|
100 | class Clock; |
---|
101 | class CommandEvaluation; |
---|
102 | class CommandExecutor; |
---|
103 | class CommandLine; |
---|
104 | class CommandLineArgument; |
---|
105 | class ConfigFile; |
---|
106 | class ConfigFileEntry; |
---|
107 | class ConfigFileEntryComment; |
---|
108 | class ConfigFileEntryValue; |
---|
109 | class ConfigFileManager; |
---|
110 | class ConfigFileSection; |
---|
111 | class ConfigValueContainer; |
---|
112 | class ConsoleCommand; |
---|
113 | class Core; |
---|
114 | struct Event; |
---|
115 | class EventContainer; |
---|
116 | class Executor; |
---|
117 | template <class T> |
---|
118 | class ExecutorMember; |
---|
119 | class ExecutorStatic; |
---|
120 | class Factory; |
---|
121 | class Functor; |
---|
122 | template <class T> |
---|
123 | class FunctorMember; |
---|
124 | class FunctorStatic; |
---|
125 | class Identifier; |
---|
126 | class IRC; |
---|
127 | template <class T> |
---|
128 | class Iterator; |
---|
129 | class IteratorBase; |
---|
130 | class Language; |
---|
131 | class LanguageEntry; |
---|
132 | class Loader; |
---|
133 | class LuaBind; |
---|
134 | class MetaObjectList; |
---|
135 | class MetaObjectListElement; |
---|
136 | class Namespace; |
---|
137 | class NamespaceNode; |
---|
138 | template <class T> |
---|
139 | class ObjectList; |
---|
140 | class ObjectListBase; |
---|
141 | class ObjectListBaseElement; |
---|
142 | template <class T> |
---|
143 | class ObjectListElement; |
---|
144 | template <class T> |
---|
145 | class ObjectListIterator; |
---|
146 | class OrxonoxClass; |
---|
147 | class Shell; |
---|
148 | class ShellListener; |
---|
149 | template <class T> |
---|
150 | class SubclassIdentifier; |
---|
151 | class TclBind; |
---|
152 | struct TclInterpreterBundle; |
---|
153 | template <class T> |
---|
154 | class TclThreadList; |
---|
155 | class TclThreadManager; |
---|
156 | class Template; |
---|
157 | class WindowEventListener; |
---|
158 | class XMLFile; |
---|
159 | class XMLNameListener; |
---|
160 | template <class T, class O> |
---|
161 | class XMLPortClassObjectContainer; |
---|
162 | template <class T> |
---|
163 | class XMLPortClassParamContainer; |
---|
164 | class XMLPortObjectContainer; |
---|
165 | class XMLPortParamContainer; |
---|
166 | |
---|
167 | // game states |
---|
168 | class Game; |
---|
169 | struct GameStateConstrParams; |
---|
170 | class GameState; |
---|
171 | struct GameStateTreeNode; |
---|
172 | |
---|
173 | // input |
---|
174 | class BaseCommand; |
---|
175 | class BufferedParamCommand; |
---|
176 | class Button; |
---|
177 | class CalibratorCallback; |
---|
178 | class HalfAxis; |
---|
179 | class InputBuffer; |
---|
180 | class InputDevice; |
---|
181 | template <class Traits> |
---|
182 | class InputDeviceTemplated; |
---|
183 | class InputHandler; |
---|
184 | class InputManager; |
---|
185 | class InputState; |
---|
186 | class JoyStick; |
---|
187 | class Mouse; |
---|
188 | class Keyboard; |
---|
189 | class KeyBinder; |
---|
190 | class KeyDetector; |
---|
191 | class ParamCommand; |
---|
192 | class SimpleCommand; |
---|
193 | |
---|
194 | |
---|
195 | // multithreading |
---|
196 | class Thread; |
---|
197 | class ThreadPool; |
---|
198 | } |
---|
199 | |
---|
200 | // CppTcl |
---|
201 | namespace Tcl |
---|
202 | { |
---|
203 | class interpreter; |
---|
204 | class object; |
---|
205 | } |
---|
206 | |
---|
207 | // Boost |
---|
208 | namespace boost |
---|
209 | { |
---|
210 | namespace filesystem |
---|
211 | { |
---|
212 | struct path_traits; |
---|
213 | template <class String, class Traits> class basic_path; |
---|
214 | typedef basic_path<std::string, path_traits> path; |
---|
215 | } |
---|
216 | class thread; |
---|
217 | class mutex; |
---|
218 | class shared_mutex; |
---|
219 | class condition_variable; |
---|
220 | } |
---|
221 | |
---|
222 | // TinyXML and TinyXML++ |
---|
223 | class TiXmlString; |
---|
224 | class TiXmlOutStream; |
---|
225 | class TiXmlNode; |
---|
226 | class TiXmlHandle; |
---|
227 | class TiXmlDocument; |
---|
228 | class TiXmlElement; |
---|
229 | class TiXmlComment; |
---|
230 | class TiXmlUnknown; |
---|
231 | class TiXmlAttribute; |
---|
232 | class TiXmlText; |
---|
233 | class TiXmlDeclaration; |
---|
234 | class TiXmlParsingData; |
---|
235 | namespace ticpp |
---|
236 | { |
---|
237 | class Document; |
---|
238 | class Element; |
---|
239 | class Declaration; |
---|
240 | class StylesheetReference; |
---|
241 | class Text; |
---|
242 | class Comment; |
---|
243 | class Attribute; |
---|
244 | } |
---|
245 | namespace orxonox |
---|
246 | { |
---|
247 | using ticpp::Document; |
---|
248 | using ticpp::Element; |
---|
249 | using ticpp::Declaration; |
---|
250 | using ticpp::StylesheetReference; |
---|
251 | using ticpp::Text; |
---|
252 | using ticpp::Comment; |
---|
253 | using ticpp::Attribute; |
---|
254 | } |
---|
255 | |
---|
256 | |
---|
257 | #endif /* _CorePrereqs_H__ */ |
---|