Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5837 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
RevLine 
[682]1/*
2 *   ORXONOX - the hottest 3D action shooter ever to exist
[1502]3 *                    > www.orxonox.net <
[682]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/**
[1024]30  @file
31  @brief Contains all the necessary forward declarations for all classes and structs.
[871]32*/
[682]33
34#ifndef _CorePrereqs_H__
35#define _CorePrereqs_H__
36
[2710]37#include "OrxonoxConfig.h"
[1062]38
[728]39//-----------------------------------------------------------------------
40// Shared library settings
41//-----------------------------------------------------------------------
[2710]42#if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( CORE_STATIC_BUILD )
[728]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
[682]57
[728]58
[682]59//-----------------------------------------------------------------------
[728]60// Forward declarations
61//-----------------------------------------------------------------------
62namespace orxonox
[684]63{
[3196]64    namespace XMLPort
[1052]65    {
[3196]66        enum Mode
67        {
68            LoadObject,
69            SaveObject,
70            ExpandObject
71        };
72    }
[1052]73
[3196]74    namespace KeybindMode
[1502]75    {
[3280]76        enum Value
[3196]77        {
78            OnPress,
79            OnHold,
80            OnRelease,
81            None
82        };
[1502]83    };
[1349]84
[3196]85    typedef std::string LanguageEntryLabel;
[1024]86
[3196]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;
[5693]113    class DynLib;
114    class DynLibManager;
[3196]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;
[3370]126    class GraphicsManager;
127    class GUIManager;
[3196]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;
[5695]136    class LuaState;
137    class MemoryArchive;
138    class MemoryArchiveFactory;
[3196]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;
[3370]151    class OgreWindowEventListener;
[3196]152    class OrxonoxClass;
[5836]153    class PathConfig;
[5695]154    struct ResourceInfo;
[3196]155    class Shell;
156    class ShellListener;
157    template <class T>
[5804]158    class SmartPtr;
159    template <class T>
[3196]160    class SubclassIdentifier;
161    class TclBind;
[3318]162    struct TclInterpreterBundle;
163    template <class T>
164    class TclThreadList;
[3196]165    class TclThreadManager;
166    class Template;
[5804]167    template <class T>
168    class WeakPtr;
[3327]169    class WindowEventListener;
[3196]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;
[1219]178
[3196]179    // game states
180    class Game;
181    class GameState;
[3370]182    struct GameStateInfo;
[3196]183    struct GameStateTreeNode;
[1755]184
[3196]185    // input
186    class BaseCommand;
187    class BufferedParamCommand;
188    class Button;
189    class CalibratorCallback;
190    class HalfAxis;
191    class InputBuffer;
[3327]192    class InputDevice;
193    template <class Traits>
194    class InputDeviceTemplated;
195    class InputHandler;
[3196]196    class InputManager;
197    class InputState;
[3327]198    class JoyStick;
199    class Mouse;
200    class Keyboard;
[3196]201    class KeyBinder;
202    class KeyDetector;
203    class ParamCommand;
204    class SimpleCommand;
[3304]205
[3327]206
[3304]207    // multithreading
208    class Thread;
209    class ThreadPool;
[682]210}
211
[3196]212// CppTcl
213namespace Tcl
214{
215    class interpreter;
216    class object;
217}
218
219// Boost
[3304]220namespace boost
[3318]221{
[3304]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;
[3318]230    class shared_mutex;
231    class condition_variable;
[3304]232}
[3196]233
[5695]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
[3370]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
[3196]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
[682]298#endif /* _CorePrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.