diff options
author | Alexander Kuznetsov <kuzsasha@gmail.com> | 2012-03-16 21:37:45 +0400 |
---|---|---|
committer | Alexander Kuznetsov <kuzsasha@gmail.com> | 2012-03-16 21:37:45 +0400 |
commit | ed44ddd816d3bcd9be2e2097e1087dcdbf9b91e1 (patch) | |
tree | 357e958f56adb04aa07e20af827c8d0b6ba5532f /intern/ghost/GHOST_ISystem.h | |
parent | 2caa507b7eaa7d55a0be7bda513f08ecfe4791f1 (diff) |
Patch by Psy-Fi + my minor changes
Adds conformation on exit for windows. Needs to be enabled in user perf.
Tried to edit blender.exe.manifest for more modern dialog look, but didn't work out.
Diffstat (limited to 'intern/ghost/GHOST_ISystem.h')
-rw-r--r-- | intern/ghost/GHOST_ISystem.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/intern/ghost/GHOST_ISystem.h b/intern/ghost/GHOST_ISystem.h index eeee8c0477b..890917f9822 100644 --- a/intern/ghost/GHOST_ISystem.h +++ b/intern/ghost/GHOST_ISystem.h @@ -392,7 +392,11 @@ public: */ virtual void putClipboard(GHOST_TInt8 *buffer, bool selection) const = 0; - + /** + * Confirms quitting he program when there is just one window left open + * in the application + */ + virtual int confirmQuit(GHOST_IWindow * window) const = 0; protected: /** * Initialize the system. |