2024-02-23 22:32:32 +01:00
|
|
|
// SPDX-FileCopyrightText: 2013 Dolphin Emulator Project
|
|
|
|
// SPDX-FileCopyrightText: 2014 Citra Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2023-06-18 16:54:22 +02:00
|
|
|
#pragma once
|
2023-11-05 15:56:28 +01:00
|
|
|
|
2023-06-18 16:54:22 +02:00
|
|
|
#include <string>
|
2024-02-23 21:57:57 +01:00
|
|
|
#include <vector>
|
2023-06-18 16:54:22 +02:00
|
|
|
|
2023-11-05 15:56:28 +01:00
|
|
|
namespace Common {
|
2023-06-18 16:54:22 +02:00
|
|
|
|
2023-11-05 15:56:28 +01:00
|
|
|
std::vector<std::string> SplitString(const std::string& str, char delimiter);
|
2023-06-18 16:54:22 +02:00
|
|
|
|
2024-02-27 23:10:34 +01:00
|
|
|
#ifdef _WIN32
|
|
|
|
[[nodiscard]] std::string UTF16ToUTF8(std::wstring_view input);
|
|
|
|
[[nodiscard]] std::wstring UTF8ToUTF16W(std::string_view str);
|
|
|
|
#endif
|
|
|
|
|
2023-11-05 15:56:28 +01:00
|
|
|
} // namespace Common
|