about summary refs log tree commit diff
path: root/src/engine/editor.h
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2010-05-29 07:25:38 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2010-05-29 07:25:38 +0000
commit72c06a258940696093f255fb1061beb58e1cdd0b (patch)
tree36b9a7712eec2d4f07837eab9c38ef1c5af85319 /src/engine/editor.h
parente56feb597bc743677633432f77513b02907fd169 (diff)
downloadzcatch-72c06a258940696093f255fb1061beb58e1cdd0b.tar.gz
zcatch-72c06a258940696093f255fb1061beb58e1cdd0b.zip
copied refactor to trunk
Diffstat (limited to 'src/engine/editor.h')
-rw-r--r--src/engine/editor.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/engine/editor.h b/src/engine/editor.h
new file mode 100644
index 00000000..32a5cc93
--- /dev/null
+++ b/src/engine/editor.h
@@ -0,0 +1,16 @@
+#ifndef ENGINE_EDITOR_H
+#define ENGINE_EDITOR_H
+#include "kernel.h"
+
+class IEditor : public IInterface
+{
+	MACRO_INTERFACE("editor", 0)
+public:
+
+	virtual ~IEditor() {}
+	virtual void Init() = 0;
+	virtual void UpdateAndRender() = 0;
+};
+
+extern IEditor *CreateEditor();
+#endif