[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenox/konq-embed/dropin
From: Eva Brucherseifer <eva () kde ! org>
Date: 2006-06-12 14:51:07
Message-ID: 1150123867.059178.14745.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 550653 by eva:
- fixed kdDebug for --disable-debug compile
- added copyright notice
M +4 -0 kdebug.cpp
M +2 -0 kdebug.h
--- trunk/kdenox/konq-embed/dropin/kdebug.cpp #550652:550653
@@ -1,5 +1,7 @@
/* This file is part of the KDE libraries
Copyright (C) 1997 Matthias Kalle Dalheimer (kalle@kde.org)
+ Copyright (C) 2006 basyskom GmbH info@basyskom.com
+ Copyright (C) 2006 ROAD GmbH info@road-gmbh.de
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
@@ -217,6 +219,7 @@
}
kdbgstream &perror( kdbgstream &s) { return s << " " << strerror(errno); }
+#ifndef NDEBUG
kdbgstream kdDebug(int area) { return kdbgstream(area, KDEBUG_INFO); }
kdbgstream kdDebug(bool cond, int area) { if (cond) return kdbgstream(area, \
KDEBUG_INFO); else return kdbgstream(0, 0, false); }
@@ -226,6 +229,7 @@
kdbgstream kdWarning(bool cond, int area) { if (cond) return kdbgstream("WARNING: ", \
area, KDEBUG_WARN); else return kdbgstream(0,0,false); } kdbgstream kdFatal(int \
area) { return kdbgstream("FATAL: ", area, KDEBUG_FATAL); } kdbgstream kdFatal(bool \
cond, int area) { if (cond) return kdbgstream("FATAL: ", area, KDEBUG_FATAL); else \
return kdbgstream(0,0,false); } +#endif
void kdbgstream::flush() {
if (output.isEmpty() || !print)
--- trunk/kdenox/konq-embed/dropin/kdebug.h #550652:550653
@@ -1,5 +1,7 @@
/* This file is part of the KDE libraries
Copyright (C) 1997 Matthias Kalle Dalheimer (kalle@kde.org)
+ Copyright (C) 2006 basyskom GmbH info@basyskom.com
+ Copyright (C) 2006 ROAD GmbH info@road-gmbh.de
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic