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

                                                               
 
                                            





                                          
                        
 







                                                                                       

 
                           
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#include "core/hle/service/server_manager.h"
#include "core/hle/service/set/set.h"
#include "core/hle/service/set/set_cal.h"
#include "core/hle/service/set/set_fd.h"
#include "core/hle/service/set/set_sys.h"
#include "core/hle/service/set/settings.h"

namespace Service::Set {

void LoopProcess(Core::System& system) {
    auto server_manager = std::make_unique<ServerManager>(system);

    server_manager->RegisterNamedService("set", std::make_shared<SET>(system));
    server_manager->RegisterNamedService("set:cal", std::make_shared<SET_CAL>(system));
    server_manager->RegisterNamedService("set:fd", std::make_shared<SET_FD>(system));
    server_manager->RegisterNamedService("set:sys", std::make_shared<SET_SYS>(system));
    ServerManager::RunServer(std::move(server_manager));
}

} // namespace Service::Set