2026-09-11 21:38:52 +02:00
|
|
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
2022-04-23 04:59:50 -04:00
|
|
|
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2018-05-28 16:36:38 +03:00
|
|
|
|
2024-02-08 16:58:44 -06:00
|
|
|
#include "core/hle/service/bcat/backend/backend.h"
|
2018-05-28 16:36:38 +03:00
|
|
|
#include "core/hle/service/bcat/bcat.h"
|
2024-02-09 10:31:35 -06:00
|
|
|
#include "core/hle/service/bcat/news/service_creator.h"
|
|
|
|
|
#include "core/hle/service/bcat/service_creator.h"
|
2024-02-08 16:58:44 -06:00
|
|
|
#include "core/hle/service/server_manager.h"
|
2018-05-28 16:36:38 +03:00
|
|
|
|
|
|
|
|
namespace Service::BCAT {
|
|
|
|
|
|
2024-02-08 16:58:44 -06:00
|
|
|
void LoopProcess(Core::System& system) {
|
|
|
|
|
auto server_manager = std::make_unique<ServerManager>(system);
|
|
|
|
|
|
2026-09-11 21:38:52 +02:00
|
|
|
server_manager->RegisterNamedService("bcat:a", std::make_shared<IServiceCreator>(system, "bcat:a"), 32);
|
|
|
|
|
server_manager->RegisterNamedService("bcat:m", std::make_shared<IServiceCreator>(system, "bcat:m"), 32);
|
|
|
|
|
server_manager->RegisterNamedService("bcat:u", std::make_shared<IServiceCreator>(system, "bcat:u"), 32);
|
|
|
|
|
server_manager->RegisterNamedService("bcat:s", std::make_shared<IServiceCreator>(system, "bcat:s"), 32);
|
|
|
|
|
|
|
|
|
|
server_manager->RegisterNamedService("news:a", std::make_shared<News::IServiceCreator>(system, 0xffffffff, "news:a"), 32);
|
|
|
|
|
server_manager->RegisterNamedService("news:p", std::make_shared<News::IServiceCreator>(system, 0x1, "news:p"), 32);
|
|
|
|
|
server_manager->RegisterNamedService("news:c", std::make_shared<News::IServiceCreator>(system, 0x2, "news:c"), 32);
|
|
|
|
|
server_manager->RegisterNamedService("news:v", std::make_shared<News::IServiceCreator>(system, 0x4, "news:v"), 32);
|
|
|
|
|
server_manager->RegisterNamedService("news:m", std::make_shared<News::IServiceCreator>(system, 0xd, "news:m"), 32);
|
2024-02-08 22:48:53 -06:00
|
|
|
|
2024-02-08 16:58:44 -06:00
|
|
|
ServerManager::RunServer(std::move(server_manager));
|
2018-05-28 16:36:38 +03:00
|
|
|
}
|
2018-09-10 21:20:52 -04:00
|
|
|
|
2018-05-28 16:36:38 +03:00
|
|
|
} // namespace Service::BCAT
|