Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/core/CorePrereqs.h @ 3251

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

Merged pch branch back to trunk.

  • Property svn:eol-style set to native
File size: 5.6 KB
RevLine 
[682]1/*
2 *   ORXONOX - the hottest 3D action shooter ever to exist
[1502]3 *                    > www.orxonox.net <
[682]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/**
[1024]30  @file
31  @brief Contains all the necessary forward declarations for all classes and structs.
[871]32*/
[682]33
34#ifndef _CorePrereqs_H__
35#define _CorePrereqs_H__
36
[2710]37#include "OrxonoxConfig.h"
[1062]38
[728]39//-----------------------------------------------------------------------
40// Shared library settings
41//-----------------------------------------------------------------------
[2710]42#if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( CORE_STATIC_BUILD )
[728]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
[682]57
[728]58
[682]59//-----------------------------------------------------------------------
[728]60// Forward declarations
61//-----------------------------------------------------------------------
62namespace orxonox
[684]63{
[3196]64    namespace XMLPort
[1052]65    {
[3196]66        enum Mode
67        {
68            LoadObject,
69            SaveObject,
70            ExpandObject
71        };
72    }
[1052]73
[3196]74    namespace KeybindMode
[1502]75    {
[3196]76        enum Enum
77        {
78            OnPress,
79            OnHold,
80            OnRelease,
81            None
82        };
[1502]83    };
[1349]84
[3196]85    typedef std::string LanguageEntryLabel;
[1024]86
[3196]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 Identifier;
126    class IRC;
127    template <class T>
128    class Iterator;
129    class IteratorBase;
130    class Language;
131    class LanguageEntry;
132    class Loader;
133    class LuaBind;
134    class MetaObjectList;
135    class MetaObjectListElement;
136    class Namespace;
137    class NamespaceNode;
138    template <class T>
139    class ObjectList;
140    class ObjectListBase;
141    class ObjectListBaseElement;
142    template <class T>
143    class ObjectListElement;
144    template <class T>
145    class ObjectListIterator;
146    class OrxonoxClass;
147    class Shell;
148    class ShellListener;
149    template <class T>
150    class SubclassIdentifier;
151    class TclBind;
152    struct TclInterpreterBundle;
153    class TclThreadManager;
154    class Template;
155    class Tickable;
156    class XMLFile;
157    class XMLNameListener;
158    template <class T, class O>
159    class XMLPortClassObjectContainer;
160    template <class T>
161    class XMLPortClassParamContainer;
162    class XMLPortObjectContainer;
163    class XMLPortParamContainer;
[1219]164
[3196]165    // game states
166    class Game;
167    class GameState;
168    struct GameStateTreeNode;
[1755]169
[3196]170    // input
171    class BaseCommand;
172    class BufferedParamCommand;
173    class Button;
174    class CalibratorCallback;
175    class ExtendedInputState;
176    class HalfAxis;
177    class InputBuffer;
178    class InputManager;
179    class InputState;
180    class JoyStickHandler;
181    class MouseHandler;
182    class KeyBinder;
183    class KeyDetector;
184    class KeyHandler;
185    class ParamCommand;
186    class SimpleCommand;
187    class SimpleInputState;
[682]188}
189
[3196]190// CppTcl
191namespace Tcl
192{
193    class interpreter;
194    class object;
195}
196
197// Boost
198namespace boost { namespace filesystem
199{
200    struct path_traits;
201    template <class String, class Traits> class basic_path;
202    typedef basic_path<std::string, path_traits> path;
203} }
204
205// TinyXML and TinyXML++
206class TiXmlString;
207class TiXmlOutStream;
208class TiXmlNode;
209class TiXmlHandle;
210class TiXmlDocument;
211class TiXmlElement;
212class TiXmlComment;
213class TiXmlUnknown;
214class TiXmlAttribute;
215class TiXmlText;
216class TiXmlDeclaration;
217class TiXmlParsingData;
218namespace ticpp
219{
220    class Document;
221    class Element;
222    class Declaration;
223    class StylesheetReference;
224    class Text;
225    class Comment;
226    class Attribute;
227}
228namespace orxonox
229{
230    using ticpp::Document;
231    using ticpp::Element;
232    using ticpp::Declaration;
233    using ticpp::StylesheetReference;
234    using ticpp::Text;
235    using ticpp::Comment;
236    using ticpp::Attribute;
237}
238
239
[682]240#endif /* _CorePrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.