MyGUI 3.2.2

MyGUI_Prerequest.h
Go to the documentation of this file.
1 /*
2 * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3 * Distributed under the MIT License
4 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5 */
6
7 #ifndef MYGUI_PREREQUEST_H_
8 #define MYGUI_PREREQUEST_H_
9
10 #include "MyGUI_Platform.h"
11
12 #if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
13 # ifdef MYGUI_CHECK_MEMORY_LEAKS
14 # define _CRTDBG_MAP_ALLOC
15 # include <crtdbg.h>
16 # endif
17 #endif
18
19 #define MYGUI_DEFINE_VERSION(major, minor, patch) ((major << 16) | (minor << 8) | patch)
20
21 #ifndef MYGUI_DONT_REPLACE_NULLPTR
22 # if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
23 # ifndef _MANAGED
24 # ifndef _NATIVE_NULLPTR_SUPPORTED
25 # define nullptr 0
26 # endif
27 # endif
28 # else
29 # define nullptr 0
30 # endif
31 #endif
32
33 namespace MyGUI
34 {
35 class Gui;
36 class LogManager;
37 class InputManager;
38 class SubWidgetManager;
39 class LayerManager;
40 class SkinManager;
41 class WidgetManager;
42 class FontManager;
43 class ControllerManager;
44 class PointerManager;
45 class ClipboardManager;
46 class LayoutManager;
47 class PluginManager;
48 class DynLibManager;
49 class LanguageManager;
50 class ResourceManager;
51 class RenderManager;
52 class FactoryManager;
53 class TextureManager;
54 class ToolTipManager;
55
56 class Widget;
57 class Button;
58 class Window;
59 class ListBox;
60 class EditBox;
61 class ComboBox;
62 class TextBox;
63 class TabControl;
64 class TabItem;
65 class ProgressBar;
66 class ItemBox;
67 class MultiListBox;
68 class MultiListItem;
69 class ImageBox;
70 class MenuControl;
71 class MenuItem;
72 class PopupMenu;
73 class MenuBar;
74 class ScrollBar;
75 class ScrollView;
76 class DDContainer;
77 class Canvas;
78
79 // Define version
80 #define MYGUI_VERSION_MAJOR 3
81 #define MYGUI_VERSION_MINOR 2
82 #define MYGUI_VERSION_PATCH 2
83
84 #define MYGUI_VERSION MYGUI_DEFINE_VERSION(MYGUI_VERSION_MAJOR, MYGUI_VERSION_MINOR, MYGUI_VERSION_PATCH)
85
86 // Disable warnings for MSVC compiler
87 #if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
88
89 // disable: "<type> needs to have dll-interface to be used by clients'
90 // Happens on STL member variables which are not public therefore is ok
91 # pragma warning (disable : 4251)
92
93 // also some warnings are disabled in CMake
94
95 #endif
96
97 } // namespace MyGUI
98
99 #include "MyGUI_DeprecatedTypes.h"
100
101 #endif // MYGUI_PREREQUEST_H_
MyGUI_Platform.h
MyGUI_DeprecatedTypes.h
MyGUI
Definition: MyGUI_ActionController.h:14