diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-08 07:36:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-08 07:36:40 +0100 |
commit | bc48e2bda6012b578748608e093d4f9e25b191cd (patch) | |
tree | 7ab11cf2244d87e8a05c9a316573b910b3054d7c /src/core/hle/applets/swkbd.h | |
parent | Merge pull request #2282 from lioncash/svc (diff) | |
parent | applet: Move common IsRunning underlying variable to the Applet class (diff) | |
download | yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.tar yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.tar.gz yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.tar.bz2 yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.tar.lz yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.tar.xz yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.tar.zst yuzu-bc48e2bda6012b578748608e093d4f9e25b191cd.zip |
Diffstat (limited to 'src/core/hle/applets/swkbd.h')
-rw-r--r-- | src/core/hle/applets/swkbd.h | 9 |
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 class SoftwareKeyboard final : public Applet { public: - SoftwareKeyboard(Service::APT::AppletId id) : Applet(id), started(false) {} + SoftwareKeyboard(Service::APT::AppletId id) : Applet(id) {} ResultCode ReceiveParameter(const Service::APT::MessageParameter& parameter) override; ResultCode StartImpl(const Service::APT::AppletStartupParameter& parameter) override; void Update() override; - bool IsRunning() const override { - return started; - } /** * Draws a keyboard to the current bottom screen framebuffer. @@ -72,6 +69,7 @@ public: */ void Finalize(); +private: /// This SharedMemory will be created when we receive the LibAppJustStarted message. /// It holds the framebuffer info retrieved by the application with /// GSPGPU::ImportDisplayCaptureInfo @@ -82,9 +80,6 @@ public: /// Configuration of this instance of the SoftwareKeyboard, as received from the application SoftwareKeyboardConfig config; - - /// Whether this applet is currently running instead of the host application or not. - bool started; }; } } // namespace |