Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Renamed BaseFactory as Factory
Added function ClassByLowercaseString

  • Property svn:eol-style set to native
File size: 6.5 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    struct ResourceInfo;
154    class Shell;
155    class ShellListener;
156    template <class T>
157    class SubclassIdentifier;
158    class TclBind;
159    struct TclInterpreterBundle;
160    template <class T>
161    class TclThreadList;
162    class TclThreadManager;
163    class Template;
164    class WindowEventListener;
165    class XMLFile;
166    class XMLNameListener;
167    template <class T, class O>
168    class XMLPortClassObjectContainer;
169    template <class T>
170    class XMLPortClassParamContainer;
171    class XMLPortObjectContainer;
172    class XMLPortParamContainer;
173
174    // game states
175    class Game;
176    class GameState;
177    struct GameStateInfo;
178    struct GameStateTreeNode;
179
180    // input
181    class BaseCommand;
182    class BufferedParamCommand;
183    class Button;
184    class CalibratorCallback;
185    class HalfAxis;
186    class InputBuffer;
187    class InputDevice;
188    template <class Traits>
189    class InputDeviceTemplated;
190    class InputHandler;
191    class InputManager;
192    class InputState;
193    class JoyStick;
194    class Mouse;
195    class Keyboard;
196    class KeyBinder;
197    class KeyDetector;
198    class ParamCommand;
199    class SimpleCommand;
200
201
202    // multithreading
203    class Thread;
204    class ThreadPool;
205}
206
207// CppTcl
208namespace Tcl
209{
210    class interpreter;
211    class object;
212}
213
214// Boost
215namespace boost
216{
217    namespace filesystem
218    {
219        struct path_traits;
220        template <class String, class Traits> class basic_path;
221        typedef basic_path<std::string, path_traits> path;
222    }
223    class thread;
224    class mutex;
225    class shared_mutex;
226    class condition_variable;
227}
228
229// Ogre
230namespace Ogre
231{
232    class DataStream;
233    template <class T> class SharedPtr;
234    typedef SharedPtr<DataStream> DataStreamPtr;
235}
236namespace orxonox
237{
238    // Import the Ogre::DataStream
239    using Ogre::DataStream;
240    using Ogre::DataStreamPtr;
241}
242
243// CEGUI
244namespace CEGUI
245{
246    class DefaultLogger;
247    class Logger;
248    class LuaScriptModule;
249
250    class OgreCEGUIRenderer;
251    class OgreCEGUIResourceProvider;
252    class OgreCEGUITexture;
253}
254
255// Lua
256struct lua_State;
257
258// TinyXML and TinyXML++
259class TiXmlString;
260class TiXmlOutStream;
261class TiXmlNode;
262class TiXmlHandle;
263class TiXmlDocument;
264class TiXmlElement;
265class TiXmlComment;
266class TiXmlUnknown;
267class TiXmlAttribute;
268class TiXmlText;
269class TiXmlDeclaration;
270class TiXmlParsingData;
271namespace ticpp
272{
273    class Document;
274    class Element;
275    class Declaration;
276    class StylesheetReference;
277    class Text;
278    class Comment;
279    class Attribute;
280}
281namespace orxonox
282{
283    using ticpp::Document;
284    using ticpp::Element;
285    using ticpp::Declaration;
286    using ticpp::StylesheetReference;
287    using ticpp::Text;
288    using ticpp::Comment;
289    using ticpp::Attribute;
290}
291
292
293#endif /* _CorePrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.