about summary refs log tree commit diff
path: root/src/engine/editor.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-03-22 00:31:42 +0100
committeroy <Tom_Adams@web.de>2011-03-22 00:31:42 +0100
commiteaef2ce48a36a786dc60248dcc5e746865570b2d (patch)
tree0e82b7f702afbfe6a62172a881709b944afb563d /src/engine/editor.h
parent588a411666de052fd237f9aaa857278ade420b51 (diff)
downloadzcatch-eaef2ce48a36a786dc60248dcc5e746865570b2d.tar.gz
zcatch-eaef2ce48a36a786dc60248dcc5e746865570b2d.zip
added notification for unsaved map data and a confirmation for overwriting an existing map in the editor. Closes #115
Diffstat (limited to 'src/engine/editor.h')
-rw-r--r--src/engine/editor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/editor.h b/src/engine/editor.h
index 154dc47f..1cafea04 100644
--- a/src/engine/editor.h
+++ b/src/engine/editor.h
@@ -12,6 +12,7 @@ public:
 	virtual ~IEditor() {}
 	virtual void Init() = 0;
 	virtual void UpdateAndRender() = 0;
+	virtual bool HasUnsavedData() = 0;
 };
 
 extern IEditor *CreateEditor();