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.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/core/hle/service/vi/application_root_service.h b/src/core/hle/service/vi/application_root_service.h
new file mode 100644
index 000000000..231d26891
--- /dev/null
+++ b/src/core/hle/service/vi/application_root_service.h
@@ -0,0 +1,32 @@
+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/hle/service/service.h"
+
+namespace Core {
+class System;
+}
+
+namespace Service::Nvnflinger {
+class HosBinderDriverServer;
+class Nvnflinger;
+} // namespace Service::Nvnflinger
+
+namespace Service::VI {
+
+class IApplicationRootService final : public ServiceFramework<IApplicationRootService> {
+public:
+ explicit IApplicationRootService(Core::System& system_, Nvnflinger::Nvnflinger& nv_flinger_,
+ Nvnflinger::HosBinderDriverServer& hos_binder_driver_server_);
+ ~IApplicationRootService() override;
+
+private:
+ void GetDisplayService(HLERequestContext& ctx);
+
+ Nvnflinger::Nvnflinger& nv_flinger;
+ Nvnflinger::HosBinderDriverServer& hos_binder_driver_server;
+};
+
+} // namespace Service::VI