equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010-2010 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: |
|
15 * A dynamic state class for security mode. |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef MPHONESECURITYMESSAGEHANDLER_H |
|
20 #define MPHONESECURITYMESSAGEHANDLER_H |
|
21 |
|
22 class TUid; |
|
23 |
|
24 class MPhoneSecurityMessageHandler |
|
25 { |
|
26 public: |
|
27 /** |
|
28 * Handles phone engine message. Dynamic state object listens phone engine |
|
29 * message to determinate sim states. |
|
30 * |
|
31 * @param aMessage Message enumeration. |
|
32 * @param aCallId Call identifier. |
|
33 */ |
|
34 virtual void HandlePhoneEngineMessageL( const TInt aMessage, TInt aCallId ) = 0; |
|
35 |
|
36 /** |
|
37 * Handle property change. Dynamic state object listens P&S key changes |
|
38 * to determinate autolock and sim security states. |
|
39 * |
|
40 * @param aCategory Unique identifer category reference. |
|
41 * @param aKey Key as unsigned integer. |
|
42 * @param aValue Key value as integer. |
|
43 */ |
|
44 virtual void HandlePropertyChangedL(const TUid& aCategory, |
|
45 const TUint aKey, |
|
46 const TInt aValue ) = 0; |
|
47 }; |
|
48 |
|
49 #endif |