MyGUI  3.2.0
MyGUI_Common.h
Go to the documentation of this file.
1 
7 /*
8  This file is part of MyGUI.
9 
10  MyGUI is free software: you can redistribute it and/or modify
11  it under the terms of the GNU Lesser General Public License as published by
12  the Free Software Foundation, either version 3 of the License, or
13  (at your option) any later version.
14 
15  MyGUI is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  GNU Lesser General Public License for more details.
19 
20  You should have received a copy of the GNU Lesser General Public License
21  along with MyGUI. If not, see <http://www.gnu.org/licenses/>.
22 */
23 #ifndef __MYGUI_COMMON_H__
24 #define __MYGUI_COMMON_H__
25 
26 #include "MyGUI_Prerequest.h"
27 
28 #include <string>
29 #include <list>
30 #include <set>
31 #include <map>
32 #include <vector>
33 #include <deque>
34 #include <exception>
35 #include <math.h>
36 
37 #ifdef MYGUI_CUSTOM_ALLOCATOR
38 # include "MyGUI_CustomAllocator.h"
39 #else // MYGUI_CUSTOM_ALLOCATOR
40 # include "MyGUI_Allocator.h"
41 #endif // MYGUI_CUSTOM_ALLOCATOR
42 
43 // этот дефайн для того чтобы в самом гуе показывалось имя файла где вызывается new
44 #if MYGUI_COMPILER == MYGUI_COMPILER_MSVC
45 # ifdef MYGUI_CHECK_MEMORY_LEAKS
46 # define DEBUG_NEW new (_NORMAL_BLOCK, __FILE__, __LINE__)
47 # define new DEBUG_NEW
48 # endif
49 #endif
50 
51 #include "MyGUI_Macros.h"
52 #include "MyGUI_Diagnostic.h"
53 #include "MyGUI_LogManager.h"
54 #include "MyGUI_Singleton.h"
55 #include "MyGUI_Types.h"
56 #include "MyGUI_StringUtility.h"
57 #include "MyGUI_MouseButton.h"
58 #include "MyGUI_KeyCode.h"
59 #include "MyGUI_Version.h"
60 #include "MyGUI_WidgetStyle.h"
61 #include "MyGUI_UString.h"
62 #include "MyGUI_Delegate.h"
63 
64 #endif // __MYGUI_COMMON_H__