#include #define __DEBUG_PRINT_C #if defined(__DEBUG_PRINT) || defined(__WINS__) #include // RDebug #ifdef __DEBUG_PRINT_FILE void debugPrintFileInit(); void debugPrintFile(TRefByValue aFmt, ...); #define DEBUG_PRINT_FILE_INIT debugPrintFileInit #define DEBUGPRINT debugPrintFile #else #define DEBUG_PRINT_FILE_INIT() #define DEBUGPRINT RDebug::Print #endif TDesC* DO_CONV(const char* s); #ifdef __DEBUG_PRINT_C #ifdef __cplusplus extern "C" #endif void dprintf(char *format, ...); #endif #else #define DEBUGPRINT(x...) #endif void ExceptionHandler(TExcType exc);