From b3facaa6bb30cdc39f2b7d632fef1e3bfeee7785 Mon Sep 17 00:00:00 2001 From: Zephyron Date: Tue, 31 Dec 2024 17:07:49 +1000 Subject: chore: update project references and add Citron copyright - Replaced all references to the old project name with Citron. - Added Citron copyright information alongside existing notices in all files. --- src/web_service/CMakeLists.txt | 4 ++-- src/web_service/announce_room_json.h | 2 +- src/web_service/precompiled_headers.h | 2 +- src/web_service/telemetry_json.h | 2 +- src/web_service/verify_login.h | 4 ++-- src/web_service/web_result.h | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/web_service') diff --git a/src/web_service/CMakeLists.txt b/src/web_service/CMakeLists.txt index 02582aa04..aaf892626 100644 --- a/src/web_service/CMakeLists.txt +++ b/src/web_service/CMakeLists.txt @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2018 yuzu Emulator Project +# SPDX-FileCopyrightText: 2018 yuzu Emulator Project & 2025 citron Homebrew Project # SPDX-License-Identifier: GPL-2.0-or-later add_library(web_service STATIC @@ -19,6 +19,6 @@ add_library(web_service STATIC create_target_directory_groups(web_service) target_link_libraries(web_service PRIVATE common network nlohmann_json::nlohmann_json httplib::httplib cpp-jwt::cpp-jwt) -if (YUZU_USE_PRECOMPILED_HEADERS) +if (CITRON_USE_PRECOMPILED_HEADERS) target_precompile_headers(web_service PRIVATE precompiled_headers.h) endif() diff --git a/src/web_service/announce_room_json.h b/src/web_service/announce_room_json.h index 32c08858d..04c1e00ec 100644 --- a/src/web_service/announce_room_json.h +++ b/src/web_service/announce_room_json.h @@ -12,7 +12,7 @@ namespace WebService { /** * Implementation of AnnounceMultiplayerRoom::Backend that (de)serializes room information into/from - * JSON, and submits/gets it to/from the yuzu web service + * JSON, and submits/gets it to/from the citron web service */ class RoomJson : public AnnounceMultiplayerRoom::Backend { public: diff --git a/src/web_service/precompiled_headers.h b/src/web_service/precompiled_headers.h index aabae730b..87b2e790e 100644 --- a/src/web_service/precompiled_headers.h +++ b/src/web_service/precompiled_headers.h @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022 yuzu Emulator Project +// SPDX-FileCopyrightText: 2022 yuzu Emulator Project & 2025 citron Homebrew Project // SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/src/web_service/telemetry_json.h b/src/web_service/telemetry_json.h index 504002c04..79ecf29c0 100644 --- a/src/web_service/telemetry_json.h +++ b/src/web_service/telemetry_json.h @@ -11,7 +11,7 @@ namespace WebService { /** * Implementation of VisitorInterface that serialized telemetry into JSON, and submits it to the - * yuzu web service + * citron web service */ class TelemetryJson : public Common::Telemetry::VisitorInterface { public: diff --git a/src/web_service/verify_login.h b/src/web_service/verify_login.h index 8d0adce74..826f1cb13 100644 --- a/src/web_service/verify_login.h +++ b/src/web_service/verify_login.h @@ -10,8 +10,8 @@ namespace WebService { /** * Checks if username and token is valid * @param host the web API URL - * @param username yuzu username to use for authentication. - * @param token yuzu token to use for authentication. + * @param username citron username to use for authentication. + * @param token citron token to use for authentication. * @returns a bool indicating whether the verification succeeded */ bool VerifyLogin(const std::string& host, const std::string& username, const std::string& token); diff --git a/src/web_service/web_result.h b/src/web_service/web_result.h index 6da3a9277..eb6f8881f 100644 --- a/src/web_service/web_result.h +++ b/src/web_service/web_result.h @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project +// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project & 2025 citron Homebrew Project // SPDX-License-Identifier: GPL-2.0-or-later #pragma once -- cgit v1.2.3