summaryrefslogtreecommitdiff
authorzecke <zecke>2004-05-28 23:56:53 (UTC)
committer zecke <zecke>2004-05-28 23:56:53 (UTC)
commite163b479be800d0b388cf52d046adfc83f5cc1d8 (patch) (unidiff)
treecd4ff4523cf1249220e69b835879f8632b9877bc
parent62c6f006218382835539f23a71c3ff6d1c51fb2f (diff)
downloadopie-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...
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/odebug.h5
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
@@ -448,36 +448,37 @@ inline QString ondBacktrace(int) { return QString::null; }
448 * Returns a warning stream. You can use it to print warning 448 * Returns a warning stream. You can use it to print warning
449 * information. 449 * information.
450 * @param area an id to identify the output, 0 for default 450 * @param area an id to identify the output, 0 for default
451 */ 451 */
452odbgstream odWarning(int area = 0); 452odbgstream odWarning(int area = 0);
453odbgstream odWarning(bool cond, int area = 0); 453odbgstream odWarning(bool cond, int area = 0);
454/** 454/**
455 * Returns an error stream. You can use it to print error 455 * Returns an error stream. You can use it to print error
456 * information. 456 * information.
457 * @param area an id to identify the output, 0 for default 457 * @param area an id to identify the output, 0 for default
458 */ 458 */
459odbgstream odError(int area = 0); 459odbgstream odError(int area = 0);
460odbgstream odError(bool cond, int area = 0); 460odbgstream odError(bool cond, int area = 0);
461/** 461/**
462 * Returns a fatal error stream. You can use it to print fatal error 462 * Returns a fatal error stream. You can use it to print fatal error
463 * information. 463 * information.
464 * @param area an id to identify the output, 0 for default 464 * @param area an id to identify the output, 0 for default
465 */ 465 */
466odbgstream odFatal(int area = 0); 466odbgstream odFatal(int area = 0);
467odbgstream odFatal(bool cond, int area = 0); 467odbgstream odFatal(bool cond, int area = 0);
468 468
469/** 469/**
470 * Deletes the odebugrc cache and therefore forces KDebug to reread the 470 * Deletes the odebugrc cache and therefore forces KDebug to reread the
471 * config file 471 * config file
472 */ 472 */
473void odClearDebugConfig(); 473void odClearDebugConfig();
474 474
475#ifdef OPIE_NO_DEBUG 475#ifdef OPIE_NO_DEBUG
476#define odDebug ondDebug 476#define odDebug ondDebug
477#define odBacktrace ondBacktrace 477#define odBacktrace ondBacktrace
478#endif 478#endif
479 479
480#endif
481
482} 480}
483} 481}
482
483#endif
484