equal
deleted
inserted
replaced
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 |
|