2015-03-27 23:51:54 +00:00
|
|
|
// Copyright 2015 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2017-12-09 11:02:40 +00:00
|
|
|
#include <memory>
|
2018-10-05 14:59:43 +00:00
|
|
|
#include "core/core.h"
|
2016-09-21 06:52:38 +00:00
|
|
|
#include "core/hle/service/ir/ir.h"
|
2015-03-27 23:51:54 +00:00
|
|
|
#include "core/hle/service/ir/ir_rst.h"
|
|
|
|
#include "core/hle/service/ir/ir_u.h"
|
|
|
|
#include "core/hle/service/ir/ir_user.h"
|
2016-09-18 00:38:01 +00:00
|
|
|
#include "core/hle/service/service.h"
|
2015-03-27 23:51:54 +00:00
|
|
|
|
2018-09-22 12:23:08 +00:00
|
|
|
namespace Service::IR {
|
2015-03-27 23:51:54 +00:00
|
|
|
|
2018-10-05 14:59:43 +00:00
|
|
|
void InstallInterfaces(Core::System& system) {
|
|
|
|
auto& service_manager = system.ServiceManager();
|
2017-12-09 10:34:23 +00:00
|
|
|
std::make_shared<IR_U>()->InstallAsService(service_manager);
|
2017-12-09 11:02:40 +00:00
|
|
|
|
2018-10-11 19:48:16 +00:00
|
|
|
auto ir_user = std::make_shared<IR_USER>(system);
|
2017-12-09 12:46:19 +00:00
|
|
|
ir_user->InstallAsService(service_manager);
|
|
|
|
|
2018-10-11 19:48:16 +00:00
|
|
|
auto ir_rst = std::make_shared<IR_RST>(system);
|
2017-12-09 11:02:40 +00:00
|
|
|
ir_rst->InstallAsService(service_manager);
|
2017-12-09 10:34:23 +00:00
|
|
|
}
|
|
|
|
|
2018-09-22 12:23:08 +00:00
|
|
|
} // namespace Service::IR
|