comparison include/core/strings.h @ 101:c537996cf67b

*: multitude of config changes 1. theme is now configurable from the settings menu (but you have to restart for it to apply) 2. config is now stored in an INI file, with no method of conversion from json (this repo is private-ish anyway)
author Paper <mrpapersonic@gmail.com>
date Fri, 03 Nov 2023 14:06:02 -0400
parents f5940a575d83
children b315f3759c56
comparison
equal deleted inserted replaced
100:f5940a575d83 101:c537996cf67b
31 std::string ToUtf8String(const std::wstring& wstring); 31 std::string ToUtf8String(const std::wstring& wstring);
32 std::string ToUtf8String(const QString& string); 32 std::string ToUtf8String(const QString& string);
33 QString ToQString(const std::string& string); 33 QString ToQString(const std::string& string);
34 QString ToQString(const std::wstring& wstring); 34 QString ToQString(const std::wstring& wstring);
35 35
36 /* arithmetic :) */
37 int ToInt(const std::string& str, int def = 0);
38
36 }; // namespace Strings 39 }; // namespace Strings
37 40
38 #endif // __core__strings_h 41 #endif // __core__strings_h