Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/input/src/core/CorePrereqs.h @ 1340

Last change on this file since 1340 was 1340, checked in by rgrieder, 16 years ago
  • tried a more object oriented approach for the KeyBinder
  • things work as far as I can tell
  • tested slomo command on joy stick slider: I was able to steer the time factor with the slider.
  • more infos to come..
File size: 3.9 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 "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//-----------------------------------------------------------------------
64class SignalHandler;
65
66namespace orxonox
67{
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
80  namespace KeybindMode
81  {
82    enum Enum
83    {
84      OnPress,
85      OnHold,
86      OnRelease,
87      None
88    };
89  };
90
91  typedef std::string LanguageEntryLabel;
92
93  class BaseFactory;
94  class BaseMetaObjectListElement;
95  class BaseObject;
96  template <class T>
97  class ClassFactory;
98  template <class T>
99  class ClassIdentifier;
100  template <class T>
101  class ClassManager;
102  class ClassTreeMask;
103  class ClassTreeMaskIterator;
104  class ClassTreeMaskNode;
105  class CommandEvaluation;
106  class CommandExecutor;
107  class ConfigFile;
108  class ConfigFileEntry;
109  class ConfigFileEntryComment;
110  class ConfigFileEntryValue;
111  class ConfigFileManager;
112  class ConfigFileSection;
113  class ConfigValueContainer;
114  class CoreSettings;
115  class Error;
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 IdentifierDistributor;
127  template <class T>
128  class Iterator;
129  class Language;
130  class LanguageEntry;
131  class Level;
132  class Loader;
133  class MetaObjectList;
134  template <class T>
135  class MetaObjectListElement;
136  class Namespace;
137  class NamespaceNode;
138  template <class T>
139  class ObjectList;
140  template <class T>
141  class ObjectListElement;
142  class OrxonoxClass;
143  class OutputHandler;
144  class Shell;
145  template <class T>
146  class SubclassIdentifier;
147  class TclBind;
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;
155
156  // input
157  //class GUIInputHandler;
158  class InputBuffer;
159  class InputBufferListener;
160  class InputManager;
161  class JoyStickHandler;
162  class KeyBinder;
163  class KeyHandler;
164  class MouseHandler;
165
166}
167
168#endif /* _CorePrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.