summaryrefslogblamecommitdiffstats
path: root/src/core/hle/service/vi/vi_u.h
blob: 8e3885c73d3f4c7a7296b494ff45a4b66bd724d4 (plain) (tree)
1
2
3
4
5
6
7
8





                                            

                                     



                






                              
 
                       
 
                                                  
       
                                                                            
                     



                                                           
                                     

  
                          
// 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 Core {
class System;
}

namespace Kernel {
class HLERequestContext;
}

namespace Service::NVFlinger {
class NVFlinger;
}

namespace Service::VI {

class VI_U final : public ServiceFramework<VI_U> {
public:
    explicit VI_U(Core::System& system_, NVFlinger::NVFlinger& nv_flinger_);
    ~VI_U() override;

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

    NVFlinger::NVFlinger& nv_flinger;
};

} // namespace Service::VI