mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
34 lines
1.1 KiB
C
34 lines
1.1 KiB
C
/* This file is part of qjson
|
|
*
|
|
* Copyright (C) 2009 Michael Leupold <lemma@confuego.org>
|
|
* Copyright (C) 2013 Silvio Moioli <silvio@moioli.net>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License version 2.1, as published by the Free Software Foundation.
|
|
*
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with this library; see the file COPYING.LIB. If not, write to
|
|
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
* Boston, MA 02110-1301, USA.
|
|
*/
|
|
|
|
#ifndef QJSON_DEBUG_H
|
|
#define QJSON_DEBUG_H
|
|
|
|
#include <QtCore/QDebug>
|
|
|
|
// define qjsonDebug()
|
|
#ifdef QJSON_VERBOSE_DEBUG_OUTPUT
|
|
inline QDebug qjsonDebug() { return QDebug(QtDebugMsg); }
|
|
#else
|
|
#define qjsonDebug() if(false) QDebug(QtDebugMsg)
|
|
#endif
|
|
|
|
#endif
|