screensaver/snsrdisplaycontrol_s60/inc/snsrdisplaycontrolcommon.h
changeset 97 66b5fe3c07fd
parent 86 e4f038c420f7
equal deleted inserted replaced
95:32e56106abf2 97:66b5fe3c07fd
    18 
    18 
    19 #ifndef SNSRDISPLAYCONTROLCOMMON_H
    19 #ifndef SNSRDISPLAYCONTROLCOMMON_H
    20 #define SNSRDISPLAYCONTROLCOMMON_H
    20 #define SNSRDISPLAYCONTROLCOMMON_H
    21 
    21 
    22 #include <e32def.h>
    22 #include <e32def.h>
       
    23 #include <e32debug.h>
    23 
    24 
    24 
    25 
    25 _LIT( KSnsrDispCtrlSrvName, "SnsrDisplayControlServer" ); 
    26 _LIT( KSnsrDispCtrlSrvName, "SnsrDisplayControlServer" ); 
    26 
    27 
    27 enum TSnsrDispCtrlSrvCmd
    28 enum TSnsrDispCtrlSrvCmd
    33 
    34 
    34 const TInt KSnsrDispCtrlSrvVerMajor = 1;
    35 const TInt KSnsrDispCtrlSrvVerMajor = 1;
    35 const TInt KSnsrDispCtrlSrvVerMinor = 0;
    36 const TInt KSnsrDispCtrlSrvVerMinor = 0;
    36 const TInt KSnsrDispCtrlSrvVerBuild = 0;
    37 const TInt KSnsrDispCtrlSrvVerBuild = 0;
    37 
    38 
       
    39 #if defined(_DEBUG)
       
    40 #define RDEBUG( x ) RDebug::Printf( "%s %s (%u) %s", __FILE__, __PRETTY_FUNCTION__, __LINE__, x );
       
    41 #define RDEBUG1( x, y ) RDebug::Printf( "%s %s (%u) %s=%d", __FILE__, __PRETTY_FUNCTION__, __LINE__, x, y );
       
    42 #else
       
    43 #define RDEBUG( x )
       
    44 #define RDEBUG1( x, y )
       
    45 #endif
       
    46 
    38 #endif /* SNSRDISPLAYCONTROLCOMMON_H */
    47 #endif /* SNSRDISPLAYCONTROLCOMMON_H */