Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

debug.h

Go to the documentation of this file.
00001 #ifndef _DEBUG_H_
00002 #define _DEBUG_H_
00003 
00004 #include <stdio.h>
00005 
00006 extern int debugLevel;
00007 
00008 #define HACK
00009 #define PACKAGELISTLOCAL
00010 #define NEWLAYOUT
00011 
00012 #define pvDebug(I, S) \
00013 if ( debugLevel < 3 ) \
00014 { \
00015         if ( I <= debugLevel ) qDebug(S);\
00016 }else{\
00017         if ( I <= debugLevel ) \
00018                 qDebug("#%s:%i: %s \t\t(Level: %i)",__FILE__,__LINE__,QString(S).latin1(),I);\
00019 }
00020 
00021 #endif

Generated on Sat Nov 5 16:18:10 2005 for OPIE by  doxygen 1.4.2