MyGUI  3.2.0
MyGUI_Common.h
Go to the documentation of this file.
00001 
00007 /*
00008     This file is part of MyGUI.
00009 
00010     MyGUI is free software: you can redistribute it and/or modify
00011     it under the terms of the GNU Lesser General Public License as published by
00012     the Free Software Foundation, either version 3 of the License, or
00013     (at your option) any later version.
00014 
00015     MyGUI is distributed in the hope that it will be useful,
00016     but WITHOUT ANY WARRANTY; without even the implied warranty of
00017     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018     GNU Lesser General Public License for more details.
00019 
00020     You should have received a copy of the GNU Lesser General Public License
00021     along with MyGUI.  If not, see <http://www.gnu.org/licenses/>.
00022 */
00023 #ifndef __MYGUI_COMMON_H__
00024 #define __MYGUI_COMMON_H__
00025 
00026 #include "MyGUI_Prerequest.h"
00027 
00028 #include <string>
00029 #include <list>
00030 #include <set>
00031 #include <map>
00032 #include <vector>
00033 #include <deque>
00034 #include <exception>
00035 #include <math.h>
00036 
00037 #ifdef MYGUI_CUSTOM_ALLOCATOR
00038 #    include "MyGUI_CustomAllocator.h"
00039 #else // MYGUI_CUSTOM_ALLOCATOR
00040 #    include "MyGUI_Allocator.h"
00041 #endif // MYGUI_CUSTOM_ALLOCATOR
00042 
00043 // этот дефайн для того чтобы в самом гуе показывалось имя файла где вызывается new
00044 #if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
00045 #   ifdef MYGUI_CHECK_MEMORY_LEAKS
00046 #       define DEBUG_NEW new (_NORMAL_BLOCK, __FILE__, __LINE__)
00047 #       define new DEBUG_NEW
00048 #   endif
00049 #endif
00050 
00051 #include "MyGUI_Macros.h"
00052 #include "MyGUI_Diagnostic.h"
00053 #include "MyGUI_LogManager.h"
00054 #include "MyGUI_Singleton.h"
00055 #include "MyGUI_Types.h"
00056 #include "MyGUI_StringUtility.h"
00057 #include "MyGUI_MouseButton.h"
00058 #include "MyGUI_KeyCode.h"
00059 #include "MyGUI_Version.h"
00060 #include "MyGUI_WidgetStyle.h"
00061 #include "MyGUI_UString.h"
00062 #include "MyGUI_Delegate.h"
00063 
00064 #endif // __MYGUI_COMMON_H__