2018-02-02 11:31:27 +00:00
|
|
|
// 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"
|
|
|
|
|
2018-04-20 01:41:44 +00:00
|
|
|
namespace Service::NIFM {
|
2018-02-02 11:31:27 +00:00
|
|
|
|
2018-03-16 08:00:29 +00:00
|
|
|
class Module final {
|
2018-02-02 11:31:27 +00:00
|
|
|
public:
|
2018-03-16 08:00:29 +00:00
|
|
|
class Interface : public ServiceFramework<Interface> {
|
|
|
|
public:
|
|
|
|
Interface(std::shared_ptr<Module> module, const char* name);
|
|
|
|
|
|
|
|
void CreateGeneralServiceOld(Kernel::HLERequestContext& ctx);
|
|
|
|
void CreateGeneralService(Kernel::HLERequestContext& ctx);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
std::shared_ptr<Module> module;
|
|
|
|
};
|
2018-02-02 11:31:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager);
|
|
|
|
|
2018-04-20 01:41:44 +00:00
|
|
|
} // namespace Service::NIFM
|