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 namespace MyGUI 22 { 23 class Gui; 24 class LogManager; 25 class InputManager; 26 class SubWidgetManager; 27 class LayerManager; 28 class SkinManager; 29 class WidgetManager; 30 class FontManager; 31 class ControllerManager; 32 class PointerManager; 33 class ClipboardManager; 34 class LayoutManager; 35 class PluginManager; 36 class DynLibManager; 37 class LanguageManager; 38 class ResourceManager; 39 class RenderManager; 40 class FactoryManager; 41 class ToolTipManager; 42 43 class Widget; 44 class Button; 45 class Window; 46 class ListBox; 47 class EditBox; 48 class ComboBox; 49 class TextBox; 50 class TabControl; 51 class TabItem; 52 class ProgressBar; 53 class ItemBox; 54 class MultiListBox; 55 class MultiListItem; 56 class ImageBox; 57 class MenuControl; 58 class MenuItem; 59 class PopupMenu; 60 class MenuBar; 61 class ScrollBar; 62 class ScrollView; 63 class DDContainer; 64 class Canvas; 65 66 // Define version 67 #define MYGUI_VERSION_MAJOR 3 68 #define MYGUI_VERSION_MINOR 4 69 #define MYGUI_VERSION_PATCH 0 70 71 #define MYGUI_VERSION MYGUI_DEFINE_VERSION(MYGUI_VERSION_MAJOR, MYGUI_VERSION_MINOR, MYGUI_VERSION_PATCH) 72 73 // Disable warnings for MSVC compiler 74 #if MYGUI_COMPILER == MYGUI_COMPILER_MSVC 75 76 // disable: "<type> needs to have dll-interface to be used by clients' 77 // Happens on STL member variables which are not public therefore is ok 78 # pragma warning (disable : 4251) 79 80 // also some warnings are disabled in CMake 81 82 #endif 83 84 } // namespace MyGUI 85 86 #include "MyGUI_DeprecatedTypes.h" 87 88 #endif // MYGUI_PREREQUEST_H_ 89