![]() |
DeskUp 0.3
|
Defines basic tools to easen the interaction with the Desk Up backend. More...


Go to the source code of this file.
Functions | |
| std::string | toLowerStr (const std::string &s) |
| A function to convert a string to its lowercase version. | |
| std::string | normalizePathLower (const std::string &p) |
| A function to convert a generic path to a windows path using backslash path and later convert it to lowercase. | |
| std::wstring | UTF8ToWide (const std::string &s) |
| A function to convert a normal string into a wide one. | |
Defines basic tools to easen the interaction with the Desk Up backend.
This file is part of DeskUp
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
| std::string normalizePathLower | ( | const std::string & | p | ) |
A function to convert a generic path to a windows path using backslash path and later convert it to lowercase.
Note that it does not alter the original string.
| s | the string path to alter |
std::string representing the altered path | std::string toLowerStr | ( | const std::string & | s | ) |
A function to convert a string to its lowercase version.
Note that it does not alter the original string
| s | the string to convert to lowercase |
std::string representing the lowercase version | std::wstring UTF8ToWide | ( | const std::string & | s | ) |
A function to convert a normal string into a wide one.
Note that the original string doesn't get altered
| s | the string intended to convert |
std::wstring representing the wide string