2023-03-06 15:40:07 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2023-11-10 16:52:20 -05:00
|
|
|
namespace utilities
|
2023-03-06 15:40:07 -05:00
|
|
|
{
|
|
|
|
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_;
|
|
|
|
};
|
|
|
|
}
|