summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applets/general_backend.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-11 06:53:55 +0200
committerLioncash <mathew1800@gmail.com>2019-09-05 02:38:43 +0200
commitd1abe8e92afd6d03324af5733660aca2a77f134b (patch)
treeb7808fa1ae513e46f03ac878c27d9a2455cd1e9f /src/core/hle/service/am/applets/general_backend.h
parentMerge pull request #2830 from FearlessTobi/port-4911 (diff)
downloadyuzu-d1abe8e92afd6d03324af5733660aca2a77f134b.tar
yuzu-d1abe8e92afd6d03324af5733660aca2a77f134b.tar.gz
yuzu-d1abe8e92afd6d03324af5733660aca2a77f134b.tar.bz2
yuzu-d1abe8e92afd6d03324af5733660aca2a77f134b.tar.lz
yuzu-d1abe8e92afd6d03324af5733660aca2a77f134b.tar.xz
yuzu-d1abe8e92afd6d03324af5733660aca2a77f134b.tar.zst
yuzu-d1abe8e92afd6d03324af5733660aca2a77f134b.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/am/applets/general_backend.h12
1 files changed, 9 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 0da252044..cfa2df369 100644
--- a/src/core/hle/service/am/applets/general_backend.h
+++ b/src/core/hle/service/am/applets/general_backend.h
@@ -6,6 +6,10 @@
#include "core/hle/service/am/applets/applets.h"
+namespace Core {
+class System;
+}
+
namespace Service::AM::Applets {
enum class AuthAppletType : u32 {
@@ -16,7 +20,7 @@ enum class AuthAppletType : u32 {
class Auth final : public Applet {
public:
- explicit Auth(Core::Frontend::ParentalControlsApplet& frontend);
+ explicit Auth(Core::System& system_, Core::Frontend::ParentalControlsApplet& frontend_);
~Auth() override;
void Initialize() override;
@@ -45,7 +49,7 @@ enum class PhotoViewerAppletMode : u8 {
class PhotoViewer final : public Applet {
public:
- explicit PhotoViewer(const Core::Frontend::PhotoViewerApplet& frontend);
+ explicit PhotoViewer(Core::System& system_, const Core::Frontend::PhotoViewerApplet& frontend_);
~PhotoViewer() override;
void Initialize() override;
@@ -60,11 +64,12 @@ private:
const Core::Frontend::PhotoViewerApplet& frontend;
bool complete = false;
PhotoViewerAppletMode mode = PhotoViewerAppletMode::CurrentApp;
+ Core::System& system;
};
class StubApplet final : public Applet {
public:
- explicit StubApplet(AppletId id);
+ explicit StubApplet(Core::System& system_, AppletId id_);
~StubApplet() override;
void Initialize() override;
@@ -76,6 +81,7 @@ public:
private:
AppletId id;
+ Core::System& system;
};
} // namespace Service::AM::Applets