File indexing completed on 2024-05-12 16:29:06

0001 /*
0002  * Copyright (c) 2015 Friedrich W. H. Kossebau <kossebau@kde.org>
0003  *
0004  * This library is free software; you can redistribute it and/or
0005  * modify it under the terms of the GNU Lesser General Public License
0006  * version 2.1 as published by the Free Software Foundation.
0007  *
0008  * This library is distributed in the hope that it will be useful, but
0009  * WITHOUT ANY WARRANTY; without even the implied warranty of
0010  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
0011  * Lesser General Public License for more details.
0012  *
0013  * You should have received a copy of the GNU Lesser General Public
0014  * License along with this library; if not, write to the Free Software
0015  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
0016  * 02110-1301 USA
0017  */
0018 
0019 #ifndef MSOOXML_DEBUG_H
0020 #define MSOOXML_DEBUG_H
0021 
0022 #include <QDebug>
0023 #include <QLoggingCategory>
0024 
0025 #include "komsooxml_export.h"
0026 
0027 extern const KOMSOOXML_EXPORT QLoggingCategory &MSOOXML_LOG();
0028 
0029 #define debugMsooXml qCDebug(MSOOXML_LOG)
0030 #define warnMsooXml qCWarning(MSOOXML_LOG)
0031 #define errorMsooXml qCCritical(MSOOXML_LOG)
0032 
0033 #endif