diff -r 32e56106abf2 -r 66b5fe3c07fd screensaver/snsrdisplaycontrol_s60/inc/snsrdisplaycontrolcommon.h --- a/screensaver/snsrdisplaycontrol_s60/inc/snsrdisplaycontrolcommon.h Mon Sep 27 11:52:00 2010 +0300 +++ b/screensaver/snsrdisplaycontrol_s60/inc/snsrdisplaycontrolcommon.h Wed Oct 06 16:06:24 2010 +0300 @@ -20,6 +20,7 @@ #define SNSRDISPLAYCONTROLCOMMON_H #include +#include _LIT( KSnsrDispCtrlSrvName, "SnsrDisplayControlServer" ); @@ -35,4 +36,12 @@ const TInt KSnsrDispCtrlSrvVerMinor = 0; const TInt KSnsrDispCtrlSrvVerBuild = 0; +#if defined(_DEBUG) +#define RDEBUG( x ) RDebug::Printf( "%s %s (%u) %s", __FILE__, __PRETTY_FUNCTION__, __LINE__, x ); +#define RDEBUG1( x, y ) RDebug::Printf( "%s %s (%u) %s=%d", __FILE__, __PRETTY_FUNCTION__, __LINE__, x, y ); +#else +#define RDEBUG( x ) +#define RDEBUG1( x, y ) +#endif + #endif /* SNSRDISPLAYCONTROLCOMMON_H */