From 6673ed127478299cec22b8612d4e55b00225c345 Mon Sep 17 00:00:00 2001 From: mailwl Date: Wed, 21 Mar 2018 13:09:40 +0300 Subject: Service/vi: convert services to module --- src/core/hle/service/vi/vi_s.h | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'src/core/hle/service/vi/vi_s.h') diff --git a/src/core/hle/service/vi/vi_s.h b/src/core/hle/service/vi/vi_s.h index 6978fd700..7b32fdddc 100644 --- a/src/core/hle/service/vi/vi_s.h +++ b/src/core/hle/service/vi/vi_s.h @@ -4,25 +4,14 @@ #pragma once -#include -#include "core/hle/service/service.h" +#include "core/hle/service/vi/vi.h" namespace Service { -namespace NVFlinger { -class NVFlinger; -} - namespace VI { -class VI_S final : public ServiceFramework { +class VI_S final : public Module::Interface { public: - VI_S(std::shared_ptr nv_flinger); - ~VI_S() = default; - -private: - void GetDisplayService(Kernel::HLERequestContext& ctx); - - std::shared_ptr nv_flinger; + explicit VI_S(std::shared_ptr module, std::shared_ptr nv_flinger); }; } // namespace VI -- cgit v1.2.3