2022-04-23 04:59:50 -04:00
|
|
|
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2018-08-01 16:24:03 -04:00
|
|
|
|
|
|
|
#include "core/hle/service/caps/caps.h"
|
2020-03-31 19:16:36 -04:00
|
|
|
#include "core/hle/service/caps/caps_a.h"
|
|
|
|
#include "core/hle/service/caps/caps_c.h"
|
|
|
|
#include "core/hle/service/caps/caps_sc.h"
|
|
|
|
#include "core/hle/service/caps/caps_ss.h"
|
|
|
|
#include "core/hle/service/caps/caps_su.h"
|
|
|
|
#include "core/hle/service/caps/caps_u.h"
|
2023-02-18 16:26:48 -05:00
|
|
|
#include "core/hle/service/server_manager.h"
|
2018-08-01 16:24:03 -04:00
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
|
|
|
|
namespace Service::Capture {
|
|
|
|
|
2023-02-18 16:26:48 -05:00
|
|
|
void LoopProcess(Core::System& system) {
|
|
|
|
auto server_manager = std::make_unique<ServerManager>(system);
|
|
|
|
|
2023-10-01 14:49:11 -04:00
|
|
|
server_manager->RegisterNamedService("caps:a", std::make_shared<IAlbumAccessorService>(system));
|
2023-02-18 16:26:48 -05:00
|
|
|
server_manager->RegisterNamedService("caps:c", std::make_shared<CAPS_C>(system));
|
|
|
|
server_manager->RegisterNamedService("caps:u", std::make_shared<CAPS_U>(system));
|
|
|
|
server_manager->RegisterNamedService("caps:sc", std::make_shared<CAPS_SC>(system));
|
|
|
|
server_manager->RegisterNamedService("caps:ss", std::make_shared<CAPS_SS>(system));
|
|
|
|
server_manager->RegisterNamedService("caps:su", std::make_shared<CAPS_SU>(system));
|
|
|
|
ServerManager::RunServer(std::move(server_manager));
|
2018-08-01 16:24:03 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace Service::Capture
|