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/service_creator.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 '')
-rw-r--r-- | src/core/hle/service/vi/service_creator.h | 33 |
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 |