2018-03-29 21:06:51 -04: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-19 21:41:44 -04:00
|
|
|
namespace Service::NFP {
|
2018-03-29 21:06:51 -04:00
|
|
|
|
|
|
|
class Module final {
|
|
|
|
public:
|
|
|
|
class Interface : public ServiceFramework<Interface> {
|
|
|
|
public:
|
|
|
|
Interface(std::shared_ptr<Module> module, const char* name);
|
|
|
|
|
2018-04-22 01:04:24 -04:00
|
|
|
void GetIUserInterface(Kernel::HLERequestContext& ctx);
|
2018-03-29 21:06:51 -04:00
|
|
|
|
|
|
|
protected:
|
|
|
|
std::shared_ptr<Module> module;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager);
|
|
|
|
|
2018-04-19 21:41:44 -04:00
|
|
|
} // namespace Service::NFP
|