summaryrefslogtreecommitdiff
path: root/src/Content.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Content.hpp')
-rw-r--r--src/Content.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Content.hpp b/src/Content.hpp
index c630568..e337074 100644
--- a/src/Content.hpp
+++ b/src/Content.hpp
@@ -1,9 +1,18 @@
#ifndef CONTENT_H
#define CONTENT_H 1
+#include <string>
+#include <tuple>
+#include <vector>
+
+typedef std::vector<std::tuple<std::string, std::string>> Redirections;
+
class Content {
public:
- virtual bool Render();
+ virtual bool Init(std::string & basePath) = 0;
+ virtual void Shutdown() = 0;
+ virtual bool Render() = 0;
+ virtual Redirections const GetRedirections() = 0;
};
#endif