diff options
Diffstat (limited to 'src/crepe/api/Resource.h')
-rw-r--r-- | src/crepe/api/Resource.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/crepe/api/Resource.h b/src/crepe/api/Resource.h index 620a10e..2260b1a 100644 --- a/src/crepe/api/Resource.h +++ b/src/crepe/api/Resource.h @@ -1,16 +1,21 @@ #pragma once #include <string> +#include <fstream> +#include <iostream> namespace crepe::api { class Resource { public: - Resource(const std::string & source); - virtual ~Resource(); + Resource(const std::string & src); + +public: + const std::istream & read(); private: - std::string _source; + std::string src; + std::ifstream file; }; } |