diff options
Diffstat (limited to 'intern/ghost/GHOST_C-api.h')
-rw-r--r-- | intern/ghost/GHOST_C-api.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h index a22b6bc371c..3add5ccb60a 100644 --- a/intern/ghost/GHOST_C-api.h +++ b/intern/ghost/GHOST_C-api.h @@ -842,6 +842,14 @@ extern void GHOST_putClipboard(GHOST_TInt8 *buffer, int selection); */ extern int GHOST_toggleConsole(int action); + +/** + * Confirms quitting he program when there is just one window left open + * in the application + */ +extern int GHOST_confirmQuit(GHOST_WindowHandle windowhandle); + + #ifdef __cplusplus } #endif |