mirror of
https://github.com/pound-emu/pound.git
synced 2025-12-12 10:37:00 +00:00
Import Strong Logger & Config System
This commit is contained in:
parent
92d4e7a8d3
commit
014b236228
48 changed files with 3281 additions and 734 deletions
22
core/Base/StringUtil.h
Normal file
22
core/Base/StringUtil.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// Copyright 2025 Xenon Emulator Project. All rights reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <Windows.h>
|
||||
#else
|
||||
#include <filesystem>
|
||||
#endif
|
||||
|
||||
namespace Base {
|
||||
|
||||
[[nodiscard]] std::string UTF16ToUTF8(const std::wstring_view &input);
|
||||
[[nodiscard]] std::wstring UTF8ToUTF16W(const std::string_view &str);
|
||||
[[nodiscard]] std::string ToLower(const std::string &str);
|
||||
|
||||
} // namespace Base
|
||||
Loading…
Add table
Add a link
Reference in a new issue