28 #ifndef INC_Helper_Host_h_
29 #define INC_Helper_Host_h_ 1
32 #include YFM_Helper_HostWindow // for Host::Window;
33 #if YF_Multithread == 1
59 map<NativeWindowHandle, Window*> wnd_map;
64 mutable std::mutex wmap_mtx;
65 # if YF_Multithread == 1
71 std::atomic<size_t> wnd_thrd_count;
79 std::atomic<short> RawMouseButton{0};
87 std::atomic<bool> ExitOnAllWindowThreadCompleted{
true};
91 WindowClass window_class;
106 GetForegroundWindow() const
ynothrow;
116 # if YF_Multithread == 1
135 FindWindow(NativeWindowHandle) const
ynothrow;
144 # if YF_Multithread == 1
161 RemoveMappedItem(NativeWindowHandle) ynothrow;
165 UpdateRenderWindows();
#define ynothrow
YSLib 无异常抛出保证:若支持 noexcept 关键字, 指定特定的 noexcept 异常规范。
::ANativeWindow * NativeWindowHandle