MGL(Win32)
読み取り中…
検索中…
一致する文字列を見つけられません
mgl_application_module_uikit.h
[詳解]
1// SPDX-License-Identifier: Zlib
2/* ------------------------------------------------------------------------- */
9/* ------------------------------------------------------------------------- */
10
11#ifndef INCGUARD_MGL_APPLICATION_MODULE_UIKIT_H_1614217375
12#define INCGUARD_MGL_APPLICATION_MODULE_UIKIT_H_1614217375
13
14#include <mgl/mgl_environment.h>
15#if defined(MGL_TARGET_IOS) || defined(MGL_TARGET_TVOS)
16
18
19namespace MGL::System
20{
22class UIKitApplicationModule : public CommonApplicationModule
23{
24public:
25 UIKitApplicationModule() noexcept;
26
27 bool Caffeinate(bool isEnabled) noexcept override;
28 [[nodiscard]] bool IsCaffeinated() const noexcept override;
29
30 [[nodiscard]] const ArgumentArray &GetArguments() const noexcept override;
31
32 void Quit() noexcept override;
33
34 /* ------------------------------------------------------------------------- */
40 /* ------------------------------------------------------------------------- */
41 [[nodiscard]] bool IsAvailableQuit() const noexcept override
42 {
43 return false;
44 }
45
46 /* ------------------------------------------------------------------------- */
53 /* ------------------------------------------------------------------------- */
54 bool SetClipboardText([[maybe_unused]] const char *text) noexcept override
55 {
56 return false;
57 }
58
59 /* ------------------------------------------------------------------------- */
66 /* ------------------------------------------------------------------------- */
67 [[nodiscard]] bool GetClipboardText([[maybe_unused]] STL::string &text) noexcept override
68 {
69 return false;
70 }
71
72 /* ------------------------------------------------------------------------- */
78 /* ------------------------------------------------------------------------- */
79 [[nodiscard]] bool IsAvailableClipboard() const noexcept override
80 {
81 return false;
82 }
83
84private:
85 ArgumentArray _argumentArray;
86};
87} // namespace MGL::System
88
89#endif // defined(MGL_TARGET_IOS) || defined(MGL_TARGET_TVOS)
90#endif // INCGUARD_MGL_APPLICATION_MODULE_UIKIT_H_1614217375
91
92// vim: et ts=4 sw=4 sts=4
MGL 共通アプリケーションモジュール
STL::vector< STL::string > ArgumentArray
引数配列の型
Definition mgl_application_module_interface.h:22
MGL 環境定義