dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
notifylogging.h
Go to the documentation of this file.
1 
16 /*
17  * This program is free software; you can redistribute it and/or modify
18  * it under the terms of the GNU General Public License as published by
19  * the Free Software Foundation; either version 3 of the License, or
20  * (at your option) any later version.
21  *
22  * This program is distributed in the hope that it will be useful, but
23  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
24  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
25  * for more details.
26  *
27  * You should have received a copy of the GNU General Public License along
28  * with this program; if not, see <http://www.gnu.org/licenses/>
29  */
30 
31 #ifndef NOTIFYLOGGING_H
32 #define NOTIFYLOGGING_H
33 
34 #include "qdebug.h"
35 
36 #define DEBUG_NOTIFIES_ENABLE
37 
38 #ifdef DEBUG_NOTIFIES_ENABLE
39 QDebug qNotifyDebug();
40 #endif
41 
42 #ifndef DEBUG_NOTIFIES_ENABLE
43 QNoDebug qNotifyDebug();
44 #endif
45 
46 #define qNotifyDebug_if(test) \
47  if (test) \
48  qNotifyDebug()
49 
50 #endif // NOTIFYLOGGING_H
QDebug qNotifyDebug()