YSTest: Android.h 源文件

YSTest PreAlpha_b800_20170810 The YSLib Test Project

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

- 文件列表
- 文件成员

Android.h
浏览该文件的文档.
1 /*
2 © 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
29 #ifndef YCL_Android_INC_Android_h_
30 #define YCL_Android_INC_Android_h_ 1
31
32 #include "YCLib/YModules.h"
33 #include YFM_YCLib_Host
34 #if !YCL_Android
35 # error "This file is only for Android."
36 #endif
37
39 struct AConfiguration;
41 struct AInputQueue;
43 struct ALooper;
44
45 namespace platform_ex
46 {
47
52 inline namespace Android
53 {
54
62 class YF_API InputQueue
63 {
64 private:
65 std::reference_wrapper<::AInputQueue> queue_ref;
66
67 public:
68 InputQueue(::ALooper&, ::AInputQueue&);
69 ~InputQueue();
70 };
71
72
79 YF_API ::ALooper&
80 FetchNativeLooper(bool);
81
82 YF_API void
83 TraceConfiguration(::AConfiguration&,
84 platform::Logger::Level = platform::Descriptions::Notice);
85
86 } // inline namespace Android;
87
88 } // namespace platform_ex;
89
90 #endif
91
platform_ex::Android::InputQueue
输入队列。
Definition: Android.h:62
platform::Descriptions::RecordLevel
RecordLevel
记录等级。
Definition: YCommon.h:161
platform_ex::Android::TraceConfiguration
YF_API void TraceConfiguration(::AConfiguration &, platform::Logger::Level=platform::Descriptions::Notice)
platform_ex::Android::FetchNativeLooper
YF_API::ALooper & FetchNativeLooper(bool)
取当前线程的本机消息循环。
YF_API
#define YF_API
Definition: Platform.h:56
YModules.h
platform::Descriptions::Notice
Definition: YCommon.h:168
platform_ex::Android::InputQueue::queue_ref
std::reference_wrapper<::AInputQueue > queue_ref
Definition: Android.h:65
platform_ex
平台扩展命名空间。
Definition: Android.h:45