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.cpp | |
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.cpp')
-rw-r--r-- | src/core/hle/service/am/applets/general_backend.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/core/hle/service/am/applets/general_backend.cpp b/src/core/hle/service/am/applets/general_backend.cpp index 4d1df5cbe..71016cce7 100644 --- a/src/core/hle/service/am/applets/general_backend.cpp +++ b/src/core/hle/service/am/applets/general_backend.cpp @@ -37,8 +37,9 @@ static void LogCurrentStorage(AppletDataBroker& broker, std::string_view prefix) } } -Auth::Auth(Core::System& system_, Core::Frontend::ParentalControlsApplet& frontend_) - : Applet{system_.Kernel()}, frontend{frontend_}, system{system_} {} +Auth::Auth(Core::System& system_, LibraryAppletMode applet_mode_, + Core::Frontend::ParentalControlsApplet& frontend_) + : Applet{system_.Kernel()}, applet_mode{applet_mode_}, frontend{frontend_}, system{system_} {} Auth::~Auth() = default; @@ -152,8 +153,9 @@ void Auth::AuthFinished(bool is_successful) { broker.SignalStateChanged(); } -PhotoViewer::PhotoViewer(Core::System& system_, const Core::Frontend::PhotoViewerApplet& frontend_) - : Applet{system_.Kernel()}, frontend{frontend_}, system{system_} {} +PhotoViewer::PhotoViewer(Core::System& system_, LibraryAppletMode applet_mode_, + const Core::Frontend::PhotoViewerApplet& frontend_) + : Applet{system_.Kernel()}, applet_mode{applet_mode_}, frontend{frontend_}, system{system_} {} PhotoViewer::~PhotoViewer() = default; @@ -202,8 +204,8 @@ void PhotoViewer::ViewFinished() { broker.SignalStateChanged(); } -StubApplet::StubApplet(Core::System& system_, AppletId id_) - : Applet{system_.Kernel()}, id{id_}, system{system_} {} +StubApplet::StubApplet(Core::System& system_, AppletId id_, LibraryAppletMode applet_mode_) + : Applet{system_.Kernel()}, id{id_}, applet_mode{applet_mode_}, system{system_} {} StubApplet::~StubApplet() = default; |