From a3205d9bf5570af8441ed81cd6d9eeadf22319c9 Mon Sep 17 00:00:00 2001 From: tille Date: Tue, 23 Apr 2002 11:16:45 +0000 Subject: ... mostly rewritten. --- (limited to 'noncore/unsupported/oipkg/debug.h') diff --git a/noncore/unsupported/oipkg/debug.h b/noncore/unsupported/oipkg/debug.h new file mode 100644 index 0000000..c53e36c --- a/dev/null +++ b/noncore/unsupported/oipkg/debug.h @@ -0,0 +1,20 @@ +#ifndef _DEBUG_H_ +#define _DEBUG_H_ + +#include + +extern int debugLevel; + +#define HACK + + +#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 \ No newline at end of file -- cgit v0.9.0.2