diff options
Diffstat (limited to 'src/Content.hpp')
-rw-r--r-- | src/Content.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Content.hpp b/src/Content.hpp index e337074..de5f531 100644 --- a/src/Content.hpp +++ b/src/Content.hpp @@ -5,14 +5,16 @@ #include <tuple> #include <vector> -typedef std::vector<std::tuple<std::string, std::string>> Redirections; +typedef std::vector<std::string> Redirections; class Content { public: - virtual bool Init(std::string & basePath) = 0; + virtual bool Init() = 0; virtual void Shutdown() = 0; - virtual bool Render() = 0; - virtual Redirections const GetRedirections() = 0; + virtual bool Render(std::string & out) = 0; + + virtual std::string const & GetBasePath() const = 0; + virtual Redirections const & GetRedirections() const = 0; }; #endif |