YSTest: YGlobal.h 源文件

YSTest PreAlpha_b700_20160611 The YSLib Test Project

- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件

- 文件列表
- 文件成员

YGlobal.h
浏览该文件的文档.
1 /*
2 © 2009-2016 FrankHB.
3
4 This file is part of the YSLib project, and may only be used,
5 modified, and distributed under the terms of the YSLib project
6 license, LICENSE.TXT. By continuing to use, modify, or distribute
7 this file you indicate that you have read the license and
8 understand and accept it fully.
9 */
10
28 #ifndef INC_Helper_YGlobal_h_
29 #define INC_Helper_YGlobal_h_ 1
30
31 #include "YModules.h"
32 #include "../YCLib/YModules.h"
33 #include YFM_YCLib_YCommon
34 #if YCL_Win32
35 # include YFM_Win32_YCLib_MinGW32
36 #elif YCL_Android
37 # include YFM_Android_YCLib_Android
38 #elif YF_Hosted
39 # include YFM_YCLib_Host
40 #endif
41 #include YFM_YSLib_Core_YGDIBase
42 #include YFM_YSLib_Core_YMessageDefinition
43 #include YFM_YSLib_Core_YDevice
44
45 namespace YSLib
46 {
47
54
55
56
57 namespace Drawing
58 {
59 } // namespace Drawing;
60
61 namespace Messaging
62 {
63 } // namespace Messaging;
64
66 namespace UI
67 {
68
69 class Desktop;
70
71 } // namespace UI;
72
74 class Environment;
76 class GUIHost;
77 #if YF_Hosted
78
82 namespace Host
83 {
84
86 class Window;
87 class RenderWindow;
88 class WindowThread;
89 class HostRenderer;
90
95 using platform_ex::Exception;
96
97 } // namespace Host;
98 #endif
99
101 #if YCL_DS
102 namespace DS
103 {
104
105 using namespace platform_ex;
106
107 } // namespace DS;
108 #elif YCL_Win32
109 namespace Windows
111 {
112
113 using namespace platform_ex;
114
115 } // namespace Windows;
116 # if YCL_MinGW
117 namespace MinGW
119 {
120
121 using namespace YSLib::Windows;
122
123 } // namespace MinGW;
124 # endif
125 #elif YCL_Android
126 namespace Android
128 {
129
130 using namespace platform_ex;
131
132 } // namespace Android;
133 #endif
134
136 using UI::Desktop;
137
138 } // namespace YSLib;
139
140 #if YCL_Android
141
145 extern int
146 y_android_main();
147 #endif
148
149 #endif
150
YSLib
YSLib 命名空间。
Definition: AndroidHost.h:45
YSLib::UI::Styles::Window
窗口背景。
Definition: YStyle.h:311
YSLib::UI::Styles::Desktop
桌面背景。
Definition: YStyle.h:310
DS
platform_ex
平台扩展命名空间。
Definition: Android.h:45
Drawing
UI
YSLib::UI::Desktop
桌面。
Definition: YDesktop.h:46
YModules.h