diff options
| author | Liam <byteslice@airmail.cc> | 2024-01-02 18:29:03 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2024-01-29 20:17:33 -0500 |
| commit | 182137a9a4b09c8188d2cbffa312550c5dc83641 (patch) | |
| tree | af62d2ecf774e7790c227cb0984e5392deca5afe /src/core/hle/service/am/window_controller.h | |
| parent | 3155f4e96d10904f4a207e465f20fb4b25043f5c (diff) | |
am: migrate global state to per-applet state structure
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 |
