phoneapp/phoneuiutils/inc/mphonestorage.h
branchRCL_3
changeset 17 38529f706030
parent 15 2a26698d78ba
child 18 011c89ac62cb
child 19 544e34b3255a
equal deleted inserted replaced
15:2a26698d78ba 17:38529f706030
     1 /*
       
     2 * Copyright (c) 2008 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:  Storage for data.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __MPHONESTORAGE_H
       
    20 #define __MPHONESTORAGE_H
       
    21 
       
    22 // INCLUDES
       
    23 
       
    24 #include <e32base.h>
       
    25 #include <e32keys.h>
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 class MPhoneStorage
       
    30     {
       
    31     public:
       
    32 
       
    33         /**
       
    34         * Destructor.
       
    35         */
       
    36         virtual ~MPhoneStorage() {};
       
    37 
       
    38         virtual void AppendBlockedKeysListL( TStdScanCode aScanCode ) = 0;
       
    39         
       
    40         virtual const RArray<TInt>& GetBlockedKeyList() const = 0;
       
    41         
       
    42         virtual void ResetBlockedKeysList() = 0;
       
    43         
       
    44         virtual TBool IsBlockedKeysListEmpty() = 0;
       
    45         
       
    46         virtual void SetScreenLocked( TBool aLocked ) = 0;
       
    47         
       
    48         virtual TBool IsScreenLocked() = 0;
       
    49         
       
    50         virtual TBool NeedToEnableKeylock() = 0;
       
    51         
       
    52         virtual void SetNeedToEnableKeylock( TBool aEnableKeylock ) = 0;
       
    53     };
       
    54 
       
    55 #endif // __MPHONESTORAGE_H
       
    56 
       
    57 // End of File