18 lines
398 B
C++
18 lines
398 B
C++
#ifndef UTILS_H
|
|
#define UTILS_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
std::string to_utf8(std::wstring wide_string);
|
|
std::wstring from_utf8(std::string string);
|
|
|
|
std::string get_path_relative_to_home(std::string path);
|
|
|
|
template <typename T>
|
|
bool vector_contains_element(const std::vector<T> &vector, const T &to_find);
|
|
|
|
std::vector<std::string> split(std::string, std::string);
|
|
|
|
#endif // UTILS_H
|