summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applets/applets.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-17 08:03:23 +0200
committerGitHub <noreply@github.com>2021-04-17 08:03:23 +0200
commitd5c1f3929c3348691bda405dd2a4248773d02f2d (patch)
tree271ec5aceff2eab8214a06db0f33b0afac217f86 /src/core/hle/service/am/applets/applets.h
parentMerge pull request #6201 from bunnei/remove-bintray (diff)
parentapplets/swkbd: Implement the Qt Software Keyboard frontend (diff)
downloadyuzu-d5c1f3929c3348691bda405dd2a4248773d02f2d.tar
yuzu-d5c1f3929c3348691bda405dd2a4248773d02f2d.tar.gz
yuzu-d5c1f3929c3348691bda405dd2a4248773d02f2d.tar.bz2
yuzu-d5c1f3929c3348691bda405dd2a4248773d02f2d.tar.lz
yuzu-d5c1f3929c3348691bda405dd2a4248773d02f2d.tar.xz
yuzu-d5c1f3929c3348691bda405dd2a4248773d02f2d.tar.zst
yuzu-d5c1f3929c3348691bda405dd2a4248773d02f2d.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/am/applets/applets.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/hle/service/am/applets/applets.h b/src/core/hle/service/am/applets/applets.h
index b9a006317..26b482015 100644
--- a/src/core/hle/service/am/applets/applets.h
+++ b/src/core/hle/service/am/applets/applets.h
@@ -62,6 +62,14 @@ enum class AppletId : u32 {
MyPage = 0x1A,
};
+enum class LibraryAppletMode : u32 {
+ AllForeground = 0,
+ Background = 1,
+ NoUI = 2,
+ BackgroundIndirectDisplay = 3,
+ AllForegroundInitiallyHidden = 4,
+};
+
class AppletDataBroker final {
public:
explicit AppletDataBroker(Kernel::KernelCore& kernel_);
@@ -200,7 +208,7 @@ public:
void SetDefaultAppletsIfMissing();
void ClearAll();
- std::shared_ptr<Applet> GetApplet(AppletId id) const;
+ std::shared_ptr<Applet> GetApplet(AppletId id, LibraryAppletMode mode) const;
private:
AppletFrontendSet frontend;