diff options
author | Liam <byteslice@airmail.cc> | 2024-01-03 00:29:03 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-30 02:17:33 +0100 |
commit | 182137a9a4b09c8188d2cbffa312550c5dc83641 (patch) | |
tree | af62d2ecf774e7790c227cb0984e5392deca5afe /src/core/hle/service/am/window_controller.h | |
parent | am: retrieve main applet creation info from frontend (diff) | |
download | yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.gz yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.bz2 yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.lz yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.xz yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.tar.zst yuzu-182137a9a4b09c8188d2cbffa312550c5dc83641.zip |
Diffstat (limited to 'src/core/hle/service/am/window_controller.h')
-rw-r--r-- | src/core/hle/service/am/window_controller.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/service/am/window_controller.h b/src/core/hle/service/am/window_controller.h index 07b0e0e17..d97f93737 100644 --- a/src/core/hle/service/am/window_controller.h +++ b/src/core/hle/service/am/window_controller.h @@ -7,15 +7,19 @@ namespace Service::AM { +struct Applet; + class IWindowController final : public ServiceFramework<IWindowController> { public: - explicit IWindowController(Core::System& system_); + explicit IWindowController(Core::System& system_, std::shared_ptr<Applet> applet_); ~IWindowController() override; private: void GetAppletResourceUserId(HLERequestContext& ctx); void GetAppletResourceUserIdOfCallerApplet(HLERequestContext& ctx); void AcquireForegroundRights(HLERequestContext& ctx); + + const std::shared_ptr<Applet> applet; }; } // namespace Service::AM |