phoneapp/phoneuicontrol/inc/mphonelockinfo.h
changeset 36 2eacb6118286
parent 30 ebdbd102c78a
child 37 ba76fc04e6c2
equal deleted inserted replaced
30:ebdbd102c78a 36:2eacb6118286
     1 /*
       
     2 * Copyright (c) 2009 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:  An abstract class for get blocked key list.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPhoneLockInfo_H
       
    20 #define MPhoneLockInfo_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32cmn.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 *  An abstract class get phone lock info
       
    31 *
       
    32 */
       
    33 class MPhoneLockInfo
       
    34     {
       
    35     public:
       
    36 
       
    37         /**
       
    38         * Fetches autolock information - is it set on or not
       
    39         * @return is autolock set on (ETrue) or off (EFalse)
       
    40         */
       
    41         virtual TBool IsAutoLockOn() const = 0;
       
    42 
       
    43         /**
       
    44         * Fetches keylock information - is it set on or not
       
    45         * @return is keylock set on (ETrue) or off (EFalse)
       
    46         */
       
    47         virtual TBool IsKeyLockOn() const = 0;
       
    48         
       
    49     };
       
    50 
       
    51 #endif // MPhoneLockInfo_H
       
    52             
       
    53 // End of File