diff include/core/strings.h @ 64:fe719c109dbc

*: update 1. add media tracking ability, and it displays info on the `now playing` page 2. the `now playing` page now actually shows something 3. renamed every page class to be more accurate to what it is 4. ...
author Paper <mrpapersonic@gmail.com>
date Sun, 01 Oct 2023 23:15:43 -0400
parents 4c6dd5999b39
children c69230dc2b5d
line wrap: on
line diff
--- a/include/core/strings.h	Sun Oct 01 06:39:47 2023 -0400
+++ b/include/core/strings.h	Sun Oct 01 23:15:43 2023 -0400
@@ -4,6 +4,8 @@
 #include <string>
 #include <vector>
 
+class QString;
+
 namespace Strings {
 
 /* Implode function: takes a vector of strings and turns it
@@ -22,7 +24,11 @@
 std::string ToLower(const std::string& string);
 
 std::wstring ToWstring(const std::string& string);
+std::wstring ToWstring(const QString& string);
 std::string ToUtf8String(const std::wstring& wstring);
+std::string ToUtf8String(const QString& string);
+QString ToQString(const std::string& string);
+QString ToQString(const std::wstring& wstring);
 
 };     // namespace Strings
 #endif // __core__strings_h
\ No newline at end of file