author | mickeyl <mickeyl> | 2004-04-04 17:02:15 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-04 17:02:15 (UTC) |
commit | 100def2936503dedc8138d738d68b69d5de66766 (patch) (unidiff) | |
tree | 5d35c8a0a5b10941cc17bb44df10dd851b81d06c /libopie2/opiecore/odebug.h | |
parent | fd9146de7698a796659b68606429da490f817138 (diff) | |
download | opie-100def2936503dedc8138d738d68b69d5de66766.zip opie-100def2936503dedc8138d738d68b69d5de66766.tar.gz opie-100def2936503dedc8138d738d68b69d5de66766.tar.bz2 |
fix #defines, so that you never have to say
Opie::Core::odebug << "bla", but just
odebug << "bla".
(I fear otherwise people wouldn't want to use it ;)
-rw-r--r-- | libopie2/opiecore/odebug.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libopie2/opiecore/odebug.h b/libopie2/opiecore/odebug.h index a5c9ded..b040166 100644 --- a/libopie2/opiecore/odebug.h +++ b/libopie2/opiecore/odebug.h | |||
@@ -61,10 +61,10 @@ class ondbgstream; | |||
61 | 61 | ||
62 | #define o_lineinfo "[" << __FILE__ << ":" << __LINE__ << "] " | 62 | #define o_lineinfo "[" << __FILE__ << ":" << __LINE__ << "] " |
63 | 63 | ||
64 | #define owarn odWarning() | 64 | #define owarn Opie::Core::odWarning() |
65 | #define oerr odError() | 65 | #define oerr Opie::Core::odError() |
66 | #define odebug odDebug() | 66 | #define odebug Opie::Core::odDebug() |
67 | #define ofatal odFatal() | 67 | #define ofatal Opie::Core::odFatal() |
68 | #define oendl "\n" | 68 | #define oendl "\n" |
69 | 69 | ||
70 | class odbgstreamprivate; | 70 | class odbgstreamprivate; |