t8-mod/source/shared-code/utils/binary_resource.hpp

21 lines
332 B
C++
Raw Normal View History

2023-03-06 15:40:07 -05:00
#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_;
};
}