screensaver/snsrdisplaycontrol_s60/inc/snsrdisplaycontrolcommon.h
changeset 92 6727c5d0afc7
child 97 66b5fe3c07fd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/screensaver/snsrdisplaycontrol_s60/inc/snsrdisplaycontrolcommon.h	Fri Sep 17 08:27:54 2010 +0300
@@ -0,0 +1,38 @@
+/*
+* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Common constants for client and server sides of
+*              Screensaver Display Control.
+*
+*/
+
+#ifndef SNSRDISPLAYCONTROLCOMMON_H
+#define SNSRDISPLAYCONTROLCOMMON_H
+
+#include <e32def.h>
+
+
+_LIT( KSnsrDispCtrlSrvName, "SnsrDisplayControlServer" ); 
+
+enum TSnsrDispCtrlSrvCmd
+    {
+    ESnsrDispCtrlSrvDisplayOff = 0,
+    ESnsrDispCtrlSrvDisplayLowPower,
+    ESnsrDispCtrlSrvDisplayFullPower
+    };
+
+const TInt KSnsrDispCtrlSrvVerMajor = 1;
+const TInt KSnsrDispCtrlSrvVerMinor = 0;
+const TInt KSnsrDispCtrlSrvVerBuild = 0;
+
+#endif /* SNSRDISPLAYCONTROLCOMMON_H */