summaryrefslogblamecommitdiffstats
path: root/src/core/hle/service/vi/vi_m.h
blob: 290e066891b2aa1e4b5ba6aa7f6de548965916f3 (plain) (tree)
1
2
3
4
5
6
                                    




                                            








                                     
 
                       
 
                                                  
       
                                                                    
                     




                                                           

  
                          
// Copyright 2018 yuzu emulator team
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include "core/hle/service/service.h"

namespace Kernel {
class HLERequestContext;
}

namespace Service::NVFlinger {
class NVFlinger;
}

namespace Service::VI {

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

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

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

} // namespace Service::VI