#pragma once #include "api/Resource.h" #include #include class ResourceFactory { public: template static std::unique_ptr create_resource(const std::string& file_path){ return std::make_unique(convert_file_to_string(file_path)); } private: static std::string convert_file_to_string(const std::string& path); };