diff options
Diffstat (limited to 'common/debug.h')
-rw-r--r-- | common/debug.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/common/debug.h b/common/debug.h index 8d01cde539..5d58af03a6 100644 --- a/common/debug.h +++ b/common/debug.h @@ -49,7 +49,7 @@ struct SpecialDebugLevel { * Adds a engine debug level. * @param level the level flag (should be OR-able i.e. first one should be 1 than 2,4,...) * @param name the option name which is used in the debugger/on the command line to enable - * this special debug level, the option will be compared case !insentiv! later + * this special debug level (case will be ignored) * @param description the description which shows up in the debugger * @return true on success false on failure */ @@ -68,19 +68,14 @@ void clearAllSpecialDebugLevels(); bool enableSpecialDebugLevel(const String &name); /** - * Enables a list of engine debug levels, given as a comma-separated list - * of level names. - * @param name the list of names of debug levels to enable - */ -void enableSpecialDebugLevelList(const String &names); - -/** * Disables an engine debug level * @param name the name of the debug level to disable * @return true on success, false on failure */ bool disableSpecialDebugLevel(const String &name); + + typedef List<SpecialDebugLevel> SpecialDebugLevelList; /** @@ -89,12 +84,6 @@ typedef List<SpecialDebugLevel> SpecialDebugLevelList; */ const SpecialDebugLevelList &listSpecialDebugLevels(); -/** - * Return the active debug flag mask (i.e. all active debug flags ORed - * together into a single uint32). - */ -uint32 getEnabledSpecialDebugLevels(); - /** * Test whether the given debug level is enabled. |