Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/resource2/src/core/CorePrereqs.h @ 5653

Last change on this file since 5653 was 5653, checked in by rgrieder, 15 years ago

Added class to handle handle resources more easily via Ogre::ResourceGroupManager.
And modified the XMLFile to store the resource group as well.

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