diff options
| author | oy <Tom_Adams@web.de> | 2011-03-22 00:31:42 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-03-22 00:31:42 +0100 |
| commit | eaef2ce48a36a786dc60248dcc5e746865570b2d (patch) | |
| tree | 0e82b7f702afbfe6a62172a881709b944afb563d /src/engine | |
| parent | 588a411666de052fd237f9aaa857278ade420b51 (diff) | |
| download | zcatch-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')
| -rw-r--r-- | src/engine/editor.h | 1 |
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(); |