Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/console/src/core/CorePrereqs.h @ 1341

Last change on this file since 1341 was 1341, checked in by landauf, 16 years ago

big commit, but not much changes in code:

  • put CommandEvaluation into it's own .cc and .h files
  • put some basic ConsoleCommands into ConsoleCommandCompilation.cc and .h
  • created a new class, ConsoleCommand, inheriting from ExecutorStatic, implementing all command-related features that were located in the Executor until now (at the moment only accessLevel_, but more will come - from reto and me)
  • renamed ConsoleCommand-macros to SetConsoleCommand (all related macros were changed the same way)
  • added a new command named "killdelays", that kills all delayed commands. helpful to stop disco ;)
File size: 3.8 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  namespace XMLPort
69  {
70    enum Mode
71    {
72      LoadObject,
73      SaveObject
74    };
75  }
76
77  typedef std::string LanguageEntryLabel;
78
79  class BaseFactory;
80  class BaseMetaObjectListElement;
81  class BaseObject;
82  template <class T>
83  class ClassFactory;
84  template <class T>
85  class ClassIdentifier;
86  template <class T>
87  class ClassManager;
88  class ClassTreeMask;
89  class ClassTreeMaskIterator;
90  class ClassTreeMaskNode;
91  class CommandEvaluation;
92  class CommandExecutor;
93  class ConfigFile;
94  class ConfigFileEntry;
95  class ConfigFileEntryComment;
96  class ConfigFileEntryValue;
97  class ConfigFileManager;
98  class ConfigFileSection;
99  class ConfigValueContainer;
100  class ConsoleCommand;
101  class CoreSettings;
102  class Error;
103  class Executor;
104  template <class T>
105  class ExecutorMember;
106  class ExecutorStatic;
107  class Factory;
108  class Functor;
109  template <class T>
110  class FunctorMember;
111  class FunctorStatic;
112  class Identifier;
113  class IdentifierDistributor;
114  class InputBuffer;
115  class InputBufferListener;
116  class InputHandlerGame;
117  class InputHandlerGUI;
118  class InputManager;
119  class IRC;
120  template <class T>
121  class Iterator;
122  class Language;
123  class LanguageEntry;
124  class Level;
125  class Loader;
126  class MetaObjectList;
127  template <class T>
128  class MetaObjectListElement;
129  class Namespace;
130  class NamespaceNode;
131  template <class T>
132  class ObjectList;
133  template <class T>
134  class ObjectListElement;
135  class OrxonoxClass;
136  class OutputBuffer;
137  class OutputBufferListener;
138  class OutputHandler;
139  class Shell;
140  class ShellListener;
141  template <class T>
142  class SubclassIdentifier;
143  class TclBind;
144  struct TclInterpreterBundle;
145  class TclThreadManager;
146  class Tickable;
147  template <class T, class O>
148  class XMLPortClassObjectContainer;
149  template <class T>
150  class XMLPortClassParamContainer;
151  class XMLPortObjectContainer;
152  class XMLPortParamContainer;
153}
154
155#endif /* _CorePrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.