checks-parser/utils/utils.h

23 lines
519 B
C
Raw Normal View History

2024-11-22 23:26:42 +03:00
#ifndef UTILS_H
#define UTILS_H
#include <string>
#include <vector>
2024-11-27 01:46:36 +03:00
#include "../check/check.h"
2024-11-22 23:26:42 +03:00
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);
2024-11-27 01:46:36 +03:00
Check parseOfdRuAnswer(std::string);
std::wstring trim_html_response(std::wstring& check);
2024-11-22 23:26:42 +03:00
#endif // UTILS_H