diff options
author | bunnei <bunneidev@gmail.com> | 2021-04-17 08:03:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-17 08:03:23 +0200 |
commit | d5c1f3929c3348691bda405dd2a4248773d02f2d (patch) | |
tree | 271ec5aceff2eab8214a06db0f33b0afac217f86 /src/core/hle/service/am/applets/general_backend.h | |
parent | Merge pull request #6201 from bunnei/remove-bintray (diff) | |
parent | applets/swkbd: Implement the Qt Software Keyboard frontend (diff) | |
download | yuzu-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 'src/core/hle/service/am/applets/general_backend.h')
-rw-r--r-- | src/core/hle/service/am/applets/general_backend.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/core/hle/service/am/applets/general_backend.h b/src/core/hle/service/am/applets/general_backend.h index ba76ae3d3..d9e6d4384 100644 --- a/src/core/hle/service/am/applets/general_backend.h +++ b/src/core/hle/service/am/applets/general_backend.h @@ -20,7 +20,8 @@ enum class AuthAppletType : u32 { class Auth final : public Applet { public: - explicit Auth(Core::System& system_, Core::Frontend::ParentalControlsApplet& frontend_); + explicit Auth(Core::System& system_, LibraryAppletMode applet_mode_, + Core::Frontend::ParentalControlsApplet& frontend_); ~Auth() override; void Initialize() override; @@ -32,6 +33,7 @@ public: void AuthFinished(bool is_successful = true); private: + LibraryAppletMode applet_mode; Core::Frontend::ParentalControlsApplet& frontend; Core::System& system; bool complete = false; @@ -50,7 +52,8 @@ enum class PhotoViewerAppletMode : u8 { class PhotoViewer final : public Applet { public: - explicit PhotoViewer(Core::System& system_, const Core::Frontend::PhotoViewerApplet& frontend_); + explicit PhotoViewer(Core::System& system_, LibraryAppletMode applet_mode_, + const Core::Frontend::PhotoViewerApplet& frontend_); ~PhotoViewer() override; void Initialize() override; @@ -62,6 +65,7 @@ public: void ViewFinished(); private: + LibraryAppletMode applet_mode; const Core::Frontend::PhotoViewerApplet& frontend; bool complete = false; PhotoViewerAppletMode mode = PhotoViewerAppletMode::CurrentApp; @@ -70,7 +74,7 @@ private: class StubApplet final : public Applet { public: - explicit StubApplet(Core::System& system_, AppletId id_); + explicit StubApplet(Core::System& system_, AppletId id_, LibraryAppletMode applet_mode_); ~StubApplet() override; void Initialize() override; @@ -82,6 +86,7 @@ public: private: AppletId id; + LibraryAppletMode applet_mode; Core::System& system; }; |