diff options
Diffstat (limited to 'intern/ghost/GHOST_ISystem.h')
-rw-r--r-- | intern/ghost/GHOST_ISystem.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_ISystem.h b/intern/ghost/GHOST_ISystem.h index b781de266bc..4634eb1bc66 100644 --- a/intern/ghost/GHOST_ISystem.h +++ b/intern/ghost/GHOST_ISystem.h @@ -458,6 +458,20 @@ class GHOST_ISystem { const char * /*link*/, GHOST_DialogOptions /*dialog_options*/) const = 0; + /*************************************************************************************** + * Debugging + ***************************************************************************************/ + + /** + * Specify whether debug messages are to be shown. + */ + virtual void initDebug(bool is_debug_enabled) = 0; + + /** + * Check whether debug messages are to be shown. + */ + virtual bool isDebugEnabled() = 0; + protected: /** * Initialize the system. |