summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/application_root_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/vi/application_root_service.h')
-rw-r--r--src/core/hle/service/vi/application_root_service.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/core/hle/service/vi/application_root_service.h b/src/core/hle/service/vi/application_root_service.h
index 9dbf28cb4..d1f023e9e 100644
--- a/src/core/hle/service/vi/application_root_service.h
+++ b/src/core/hle/service/vi/application_root_service.h
@@ -11,8 +11,7 @@ class System;
}
namespace Service::Nvnflinger {
-class HosBinderDriverServer;
-class Nvnflinger;
+class IHOSBinderDriver;
} // namespace Service::Nvnflinger
namespace Service::VI {
@@ -22,8 +21,8 @@ enum class Policy : u32;
class IApplicationRootService final : public ServiceFramework<IApplicationRootService> {
public:
- explicit IApplicationRootService(Core::System& system_, Nvnflinger::Nvnflinger& nvnflinger,
- Nvnflinger::HosBinderDriverServer& hos_binder_driver_server);
+ explicit IApplicationRootService(Core::System& system_,
+ std::shared_ptr<Nvnflinger::IHOSBinderDriver> binder_service);
~IApplicationRootService() override;
private:
@@ -32,8 +31,7 @@ private:
Policy policy);
private:
- Nvnflinger::Nvnflinger& m_nvnflinger;
- Nvnflinger::HosBinderDriverServer& m_hos_binder_driver_server;
+ const std::shared_ptr<Nvnflinger::IHOSBinderDriver> m_binder_service;
};
} // namespace Service::VI