summaryrefslogtreecommitdiff
path: root/src/core/hle/applets/swkbd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/applets/swkbd.h')
-rw-r--r--src/core/hle/applets/swkbd.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/core/hle/applets/swkbd.h b/src/core/hle/applets/swkbd.h
index ea0b1fba9..cc92a8f19 100644
--- a/src/core/hle/applets/swkbd.h
+++ b/src/core/hle/applets/swkbd.h
@@ -52,14 +52,11 @@ static_assert(sizeof(SoftwareKeyboardConfig) == 0x400, "Software Keyboard Config
52 52
53class SoftwareKeyboard final : public Applet { 53class SoftwareKeyboard final : public Applet {
54public: 54public:
55 SoftwareKeyboard(Service::APT::AppletId id) : Applet(id), started(false) {} 55 SoftwareKeyboard(Service::APT::AppletId id) : Applet(id) {}
56 56
57 ResultCode ReceiveParameter(const Service::APT::MessageParameter& parameter) override; 57 ResultCode ReceiveParameter(const Service::APT::MessageParameter& parameter) override;
58 ResultCode StartImpl(const Service::APT::AppletStartupParameter& parameter) override; 58 ResultCode StartImpl(const Service::APT::AppletStartupParameter& parameter) override;
59 void Update() override; 59 void Update() override;
60 bool IsRunning() const override {
61 return started;
62 }
63 60
64 /** 61 /**
65 * Draws a keyboard to the current bottom screen framebuffer. 62 * Draws a keyboard to the current bottom screen framebuffer.
@@ -72,6 +69,7 @@ public:
72 */ 69 */
73 void Finalize(); 70 void Finalize();
74 71
72private:
75 /// This SharedMemory will be created when we receive the LibAppJustStarted message. 73 /// This SharedMemory will be created when we receive the LibAppJustStarted message.
76 /// It holds the framebuffer info retrieved by the application with 74 /// It holds the framebuffer info retrieved by the application with
77 /// GSPGPU::ImportDisplayCaptureInfo 75 /// GSPGPU::ImportDisplayCaptureInfo
@@ -82,9 +80,6 @@ public:
82 80
83 /// Configuration of this instance of the SoftwareKeyboard, as received from the application 81 /// Configuration of this instance of the SoftwareKeyboard, as received from the application
84 SoftwareKeyboardConfig config; 82 SoftwareKeyboardConfig config;
85
86 /// Whether this applet is currently running instead of the host application or not.
87 bool started;
88}; 83};
89} 84}
90} // namespace 85} // namespace