From c829f4047a79947310b8ae759594c3fcf70a6df7 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Tue, 06 Aug 2002 23:19:32 +0000 Subject: doesnt compile without this file --- (limited to 'noncore') diff --git a/noncore/unsupported/oipkg/debug.h b/noncore/unsupported/oipkg/debug.h new file mode 100644 index 0000000..c519b19 --- a/dev/null +++ b/noncore/unsupported/oipkg/debug.h @@ -0,0 +1,21 @@ +#ifndef _DEBUG_H_ +#define _DEBUG_H_ + +#include + +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 -- cgit v0.9.0.2