Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

added SmartPtr class

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