menu: generalize credits code to show any message
[picodrive.git] / platform / uiq3 / engine / debug.h
... / ...
CommitLineData
1#include <e32std.h>\r
2\r
3#define __DEBUG_PRINT_C\r
4#define __DEBUG_PRINT_FILE\r
5\r
6#if defined(__DEBUG_PRINT) || defined(__WINS__)\r
7 #include <e32svr.h> // RDebug\r
8 #ifdef __DEBUG_PRINT_FILE\r
9 void debugPrintFile(TRefByValue<const TDesC> aFmt, ...);\r
10 #define DEBUGPRINT debugPrintFile\r
11 #else\r
12 #define DEBUGPRINT RDebug::Print\r
13 #endif\r
14 TDesC* DO_CONV(const char* s);\r
15 #ifdef __DEBUG_PRINT_C\r
16 #ifdef __cplusplus\r
17 extern "C"\r
18 #endif\r
19 void lprintf(const char *format, ...);\r
20 #endif\r
21#else\r
22 #define DEBUGPRINT(x...)\r
23 #undef __DEBUG_PRINT_C\r
24 #undef __DEBUG_PRINT_FILE\r
25#endif\r
26\r
27void ExceptionHandler(TExcType exc);\r