summaryrefslogtreecommitdiffstats
path: root/src/core/hle/applets/swkbd.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-05-26 18:00:26 +0200
committerSubv <subv2112@gmail.com>2015-07-12 04:47:23 +0200
commit621ee10eae0546d4ec3f9e911e113aa9ee609c22 (patch)
treeadfdc1cf9ae7e9ac9a5cf9950a91bbcfeb6cd552 /src/core/hle/applets/swkbd.h
parentHLE/APT: Initial HLE support for applets. (diff)
downloadyuzu-621ee10eae0546d4ec3f9e911e113aa9ee609c22.tar
yuzu-621ee10eae0546d4ec3f9e911e113aa9ee609c22.tar.gz
yuzu-621ee10eae0546d4ec3f9e911e113aa9ee609c22.tar.bz2
yuzu-621ee10eae0546d4ec3f9e911e113aa9ee609c22.tar.lz
yuzu-621ee10eae0546d4ec3f9e911e113aa9ee609c22.tar.xz
yuzu-621ee10eae0546d4ec3f9e911e113aa9ee609c22.tar.zst
yuzu-621ee10eae0546d4ec3f9e911e113aa9ee609c22.zip
Diffstat (limited to 'src/core/hle/applets/swkbd.h')
-rw-r--r--src/core/hle/applets/swkbd.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/hle/applets/swkbd.h b/src/core/hle/applets/swkbd.h
index d7199690c..5970390c6 100644
--- a/src/core/hle/applets/swkbd.h
+++ b/src/core/hle/applets/swkbd.h
@@ -51,6 +51,19 @@ public:
ResultCode ReceiveParameter(Service::APT::MessageParameter const& parameter) override;
ResultCode Start(Service::APT::AppletStartupParameter const& parameter) override;
+ void Update() override;
+ bool IsRunning() override { return started; }
+
+ /**
+ * Draws a keyboard to the current bottom screen framebuffer.
+ */
+ void DrawScreenKeyboard();
+
+ /**
+ * Sends the LibAppletClosing signal to the application,
+ * along with the relevant data buffers.
+ */
+ void Finalize();
/// TODO(Subv): Find out what this is actually used for.
// It is believed that the application stores the current screen image here.
@@ -61,6 +74,9 @@ 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;
};
}