diff options
author | Liam <byteslice@airmail.cc> | 2023-03-25 18:29:08 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-03-25 19:49:43 +0100 |
commit | 50a59487eb49baa229d553dd9a3c00aef20f799f (patch) | |
tree | 49ed16c5614ad4772f5183ac7bbbb911ce092c1a /src/core/frontend/applets/software_keyboard.h | |
parent | applets: implement RequestExit (diff) | |
download | yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.gz yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.bz2 yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.lz yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.xz yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.zst yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.zip |
Diffstat (limited to 'src/core/frontend/applets/software_keyboard.h')
-rw-r--r-- | src/core/frontend/applets/software_keyboard.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/frontend/applets/software_keyboard.h b/src/core/frontend/applets/software_keyboard.h index 8aef103d3..8ed96da24 100644 --- a/src/core/frontend/applets/software_keyboard.h +++ b/src/core/frontend/applets/software_keyboard.h @@ -7,6 +7,7 @@ #include "common/common_types.h" +#include "core/frontend/applets/applet.h" #include "core/hle/service/am/applets/applet_software_keyboard_types.h" namespace Core::Frontend { @@ -52,7 +53,7 @@ struct InlineTextParameters { s32 cursor_position; }; -class SoftwareKeyboardApplet { +class SoftwareKeyboardApplet : public Applet { public: using SubmitInlineCallback = std::function<void(Service::AM::Applets::SwkbdReplyType, std::u16string, s32)>; @@ -84,6 +85,8 @@ class DefaultSoftwareKeyboardApplet final : public SoftwareKeyboardApplet { public: ~DefaultSoftwareKeyboardApplet() override; + void Close() const override; + void InitializeKeyboard(bool is_inline, KeyboardInitializeParameters initialize_parameters, SubmitNormalCallback submit_normal_callback_, SubmitInlineCallback submit_inline_callback_) override; |