86
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: Common constants for client and server sides of
|
|
15 |
* Screensaver Display Control.
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
#ifndef SNSRDISPLAYCONTROLCOMMON_H
|
|
20 |
#define SNSRDISPLAYCONTROLCOMMON_H
|
|
21 |
|
|
22 |
#include <e32def.h>
|
97
|
23 |
#include <e32debug.h>
|
86
|
24 |
|
|
25 |
|
|
26 |
_LIT( KSnsrDispCtrlSrvName, "SnsrDisplayControlServer" );
|
|
27 |
|
|
28 |
enum TSnsrDispCtrlSrvCmd
|
|
29 |
{
|
|
30 |
ESnsrDispCtrlSrvDisplayOff = 0,
|
|
31 |
ESnsrDispCtrlSrvDisplayLowPower,
|
|
32 |
ESnsrDispCtrlSrvDisplayFullPower
|
|
33 |
};
|
|
34 |
|
|
35 |
const TInt KSnsrDispCtrlSrvVerMajor = 1;
|
|
36 |
const TInt KSnsrDispCtrlSrvVerMinor = 0;
|
|
37 |
const TInt KSnsrDispCtrlSrvVerBuild = 0;
|
|
38 |
|
97
|
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 |
|
86
|
47 |
#endif /* SNSRDISPLAYCONTROLCOMMON_H */
|