diff options
author | Liam <byteslice@airmail.cc> | 2024-02-14 05:36:06 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-14 18:03:32 +0100 |
commit | 2e8c0e9247bfcb5cdd0f4235bda5ee6f58b16c14 (patch) | |
tree | 7c28b4f1b8d7bbbb7b363d5569d7dd70b34d146e /src/core/hle/service/vi/application_root_service.h | |
parent | vi: extract types (diff) | |
download | yuzu-2e8c0e9247bfcb5cdd0f4235bda5ee6f58b16c14.tar yuzu-2e8c0e9247bfcb5cdd0f4235bda5ee6f58b16c14.tar.gz yuzu-2e8c0e9247bfcb5cdd0f4235bda5ee6f58b16c14.tar.bz2 yuzu-2e8c0e9247bfcb5cdd0f4235bda5ee6f58b16c14.tar.lz yuzu-2e8c0e9247bfcb5cdd0f4235bda5ee6f58b16c14.tar.xz yuzu-2e8c0e9247bfcb5cdd0f4235bda5ee6f58b16c14.tar.zst yuzu-2e8c0e9247bfcb5cdd0f4235bda5ee6f58b16c14.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 | 32 |
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 |