author | llornkcor <llornkcor> | 2002-08-06 23:19:32 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-08-06 23:19:32 (UTC) |
commit | c829f4047a79947310b8ae759594c3fcf70a6df7 (patch) (unidiff) | |
tree | 30aa80991c6d1d228a5b67aaa092f2f40470469b | |
parent | 2ac1e6ec5a97d3721a3d6513ea68e4e21da1d40b (diff) | |
download | opie-c829f4047a79947310b8ae759594c3fcf70a6df7.zip opie-c829f4047a79947310b8ae759594c3fcf70a6df7.tar.gz opie-c829f4047a79947310b8ae759594c3fcf70a6df7.tar.bz2 |
doesnt compile without this file
-rw-r--r-- | noncore/unsupported/oipkg/debug.h | 21 |
1 files changed, 21 insertions, 0 deletions
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 @@ | |||
1 | #ifndef _DEBUG_H_ | ||
2 | #define _DEBUG_H_ | ||
3 | |||
4 | #include <stdio.h> | ||
5 | |||
6 | extern int debugLevel; | ||
7 | |||
8 | #define HACK | ||
9 | #define PACKAGELISTLOCAL | ||
10 | #define NEWLAYOUT | ||
11 | |||
12 | #define pvDebug(I, S) \ | ||
13 | if ( debugLevel < 3 ) \ | ||
14 | { \ | ||
15 | if ( I <= debugLevel ) qDebug(S);\ | ||
16 | }else{\ | ||
17 | if ( I <= debugLevel ) \ | ||
18 | qDebug("#%s:%i: %s \t\t(Level: %i)",__FILE__,__LINE__,QString(S).latin1(),I);\ | ||
19 | } | ||
20 | |||
21 | #endif | ||