MyGUI  3.2.1
MyGUI_Prerequest.h
Go to the documentation of this file.
00001 /*
00002  * This source file is part of MyGUI. For the latest info, see http://mygui.info/
00003  * Distributed under the MIT License
00004  * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
00005  */
00006 
00007 #ifndef __MYGUI_PREREQUEST_H__
00008 #define __MYGUI_PREREQUEST_H__
00009 
00010 #include "MyGUI_Platform.h"
00011 
00012 #if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
00013 #   ifdef MYGUI_CHECK_MEMORY_LEAKS
00014 #       define _CRTDBG_MAP_ALLOC
00015 #       include <crtdbg.h>
00016 #   endif
00017 #endif
00018 
00019 #define MYGUI_DEFINE_VERSION(major, minor, patch) ((major << 16) | (minor << 8) | patch)
00020 
00021 #ifndef MYGUI_DONT_REPLACE_NULLPTR
00022 #   if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
00023 #       ifndef _MANAGED
00024 #           ifndef _NATIVE_NULLPTR_SUPPORTED
00025 #               define nullptr 0
00026 #           endif
00027 #       endif
00028 #   else
00029 #       define nullptr 0
00030 #   endif
00031 #endif
00032 
00033 namespace MyGUI
00034 {
00035     class Gui;
00036     class LogManager;
00037     class InputManager;
00038     class SubWidgetManager;
00039     class LayerManager;
00040     class SkinManager;
00041     class WidgetManager;
00042     class FontManager;
00043     class ControllerManager;
00044     class PointerManager;
00045     class ClipboardManager;
00046     class LayoutManager;
00047     class PluginManager;
00048     class DynLibManager;
00049     class LanguageManager;
00050     class ResourceManager;
00051     class RenderManager;
00052     class FactoryManager;
00053     class TextureManager;
00054     class ToolTipManager;
00055 
00056     class Widget;
00057     class Button;
00058     class Window;
00059     class ListBox;
00060     class EditBox;
00061     class ComboBox;
00062     class TextBox;
00063     class TabControl;
00064     class TabItem;
00065     class ProgressBar;
00066     class ItemBox;
00067     class MultiListBox;
00068     class MultiListItem;
00069     class ImageBox;
00070     class MenuControl;
00071     class MenuItem;
00072     class PopupMenu;
00073     class MenuBar;
00074     class ScrollBar;
00075     class ScrollView;
00076     class DDContainer;
00077     class Canvas;
00078 
00079     // Define version
00080 #define MYGUI_VERSION_MAJOR 3
00081 #define MYGUI_VERSION_MINOR 2
00082 #define MYGUI_VERSION_PATCH 1
00083 
00084 #define MYGUI_VERSION    MYGUI_DEFINE_VERSION(MYGUI_VERSION_MAJOR, MYGUI_VERSION_MINOR, MYGUI_VERSION_PATCH)
00085 
00086     // Disable warnings for MSVC compiler
00087 #if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
00088 
00089 // disable: "<type> needs to have dll-interface to be used by clients'
00090 // Happens on STL member variables which are not public therefore is ok
00091 #   pragma warning (disable : 4251)
00092 
00093 // also some warnings are disabled in CMake
00094 
00095 #endif
00096 
00097 } // namespace MyGUI
00098 
00099 #include "MyGUI_DeprecatedTypes.h"
00100 
00101 #endif // __MYGUI_PREREQUEST_H__