blob: c519b190d7b92400a5393f58c2f6dc8709bfb121 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef _DEBUG_H_
#define _DEBUG_H_
#include <stdio.h>
extern int debugLevel;
#define HACK
#define PACKAGELISTLOCAL
#define NEWLAYOUT
#define pvDebug(I, S) \
if ( debugLevel < 3 ) \
{ \
if ( I <= debugLevel ) qDebug(S);\
}else{\
if ( I <= debugLevel ) \
qDebug("#%s:%i: %s \t\t(Level: %i)",__FILE__,__LINE__,QString(S).latin1(),I);\
}
#endif
|