summaryrefslogblamecommitdiffstats
path: root/src/core/hle/service/apm/apm.cpp
blob: f3c09bbb1a6fc7ed9f93941f3d5499c4b3efe9a1 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                    





                                            
                                           
 
                        
 


                            
                                                             


                                                                               
                                                                   

 
                           
// Copyright 2018 yuzu emulator team
// 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"
#include "core/hle/service/apm/interface.h"

namespace Service::APM {

Module::Module() = default;
Module::~Module() = default;

void InstallInterfaces(SM::ServiceManager& service_manager) {
    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);
    std::make_shared<APM_Sys>()->InstallAsService(service_manager);
}

} // namespace Service::APM