rewrite utils with moduled approach, butfixes

This commit is contained in:
2025-03-17 23:39:08 +03:00
parent b966d7fcf5
commit b57a542161
6 changed files with 94 additions and 88 deletions

View File

@@ -5,7 +5,6 @@
#include <vector>
#include "../check/check.h"
std::string get_local_ip_address();
std::string to_utf8(std::wstring wide_string);
std::wstring from_utf8(std::string string);
@@ -16,10 +15,15 @@ bool vector_contains_element(const std::vector<T> &vector, const T &to_find);
std::vector<std::string> split(std::string, std::string);
#ifdef BUILD_OFD_MODULE
Check parseOfdRuAnswer(std::string);
std::wstring trim_html_response(std::wstring& check);
#endif
#ifdef BUILD_OFD_BINARYEYE_SCAN
void generate_qr_code(std::string data);
std::string get_local_ip_address();
#endif
#endif // UTILS_H