equal
deleted
inserted
replaced
37 public: |
37 public: |
38 |
38 |
39 IMPORT_C static CPhoneStorage* NewL(); |
39 IMPORT_C static CPhoneStorage* NewL(); |
40 |
40 |
41 IMPORT_C virtual ~CPhoneStorage(); |
41 IMPORT_C virtual ~CPhoneStorage(); |
42 |
42 |
43 /** |
|
44 * AppendBlockedKeysListL. |
|
45 * |
|
46 * @since S60 v5.0 |
|
47 */ |
|
48 IMPORT_C void AppendBlockedKeysListL( TStdScanCode aScanCode ); |
|
49 |
|
50 /** |
|
51 * GetBlockedKeyList. |
|
52 * |
|
53 * @since S60 v5.0 |
|
54 */ |
|
55 IMPORT_C const RArray<TInt>& GetBlockedKeyList() const; |
|
56 |
|
57 /** |
|
58 * ResetBlockedKeysList. |
|
59 * |
|
60 * @since S60 v5.0 |
|
61 */ |
|
62 IMPORT_C void ResetBlockedKeysList(); |
|
63 |
|
64 /** |
|
65 * IsBlockedKeysListEmpty. |
|
66 */ |
|
67 IMPORT_C TBool IsBlockedKeysListEmpty(); |
|
68 |
|
69 /** |
|
70 * SetScreenLocked. |
|
71 */ |
|
72 IMPORT_C void SetScreenLocked( TBool aLocked ); |
|
73 |
|
74 /** |
|
75 * IsScreenLocked. |
|
76 */ |
|
77 IMPORT_C TBool IsScreenLocked(); |
|
78 |
|
79 /** |
43 /** |
80 * SetNeedToEnableKeylock. |
44 * SetNeedToEnableKeylock. |
81 */ |
45 */ |
82 IMPORT_C void SetNeedToEnableKeylock( TBool aNeedToEnableKeylock ); |
46 IMPORT_C void SetNeedToEnableKeylock( TBool aNeedToEnableKeylock ); |
83 |
47 |
91 CPhoneStorage(); |
55 CPhoneStorage(); |
92 |
56 |
93 void ConstructL(); |
57 void ConstructL(); |
94 |
58 |
95 private: // data |
59 private: // data |
96 |
60 |
97 // Blocked key list |
|
98 RArray<TInt> iBlockedKeysScanCode; |
|
99 |
|
100 // Is touch screen locked there is an incoming call |
|
101 TBool iIsScreenLocked; |
|
102 |
|
103 // ETrue, if keylock must enable when call ends |
61 // ETrue, if keylock must enable when call ends |
104 TBool iNeedToEnableKeylock; |
62 TBool iNeedToEnableKeylock; |
105 }; |
63 }; |
106 #endif // CPHONESTORAGE_H |
64 #endif // CPHONESTORAGE_H |