summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/service_creator.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2024-02-16 19:11:02 +0100
committerGitHub <noreply@github.com>2024-02-16 19:11:02 +0100
commit6e2678a42cb4a0ad02a7c8959621b0c98353c572 (patch)
treee1d71c4545dacdc7940c2a8b67ea534c6e52d58a /src/core/hle/service/vi/service_creator.h
parentMerge pull request #12996 from german77/settings-ipc (diff)
parentvi: rewrite IApplicationDisplayService (diff)
downloadyuzu-6e2678a42cb4a0ad02a7c8959621b0c98353c572.tar
yuzu-6e2678a42cb4a0ad02a7c8959621b0c98353c572.tar.gz
yuzu-6e2678a42cb4a0ad02a7c8959621b0c98353c572.tar.bz2
yuzu-6e2678a42cb4a0ad02a7c8959621b0c98353c572.tar.lz
yuzu-6e2678a42cb4a0ad02a7c8959621b0c98353c572.tar.xz
yuzu-6e2678a42cb4a0ad02a7c8959621b0c98353c572.tar.zst
yuzu-6e2678a42cb4a0ad02a7c8959621b0c98353c572.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/vi/service_creator.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/core/hle/service/vi/service_creator.h b/src/core/hle/service/vi/service_creator.h
new file mode 100644
index 000000000..8963bcd26
--- /dev/null
+++ b/src/core/hle/service/vi/service_creator.h
@@ -0,0 +1,33 @@
+// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <memory>
+
+#include "common/common_types.h"
+
+namespace Core {
+class System;
+}
+
+namespace Service::Nvnflinger {
+class HosBinderDriverServer;
+class Nvnflinger;
+} // namespace Service::Nvnflinger
+
+union Result;
+
+namespace Service::VI {
+
+class IApplicationDisplayService;
+enum class Permission;
+enum class Policy : u32;
+
+Result GetApplicationDisplayService(
+ std::shared_ptr<IApplicationDisplayService>* out_application_display_service,
+ Core::System& system, Nvnflinger::Nvnflinger& nvnflinger,
+ Nvnflinger::HosBinderDriverServer& hos_binder_driver_server, Permission permission,
+ Policy policy);
+
+} // namespace Service::VI