summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/vi_m.h
blob: e5319b1e798caa6360b9a4c1ac54b8a73d09681f (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
// Copyright 2018 yuzu emulator team
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include <memory>
#include "core/hle/service/service.h"

namespace Service {
namespace NVFlinger {
class NVFlinger;
}

namespace VI {

class VI_M final : public ServiceFramework<VI_M> {
public:
    VI_M(std::shared_ptr<NVFlinger::NVFlinger> nv_flinger);
    ~VI_M() = default;

private:
    void GetDisplayService(Kernel::HLERequestContext& ctx);

    std::shared_ptr<NVFlinger::NVFlinger> nv_flinger;
};

} // namespace VI
} // namespace Service