summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/debug.h
blob: e73b9b293b29ea59bfc1e44c6c9487c6ae0dd43f (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 NEWLAYOUT

#define pvDebug(I, S) \
if ( debugLevel < 3 ) \
{ \
	if ( I <= debugLevel ) qDebug(S);\
}else{\
	if ( I <= debugLevel ) \
		printf("# %s \t\t(Level: %i)\n",QString(S).latin1(),I);\
}

#endif