[682] | 1 | /* |
---|
| 2 | * ORXONOX - the hottest 3D action shooter ever to exist |
---|
[1056] | 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 | |
---|
[1062] | 37 | #include "OrxonoxPlatform.h" |
---|
| 38 | |
---|
[1024] | 39 | #include <string> |
---|
[682] | 40 | |
---|
[728] | 41 | //----------------------------------------------------------------------- |
---|
| 42 | // Shared library settings |
---|
| 43 | //----------------------------------------------------------------------- |
---|
| 44 | #if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !defined( CORE_STATIC_BUILD ) |
---|
| 45 | # ifdef CORE_SHARED_BUILD |
---|
| 46 | # define _CoreExport __declspec(dllexport) |
---|
| 47 | # else |
---|
| 48 | # if defined( __MINGW32__ ) |
---|
| 49 | # define _CoreExport |
---|
| 50 | # else |
---|
| 51 | # define _CoreExport __declspec(dllimport) |
---|
| 52 | # endif |
---|
| 53 | # endif |
---|
| 54 | #elif defined ( ORXONOX_GCC_VISIBILITY ) |
---|
| 55 | # define _CoreExport __attribute__ ((visibility("default"))) |
---|
| 56 | #else |
---|
| 57 | # define _CoreExport |
---|
| 58 | #endif |
---|
[682] | 59 | |
---|
[728] | 60 | |
---|
[682] | 61 | //----------------------------------------------------------------------- |
---|
[728] | 62 | // Forward declarations |
---|
| 63 | //----------------------------------------------------------------------- |
---|
[682] | 64 | class SignalHandler; |
---|
| 65 | |
---|
[728] | 66 | namespace orxonox |
---|
[684] | 67 | { |
---|
[1052] | 68 | #ifndef _XMLPort_Mode__ |
---|
| 69 | #define _XMLPort_Mode__ |
---|
| 70 | namespace XMLPort |
---|
| 71 | { |
---|
| 72 | enum Mode |
---|
| 73 | { |
---|
| 74 | LoadObject, |
---|
| 75 | SaveObject |
---|
| 76 | }; |
---|
| 77 | } |
---|
| 78 | #endif |
---|
| 79 | |
---|
[1349] | 80 | namespace KeybindMode |
---|
| 81 | { |
---|
| 82 | enum Enum |
---|
| 83 | { |
---|
| 84 | OnPress, |
---|
| 85 | OnHold, |
---|
| 86 | OnRelease, |
---|
| 87 | None |
---|
| 88 | }; |
---|
| 89 | }; |
---|
| 90 | |
---|
[1024] | 91 | typedef std::string LanguageEntryLabel; |
---|
| 92 | |
---|
[682] | 93 | class BaseFactory; |
---|
| 94 | class BaseMetaObjectListElement; |
---|
[1024] | 95 | class BaseObject; |
---|
[682] | 96 | template <class T> |
---|
| 97 | class ClassFactory; |
---|
| 98 | template <class T> |
---|
[1024] | 99 | class ClassIdentifier; |
---|
| 100 | template <class T> |
---|
| 101 | class ClassManager; |
---|
[871] | 102 | class ClassTreeMask; |
---|
[1024] | 103 | class ClassTreeMaskIterator; |
---|
| 104 | class ClassTreeMaskNode; |
---|
[1052] | 105 | class CommandEvaluation; |
---|
| 106 | class CommandExecutor; |
---|
| 107 | class ConfigFile; |
---|
| 108 | class ConfigFileEntry; |
---|
| 109 | class ConfigFileEntryComment; |
---|
| 110 | class ConfigFileEntryValue; |
---|
| 111 | class ConfigFileManager; |
---|
| 112 | class ConfigFileSection; |
---|
[682] | 113 | class ConfigValueContainer; |
---|
[1052] | 114 | class CoreSettings; |
---|
[1024] | 115 | class Error; |
---|
| 116 | class Executor; |
---|
[1052] | 117 | template <class T> |
---|
| 118 | class ExecutorMember; |
---|
| 119 | class ExecutorStatic; |
---|
[1024] | 120 | class Factory; |
---|
[1052] | 121 | class Functor; |
---|
| 122 | template <class T> |
---|
| 123 | class FunctorMember; |
---|
| 124 | class FunctorStatic; |
---|
[1024] | 125 | class Identifier; |
---|
[871] | 126 | class IdentifierDistributor; |
---|
[682] | 127 | template <class T> |
---|
[728] | 128 | class Iterator; |
---|
| 129 | class Language; |
---|
[1024] | 130 | class LanguageEntry; |
---|
| 131 | class Level; |
---|
| 132 | class Loader; |
---|
[682] | 133 | class MetaObjectList; |
---|
| 134 | template <class T> |
---|
| 135 | class MetaObjectListElement; |
---|
[1052] | 136 | class Namespace; |
---|
| 137 | class NamespaceNode; |
---|
[682] | 138 | template <class T> |
---|
| 139 | class ObjectList; |
---|
| 140 | template <class T> |
---|
| 141 | class ObjectListElement; |
---|
[728] | 142 | class OrxonoxClass; |
---|
[684] | 143 | class OutputHandler; |
---|
[1052] | 144 | class Shell; |
---|
[682] | 145 | template <class T> |
---|
[1214] | 146 | class SubclassIdentifier; |
---|
| 147 | class TclBind; |
---|
[1024] | 148 | class Tickable; |
---|
| 149 | template <class T, class O> |
---|
| 150 | class XMLPortClassObjectContainer; |
---|
| 151 | template <class T> |
---|
| 152 | class XMLPortClassParamContainer; |
---|
| 153 | class XMLPortObjectContainer; |
---|
| 154 | class XMLPortParamContainer; |
---|
[1219] | 155 | |
---|
| 156 | // input |
---|
[1293] | 157 | //class GUIInputHandler; |
---|
[1219] | 158 | class InputBuffer; |
---|
| 159 | class InputBufferListener; |
---|
| 160 | class InputManager; |
---|
[1293] | 161 | class JoyStickHandler; |
---|
[1219] | 162 | class KeyBinder; |
---|
| 163 | class KeyHandler; |
---|
| 164 | class MouseHandler; |
---|
| 165 | |
---|
[682] | 166 | } |
---|
| 167 | |
---|
| 168 | #endif /* _CorePrereqs_H__ */ |
---|