add mysql & http funcs

This commit is contained in:
alice
2026-07-28 23:44:07 +02:00
parent befebc4b6e
commit 0b79c0c114
43 changed files with 3023 additions and 146 deletions
+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include <string>
namespace utils
{
class binary_resource
{
public:
binary_resource(int id, std::string file);
std::string get_extracted_file(bool fatal_if_overwrite_fails = false);
const std::string& get_data() const;
private:
std::string resource_;
std::string filename_;
std::string path_;
};
}