diff options
author | Liam <byteslice@airmail.cc> | 2024-02-14 05:53:56 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-14 18:03:32 +0100 |
commit | c448001d4766a4959b4c1468b5a9de6dfe3d9bc4 (patch) | |
tree | e0c35c83cda5b104faa7c8f3757fbe28fe8b3f36 /src/core/hle/service/vi/application_root_service.h | |
parent | vi: split into implementation files (diff) | |
download | yuzu-c448001d4766a4959b4c1468b5a9de6dfe3d9bc4.tar yuzu-c448001d4766a4959b4c1468b5a9de6dfe3d9bc4.tar.gz yuzu-c448001d4766a4959b4c1468b5a9de6dfe3d9bc4.tar.bz2 yuzu-c448001d4766a4959b4c1468b5a9de6dfe3d9bc4.tar.lz yuzu-c448001d4766a4959b4c1468b5a9de6dfe3d9bc4.tar.xz yuzu-c448001d4766a4959b4c1468b5a9de6dfe3d9bc4.tar.zst yuzu-c448001d4766a4959b4c1468b5a9de6dfe3d9bc4.zip |
Diffstat (limited to 'src/core/hle/service/vi/application_root_service.h')
-rw-r--r-- | src/core/hle/service/vi/application_root_service.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/core/hle/service/vi/application_root_service.h b/src/core/hle/service/vi/application_root_service.h index 231d26891..9dbf28cb4 100644 --- a/src/core/hle/service/vi/application_root_service.h +++ b/src/core/hle/service/vi/application_root_service.h @@ -3,6 +3,7 @@ #pragma once +#include "core/hle/service/cmif_types.h" #include "core/hle/service/service.h" namespace Core { @@ -16,17 +17,23 @@ class Nvnflinger; namespace Service::VI { +class IApplicationDisplayService; +enum class Policy : u32; + class IApplicationRootService final : public ServiceFramework<IApplicationRootService> { public: - explicit IApplicationRootService(Core::System& system_, Nvnflinger::Nvnflinger& nv_flinger_, - Nvnflinger::HosBinderDriverServer& hos_binder_driver_server_); + explicit IApplicationRootService(Core::System& system_, Nvnflinger::Nvnflinger& nvnflinger, + Nvnflinger::HosBinderDriverServer& hos_binder_driver_server); ~IApplicationRootService() override; private: - void GetDisplayService(HLERequestContext& ctx); + Result GetDisplayService( + Out<SharedPointer<IApplicationDisplayService>> out_application_display_service, + Policy policy); - Nvnflinger::Nvnflinger& nv_flinger; - Nvnflinger::HosBinderDriverServer& hos_binder_driver_server; +private: + Nvnflinger::Nvnflinger& m_nvnflinger; + Nvnflinger::HosBinderDriverServer& m_hos_binder_driver_server; }; } // namespace Service::VI |