summaryrefslogblamecommitdiffstats
path: root/src/core/hle/service/vi/vi_s.h
blob: 34282fcfdcd77325cd4172089981a30104b01f02 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                               


            

                                     



                
                              
                            
                
                                 
 
                       
 
                                                  
       

                                                                               
                     

        
                                                   
 
                                     
                                                               

  
                          
// 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::NVFlinger {
class HosBinderDriverServer;
class NVFlinger;
} // namespace Service::NVFlinger

namespace Service::VI {

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

private:
    void GetDisplayService(HLERequestContext& ctx);

    NVFlinger::NVFlinger& nv_flinger;
    NVFlinger::HosBinderDriverServer& hos_binder_driver_server;
};

} // namespace Service::VI