YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
yglobal.h
浏览该文件的文档.
1 /*
2  © 2009-2014 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_MinGW32_YCLib_MinGW32
36 #elif YCL_Android
37 # include YFM_Android_YCLib_Android
38 #endif
39 #include YFM_YSLib_Core_YGDIBase
40 #include YFM_YSLib_Core_YMessageDefinition
41 #include YFM_YSLib_Core_YDevice
42 
43 namespace YSLib
44 {
45 
52 
53 
54 
55 //前向声明。
56 namespace Drawing
57 {
58 } // namespace Drawing;
59 
60 namespace Messaging
61 {
62 } // namespace Messaging;
63 
65 namespace UI
66 {
67 class Desktop;
68 } // namespace UI;
69 
70 #if YF_Hosted
71 
75 namespace Host
76 {
78 class Environment;
79 class Window;
80 class RenderWindow;
81 class WindowThread;
82 class HostRenderer;
83 class Environment;
84 
90 
91 } // namespace Host;
92 #endif
93 
95 #if YCL_DS
96 namespace DS
97 {
98 
99 using namespace platform_ex;
100 
101 } // namespace DS;
102 #elif YCL_Win32
103 namespace MinGW32
105 {
106 
107 using namespace platform_ex;
108 
109 } // namespace MinGW32;
110 #elif YCL_Android
111 namespace Android
113 {
114 
115 using namespace platform_ex;
116 
117 } // namespace Android;
118 #endif
119 
121 using UI::Desktop;
122 
123 } // namespace YSLib;
124 
125 #if YCL_Android
126 
130 extern "C" void
131 y_android_main();
132 #endif
133 
134 #endif
135 
窗口背景。
Definition: ystyle.h:182
std::exception Exception
YSLib 异常基类。
Definition: yexcept.h:44
桌面。
Definition: ydesktop.h:46
桌面背景。
Definition: ystyle.h:181