| 1 | /* | 
|---|
| 2 |  *   ORXONOX - the hottest 3D action shooter ever to exist | 
|---|
| 3 |  * | 
|---|
| 4 |  * | 
|---|
| 5 |  *   License notice: | 
|---|
| 6 |  * | 
|---|
| 7 |  *   This program is free software; you can redistribute it and/or | 
|---|
| 8 |  *   modify it under the terms of the GNU General Public License | 
|---|
| 9 |  *   as published by the Free Software Foundation; either version 2 | 
|---|
| 10 |  *   of the License, or (at your option) any later version. | 
|---|
| 11 |  * | 
|---|
| 12 |  *   This program is distributed in the hope that it will be useful, | 
|---|
| 13 |  *   but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 14 |  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|---|
| 15 |  *   GNU General Public License for more details. | 
|---|
| 16 |  * | 
|---|
| 17 |  *   You should have received a copy of the GNU General Public License | 
|---|
| 18 |  *   along with this program; if not, write to the Free Software | 
|---|
| 19 |  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA. | 
|---|
| 20 |  * | 
|---|
| 21 |  *   Author: | 
|---|
| 22 |  *      Reto Grieder | 
|---|
| 23 |  *   Co-authors: | 
|---|
| 24 |  *      ... | 
|---|
| 25 |  * | 
|---|
| 26 |  */ | 
|---|
| 27 |  | 
|---|
| 28 | /** | 
|---|
| 29 |     @file  CorePrereq.h | 
|---|
| 30 |     @brief Contains all the necessary forward declarations for all classes, structs and enums. | 
|---|
| 31 | */ | 
|---|
| 32 |  | 
|---|
| 33 | #ifndef _CorePrereqs_H__ | 
|---|
| 34 | #define _CorePrereqs_H__ | 
|---|
| 35 |  | 
|---|
| 36 | #include <string> | 
|---|
| 37 |  | 
|---|
| 38 | #include "orxonox/OrxonoxPlatform.h" | 
|---|
| 39 |  | 
|---|
| 40 | //----------------------------------------------------------------------- | 
|---|
| 41 | // Shared library settings | 
|---|
| 42 | //----------------------------------------------------------------------- | 
|---|
| 43 | #if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !defined( CORE_STATIC_BUILD ) | 
|---|
| 44 | #  ifdef CORE_SHARED_BUILD | 
|---|
| 45 | #    define _CoreExport __declspec(dllexport) | 
|---|
| 46 | #  else | 
|---|
| 47 | #    if defined( __MINGW32__ ) | 
|---|
| 48 | #      define _CoreExport | 
|---|
| 49 | #    else | 
|---|
| 50 | #      define _CoreExport __declspec(dllimport) | 
|---|
| 51 | #    endif | 
|---|
| 52 | #  endif | 
|---|
| 53 | #elif defined ( ORXONOX_GCC_VISIBILITY ) | 
|---|
| 54 | #  define _CoreExport  __attribute__ ((visibility("default"))) | 
|---|
| 55 | #else | 
|---|
| 56 | #  define _CoreExport | 
|---|
| 57 | #endif | 
|---|
| 58 |  | 
|---|
| 59 |  | 
|---|
| 60 | //----------------------------------------------------------------------- | 
|---|
| 61 | // Forward declarations | 
|---|
| 62 | //----------------------------------------------------------------------- | 
|---|
| 63 | class SignalHandler; | 
|---|
| 64 |  | 
|---|
| 65 | namespace orxonox | 
|---|
| 66 | { | 
|---|
| 67 |   typedef std::string LanguageEntryLabel; | 
|---|
| 68 |  | 
|---|
| 69 |   class ArgReader; | 
|---|
| 70 |   class BaseFactory; | 
|---|
| 71 |   class BaseMetaObjectListElement; | 
|---|
| 72 |   template <class T> | 
|---|
| 73 |   class ClassFactory; | 
|---|
| 74 |   template <class T> | 
|---|
| 75 |   class ClassIdentifier; | 
|---|
| 76 |   template <class T> | 
|---|
| 77 |   class ClassManager; | 
|---|
| 78 |   class ClassTreeMask; | 
|---|
| 79 |   class ClassTreeMaskIterator; | 
|---|
| 80 |   class ClassTreeMaskNode; | 
|---|
| 81 |   class ConfigValueContainer; | 
|---|
| 82 |   class DebugLevel; | 
|---|
| 83 |   class Error; | 
|---|
| 84 |   class Executor; | 
|---|
| 85 |   class Factory; | 
|---|
| 86 |   class Identifier; | 
|---|
| 87 |   class IdentifierDistributor; | 
|---|
| 88 |   template <class T> | 
|---|
| 89 |   class Iterator; | 
|---|
| 90 |   class Language; | 
|---|
| 91 |   class LanguageEntry; | 
|---|
| 92 |   class Level; | 
|---|
| 93 |   class Loader; | 
|---|
| 94 |   class MetaObjectList; | 
|---|
| 95 |   template <class T> | 
|---|
| 96 |   class MetaObjectListElement; | 
|---|
| 97 |   template <class T> | 
|---|
| 98 |   class ObjectList; | 
|---|
| 99 |   template <class T> | 
|---|
| 100 |   class ObjectListElement; | 
|---|
| 101 |   class OrxonoxClass; | 
|---|
| 102 |   class OutputHandler; | 
|---|
| 103 |   template <class T> | 
|---|
| 104 |   class SubclassIdentifier; | 
|---|
| 105 |   template <class T, class O> | 
|---|
| 106 |   class XMLPortClassObjectContainer; | 
|---|
| 107 |   template <class T> | 
|---|
| 108 |   class XMLPortClassParamContainer; | 
|---|
| 109 |   class XMLPortObjectContainer; | 
|---|
| 110 |   class XMLPortParamContainer; | 
|---|
| 111 | } | 
|---|
| 112 |  | 
|---|
| 113 | #endif /* _CorePrereqs_H__ */ | 
|---|