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_m.h | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'src/core/hle/service/vi/vi_m.h') diff --git a/src/core/hle/service/vi/vi_m.h b/src/core/hle/service/vi/vi_m.h index e5319b1e7..0f7b799d6 100644 --- a/src/core/hle/service/vi/vi_m.h +++ b/src/core/hle/service/vi/vi_m.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_M final : public ServiceFramework { +class VI_M final : public Module::Interface { public: - VI_M(std::shared_ptr nv_flinger); - ~VI_M() = default; - -private: - void GetDisplayService(Kernel::HLERequestContext& ctx); - - std::shared_ptr nv_flinger; + explicit VI_M(std::shared_ptr module, std::shared_ptr nv_flinger); }; } // namespace VI -- cgit v1.2.3