2018-01-13 21:22:39 +00:00
|
|
|
// Copyright 2018 yuzu emulator team
|
2017-10-15 02:50:04 +00:00
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "common/logging/log.h"
|
|
|
|
#include "core/hle/ipc_helpers.h"
|
|
|
|
#include "core/hle/service/apm/apm.h"
|
2018-02-10 04:17:37 +00:00
|
|
|
#include "core/hle/service/apm/interface.h"
|
2017-10-15 02:50:04 +00:00
|
|
|
|
2018-04-20 01:41:44 +00:00
|
|
|
namespace Service::APM {
|
2017-10-15 02:50:04 +00:00
|
|
|
|
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager) {
|
2018-02-10 04:17:37 +00:00
|
|
|
auto module_ = std::make_shared<Module>();
|
|
|
|
std::make_shared<APM>(module_, "apm")->InstallAsService(service_manager);
|
|
|
|
std::make_shared<APM>(module_, "apm:p")->InstallAsService(service_manager);
|
2018-08-07 14:05:24 +00:00
|
|
|
std::make_shared<APM_Sys>()->InstallAsService(service_manager);
|
2018-01-15 22:19:32 +00:00
|
|
|
}
|
|
|
|
|
2018-04-20 01:41:44 +00:00
|
|
|
} // namespace Service::APM
|