Donetsk/hook_lib/common/utils/binary_resource.hpp
2023-10-09 16:54:34 +01:00

21 lines
332 B
C++

#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_;
};
}