| 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 "util/OrxonoxPlatform.h" |
|---|
| 38 | |
|---|
| 39 | #include <string> |
|---|
| 40 | |
|---|
| 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 |
|---|
| 59 | |
|---|
| 60 | |
|---|
| 61 | //----------------------------------------------------------------------- |
|---|
| 62 | // Forward declarations |
|---|
| 63 | //----------------------------------------------------------------------- |
|---|
| 64 | namespace orxonox |
|---|
| 65 | { |
|---|
| 66 | namespace XMLPort |
|---|
| 67 | { |
|---|
| 68 | enum Mode |
|---|
| 69 | { |
|---|
| 70 | LoadObject, |
|---|
| 71 | SaveObject |
|---|
| 72 | }; |
|---|
| 73 | } |
|---|
| 74 | |
|---|
| 75 | namespace KeybindMode |
|---|
| 76 | { |
|---|
| 77 | enum Enum |
|---|
| 78 | { |
|---|
| 79 | OnPress, |
|---|
| 80 | OnHold, |
|---|
| 81 | OnRelease, |
|---|
| 82 | None |
|---|
| 83 | }; |
|---|
| 84 | }; |
|---|
| 85 | |
|---|
| 86 | typedef std::string LanguageEntryLabel; |
|---|
| 87 | |
|---|
| 88 | class ArgumentCompleter; |
|---|
| 89 | class ArgumentCompletionListElement; |
|---|
| 90 | class BaseFactory; |
|---|
| 91 | class BaseMetaObjectListElement; |
|---|
| 92 | class BaseObject; |
|---|
| 93 | template <class T> |
|---|
| 94 | class ClassFactory; |
|---|
| 95 | template <class T> |
|---|
| 96 | class ClassIdentifier; |
|---|
| 97 | class ClassTreeMask; |
|---|
| 98 | class ClassTreeMaskIterator; |
|---|
| 99 | class ClassTreeMaskNode; |
|---|
| 100 | class CommandEvaluation; |
|---|
| 101 | class CommandExecutor; |
|---|
| 102 | class ConfigFile; |
|---|
| 103 | class ConfigFileEntry; |
|---|
| 104 | class ConfigFileEntryComment; |
|---|
| 105 | class ConfigFileEntryValue; |
|---|
| 106 | class ConfigFileManager; |
|---|
| 107 | class ConfigFileSection; |
|---|
| 108 | class ConfigValueContainer; |
|---|
| 109 | class ConsoleCommand; |
|---|
| 110 | class Core; |
|---|
| 111 | class Executor; |
|---|
| 112 | template <class T> |
|---|
| 113 | class ExecutorMember; |
|---|
| 114 | class ExecutorStatic; |
|---|
| 115 | class Factory; |
|---|
| 116 | class Functor; |
|---|
| 117 | template <class T> |
|---|
| 118 | class FunctorMember; |
|---|
| 119 | class FunctorStatic; |
|---|
| 120 | class Identifier; |
|---|
| 121 | class IRC; |
|---|
| 122 | template <class T> |
|---|
| 123 | class Iterator; |
|---|
| 124 | class IteratorBase; |
|---|
| 125 | class Language; |
|---|
| 126 | class LanguageEntry; |
|---|
| 127 | class Level; |
|---|
| 128 | class Loader; |
|---|
| 129 | class MetaObjectList; |
|---|
| 130 | class MetaObjectListElement; |
|---|
| 131 | class Namespace; |
|---|
| 132 | class NamespaceNode; |
|---|
| 133 | template <class T> |
|---|
| 134 | class ObjectList; |
|---|
| 135 | class ObjectListBase; |
|---|
| 136 | class ObjectListBaseElement; |
|---|
| 137 | template <class T> |
|---|
| 138 | class ObjectListElement; |
|---|
| 139 | template <class T> |
|---|
| 140 | class ObjectListIterator; |
|---|
| 141 | class OrxonoxClass; |
|---|
| 142 | class Shell; |
|---|
| 143 | class ShellListener; |
|---|
| 144 | template <class T> |
|---|
| 145 | class SubclassIdentifier; |
|---|
| 146 | class TclBind; |
|---|
| 147 | struct TclInterpreterBundle; |
|---|
| 148 | class TclThreadManager; |
|---|
| 149 | class Tickable; |
|---|
| 150 | template <class T, class O> |
|---|
| 151 | class XMLPortClassObjectContainer; |
|---|
| 152 | template <class T> |
|---|
| 153 | class XMLPortClassParamContainer; |
|---|
| 154 | class XMLPortObjectContainer; |
|---|
| 155 | class XMLPortParamContainer; |
|---|
| 156 | |
|---|
| 157 | // input |
|---|
| 158 | //class GUIInputHandler; |
|---|
| 159 | class BaseCommand; |
|---|
| 160 | class BufferedParamCommand; |
|---|
| 161 | class Button; |
|---|
| 162 | class CalibratorCallback; |
|---|
| 163 | class HalfAxis; |
|---|
| 164 | class InputBuffer; |
|---|
| 165 | class InputManager; |
|---|
| 166 | class JoyStickHandler; |
|---|
| 167 | class MouseHandler; |
|---|
| 168 | class KeyBinder; |
|---|
| 169 | class KeyDetector; |
|---|
| 170 | class KeyHandler; |
|---|
| 171 | class ParamCommand; |
|---|
| 172 | class SimpleCommand; |
|---|
| 173 | } |
|---|
| 174 | |
|---|
| 175 | #endif /* _CorePrereqs_H__ */ |
|---|