Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/libraries/core/CorePrereqs.h @ 5738

Last change on this file since 5738 was 5738, checked in by landauf, 15 years ago

merged libraries2 back to trunk

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