diff options
Diffstat (limited to 'src/crepe/api/resource.h')
-rw-r--r-- | src/crepe/api/resource.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/crepe/api/resource.h b/src/crepe/api/resource.h new file mode 100644 index 0000000..e6456f9 --- /dev/null +++ b/src/crepe/api/resource.h @@ -0,0 +1,23 @@ +#pragma once + + +#include <string> + +namespace crepe::api { + +class Resource{ + +public: + + virtual ~Resource() =default; + + const std::string& getContent() const{ + return this->m_content; + } + +protected: + std::string m_content; +}; + + +} |