mirror of
https://github.com/bailwillharr/engine.git
synced 2024-09-21 04:51:18 +00:00
25 lines
415 B
C++
25 lines
415 B
C++
#pragma once
|
|
|
|
#include "export.h"
|
|
|
|
#include <string>
|
|
#include <filesystem>
|
|
|
|
class ENGINE_API Resource {
|
|
|
|
public:
|
|
Resource(const std::filesystem::path& resPath, const std::string& type);
|
|
Resource(const Resource&) = delete;
|
|
Resource& operator=(const Resource&) = delete;
|
|
virtual ~Resource() = 0;
|
|
|
|
std::string getType();
|
|
|
|
protected:
|
|
std::filesystem::path m_resourcePath;
|
|
|
|
private:
|
|
const std::string m_type;
|
|
|
|
};
|