]> Creatis software - cpPlugins.git/blobdiff - lib/mstch/state/render_state.hpp
Moved to version 1.0
[cpPlugins.git] / lib / mstch / state / render_state.hpp
diff --git a/lib/mstch/state/render_state.hpp b/lib/mstch/state/render_state.hpp
new file mode 100644 (file)
index 0000000..e44a956
--- /dev/null
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <memory>
+
+#include "token.hpp"
+
+namespace mstch {
+
+class render_context;
+
+class render_state {
+ public:
+  virtual ~render_state() {}
+  virtual std::string render(render_context& context, const token& token) = 0;
+};
+
+}