phoneapp/phoneuicontrol/inc/mphonelockinfo.h
changeset 0 5f000ab63145
child 74 d1c62c765e48
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phoneapp/phoneuicontrol/inc/mphonelockinfo.h	Mon Jan 18 20:18:27 2010 +0200
@@ -0,0 +1,53 @@
+/*
+* Copyright (c) 2009 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:  An abstract class for get blocked key list.
+*
+*/
+
+
+#ifndef MPhoneLockInfo_H
+#define MPhoneLockInfo_H
+
+// INCLUDES
+#include <e32cmn.h>
+
+// FORWARD DECLARATIONS
+
+// CLASS DECLARATION
+
+/**
+*  An abstract class get phone lock info
+*
+*/
+class MPhoneLockInfo
+    {
+    public:
+
+        /**
+        * Fetches autolock information - is it set on or not
+        * @return is autolock set on (ETrue) or off (EFalse)
+        */
+        virtual TBool IsAutoLockOn() const = 0;
+
+        /**
+        * Fetches keylock information - is it set on or not
+        * @return is keylock set on (ETrue) or off (EFalse)
+        */
+        virtual TBool IsKeyLockOn() const = 0;
+        
+    };
+
+#endif // MPhoneLockInfo_H
+            
+// End of File