Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/core5/src/libraries/core/CorePrereqs.h @ 5836

Last change on this file since 5836 was 5836, checked in by rgrieder, 15 years ago

Extracted path related parts of Core into a new PathConfig class. This should decrease the mess in Core.cc a little bit.

  • Property svn:eol-style set to native
File size: 6.6 KB
Line 
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//-----------------------------------------------------------------------
62namespace 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 BaseMetaObjectListElement;
90    class BaseObject;
91    template <class T>
92    class ClassFactory;
93    template <class T>
94    class ClassIdentifier;
95    class ClassTreeMask;
96    class ClassTreeMaskIterator;
97    class ClassTreeMaskNode;
98    class ClassTreeMaskObjectIterator;
99    class Clock;
100    class CommandEvaluation;
101    class CommandExecutor;
102    class CommandLine;
103    class CommandLineArgument;
104    class ConfigFile;
105    class ConfigFileEntry;
106    class ConfigFileEntryComment;
107    class ConfigFileEntryValue;
108    class ConfigFileManager;
109    class ConfigFileSection;
110    class ConfigValueContainer;
111    class ConsoleCommand;
112    class Core;
113    class DynLib;
114    class DynLibManager;
115    struct Event;
116    class EventContainer;
117    class Executor;
118    template <class T>
119    class ExecutorMember;
120    class ExecutorStatic;
121    class Factory;
122    class Functor;
123    template <class T>
124    class FunctorMember;
125    class FunctorStatic;
126    class GraphicsManager;
127    class GUIManager;
128    class Identifier;
129    class IRC;
130    template <class T>
131    class Iterator;
132    class IteratorBase;
133    class Language;
134    class LanguageEntry;
135    class Loader;
136    class LuaState;
137    class MemoryArchive;
138    class MemoryArchiveFactory;
139    class MetaObjectList;
140    class MetaObjectListElement;
141    class Namespace;
142    class NamespaceNode;
143    template <class T>
144    class ObjectList;
145    class ObjectListBase;
146    class ObjectListBaseElement;
147    template <class T>
148    class ObjectListElement;
149    template <class T>
150    class ObjectListIterator;
151    class OgreWindowEventListener;
152    class OrxonoxClass;
153    class PathConfig;
154    struct ResourceInfo;
155    class Shell;
156    class ShellListener;
157    template <class T>
158    class SmartPtr;
159    template <class T>
160    class SubclassIdentifier;
161    class TclBind;
162    struct TclInterpreterBundle;
163    template <class T>
164    class TclThreadList;
165    class TclThreadManager;
166    class Template;
167    template <class T>
168    class WeakPtr;
169    class WindowEventListener;
170    class XMLFile;
171    class XMLNameListener;
172    template <class T, class O>
173    class XMLPortClassObjectContainer;
174    template <class T>
175    class XMLPortClassParamContainer;
176    class XMLPortObjectContainer;
177    class XMLPortParamContainer;
178
179    // game states
180    class Game;
181    class GameState;
182    struct GameStateInfo;
183    struct GameStateTreeNode;
184
185    // input
186    class BaseCommand;
187    class BufferedParamCommand;
188    class Button;
189    class CalibratorCallback;
190    class HalfAxis;
191    class InputBuffer;
192    class InputDevice;
193    template <class Traits>
194    class InputDeviceTemplated;
195    class InputHandler;
196    class InputManager;
197    class InputState;
198    class JoyStick;
199    class Mouse;
200    class Keyboard;
201    class KeyBinder;
202    class KeyDetector;
203    class ParamCommand;
204    class SimpleCommand;
205
206
207    // multithreading
208    class Thread;
209    class ThreadPool;
210}
211
212// CppTcl
213namespace Tcl
214{
215    class interpreter;
216    class object;
217}
218
219// Boost
220namespace boost
221{
222    namespace filesystem
223    {
224        struct path_traits;
225        template <class String, class Traits> class basic_path;
226        typedef basic_path<std::string, path_traits> path;
227    }
228    class thread;
229    class mutex;
230    class shared_mutex;
231    class condition_variable;
232}
233
234// Ogre
235namespace Ogre
236{
237    class DataStream;
238    template <class T> class SharedPtr;
239    typedef SharedPtr<DataStream> DataStreamPtr;
240}
241namespace orxonox
242{
243    // Import the Ogre::DataStream
244    using Ogre::DataStream;
245    using Ogre::DataStreamPtr;
246}
247
248// CEGUI
249namespace CEGUI
250{
251    class DefaultLogger;
252    class Logger;
253    class LuaScriptModule;
254
255    class OgreCEGUIRenderer;
256    class OgreCEGUIResourceProvider;
257    class OgreCEGUITexture;
258}
259
260// Lua
261struct lua_State;
262
263// TinyXML and TinyXML++
264class TiXmlString;
265class TiXmlOutStream;
266class TiXmlNode;
267class TiXmlHandle;
268class TiXmlDocument;
269class TiXmlElement;
270class TiXmlComment;
271class TiXmlUnknown;
272class TiXmlAttribute;
273class TiXmlText;
274class TiXmlDeclaration;
275class TiXmlParsingData;
276namespace ticpp
277{
278    class Document;
279    class Element;
280    class Declaration;
281    class StylesheetReference;
282    class Text;
283    class Comment;
284    class Attribute;
285}
286namespace orxonox
287{
288    using ticpp::Document;
289    using ticpp::Element;
290    using ticpp::Declaration;
291    using ticpp::StylesheetReference;
292    using ticpp::Text;
293    using ticpp::Comment;
294    using ticpp::Attribute;
295}
296
297
298#endif /* _CorePrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.