| 1 | #include <e32std.h>\r |
| 2 | \r |
| 3 | #define __DEBUG_PRINT_C\r |
| 4 | \r |
| 5 | #if defined(__DEBUG_PRINT) || defined(__WINS__)\r |
| 6 | #include <e32svr.h> // RDebug\r |
| 7 | #ifdef __DEBUG_PRINT_FILE\r |
| 8 | void debugPrintFileInit();\r |
| 9 | void debugPrintFile(TRefByValue<const TDesC> aFmt, ...);\r |
| 10 | #define DEBUG_PRINT_FILE_INIT debugPrintFileInit\r |
| 11 | #define DEBUGPRINT debugPrintFile\r |
| 12 | #else\r |
| 13 | #define DEBUG_PRINT_FILE_INIT()\r |
| 14 | #define DEBUGPRINT RDebug::Print\r |
| 15 | #endif\r |
| 16 | TDesC* DO_CONV(const char* s);\r |
| 17 | #ifdef __DEBUG_PRINT_C\r |
| 18 | #ifdef __cplusplus\r |
| 19 | extern "C"\r |
| 20 | #endif\r |
| 21 | void dprintf(char *format, ...);\r |
| 22 | #endif\r |
| 23 | #else\r |
| 24 | #define DEBUGPRINT(x...)\r |
| 25 | #endif\r |
| 26 | \r |
| 27 | void ExceptionHandler(TExcType exc);\r |