summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applets/applets.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-02-06 08:31:13 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-04-15 07:53:16 +0200
commitd1e40dd24427582b0329e6470c21a4e774afb400 (patch)
treeaccbd696faf4680526de90da9970512cd976ee2c /src/core/hle/service/am/applets/applets.h
parentapplets: Remove the previous software keyboard applet implementation (diff)
downloadyuzu-d1e40dd24427582b0329e6470c21a4e774afb400.tar
yuzu-d1e40dd24427582b0329e6470c21a4e774afb400.tar.gz
yuzu-d1e40dd24427582b0329e6470c21a4e774afb400.tar.bz2
yuzu-d1e40dd24427582b0329e6470c21a4e774afb400.tar.lz
yuzu-d1e40dd24427582b0329e6470c21a4e774afb400.tar.xz
yuzu-d1e40dd24427582b0329e6470c21a4e774afb400.tar.zst
yuzu-d1e40dd24427582b0329e6470c21a4e774afb400.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;