summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/service_creator.h
blob: 6691f25c0220852a9d1c8006c84370adfd731138 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 IHOSBinderDriver;
} // namespace Service::Nvnflinger

union Result;

namespace Service::VI {

class FbshareBufferManager;
class IApplicationDisplayService;
enum class Permission;
enum class Policy : u32;

Result GetApplicationDisplayService(
    std::shared_ptr<IApplicationDisplayService>* out_application_display_service,
    Core::System& system, std::shared_ptr<Nvnflinger::IHOSBinderDriver> binder_service,
    std::shared_ptr<FbshareBufferManager> shared_buffer_manager, Permission permission,
    Policy policy);

} // namespace Service::VI