00001 /* This file is part of qjson 00002 * 00003 * Copyright (C) 2009 Michael Leupold <lemma@confuego.org> 00004 * Copyright (C) 2013 Silvio Moioli <silvio@moioli.net> 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License version 2.1, as published by the Free Software Foundation. 00009 * 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public License 00017 * along with this library; see the file COPYING.LIB. If not, write to 00018 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00019 * Boston, MA 02110-1301, USA. 00020 */ 00021 00022 #ifndef QJSON_DEBUG_H 00023 #define QJSON_DEBUG_H 00024 00025 #include <QtCore/QDebug> 00026 00027 // define qjsonDebug() 00028 #ifdef QJSON_VERBOSE_DEBUG_OUTPUT 00029 inline QDebug qjsonDebug() { return QDebug(QtDebugMsg); } 00030 #else 00031 #define qjsonDebug() if(false) QDebug(QtDebugMsg) 00032 #endif 00033 00034 #endif
|
hosts this site. |
Send comments to: QJson Developers |