Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Added a dynamic library loader (more or less a copy of Ogre::DynLibManager but with some adjustments for Orxonox). This allows us to load plugins at runtime. Plugin-libraries must be declared with the "PLUGIN" switch in ORXONOX_ADD_LIBRARY in CMake.

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