author | zecke <zecke> | 2004-05-28 23:56:53 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-05-28 23:56:53 (UTC) |
commit | e163b479be800d0b388cf52d046adfc83f5cc1d8 (patch) (side-by-side diff) | |
tree | cd4ff4523cf1249220e69b835879f8632b9877bc | |
parent | 62c6f006218382835539f23a71c3ff6d1c51fb2f (diff) | |
download | opie-e163b479be800d0b388cf52d046adfc83f5cc1d8.zip opie-e163b479be800d0b388cf52d046adfc83f5cc1d8.tar.gz opie-e163b479be800d0b388cf52d046adfc83f5cc1d8.tar.bz2 |
Be nice to Ar. Put the closing of the namespace into the guards
guarding against multiple header inclusion...
-rw-r--r-- | libopie2/opiecore/odebug.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libopie2/opiecore/odebug.h b/libopie2/opiecore/odebug.h index b040166..3851a41 100644 --- a/libopie2/opiecore/odebug.h +++ b/libopie2/opiecore/odebug.h @@ -432,52 +432,53 @@ odbgstream odDebug(bool cond, int area = 0); * Returns a backtrace. * @param levels the number of levels (-1 for unlimited) of the backtrace * @return a backtrace */ QString odBacktrace(int levels = -1); /** * Returns a dummy debug stream. The stream does not print anything. * @param area an id to identify the output, 0 for default * @see odDebug() */ inline ondbgstream ondDebug(int = 0) { return ondbgstream(); } inline ondbgstream ondDebug(bool , int = 0) { return ondbgstream(); } inline QString ondBacktrace() { return QString::null; } inline QString ondBacktrace(int) { return QString::null; } /** * Returns a warning stream. You can use it to print warning * information. * @param area an id to identify the output, 0 for default */ odbgstream odWarning(int area = 0); odbgstream odWarning(bool cond, int area = 0); /** * Returns an error stream. You can use it to print error * information. * @param area an id to identify the output, 0 for default */ odbgstream odError(int area = 0); odbgstream odError(bool cond, int area = 0); /** * Returns a fatal error stream. You can use it to print fatal error * information. * @param area an id to identify the output, 0 for default */ odbgstream odFatal(int area = 0); odbgstream odFatal(bool cond, int area = 0); /** * Deletes the odebugrc cache and therefore forces KDebug to reread the * config file */ void odClearDebugConfig(); #ifdef OPIE_NO_DEBUG #define odDebug ondDebug #define odBacktrace ondBacktrace #endif -#endif - } } + +#endif + |