equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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 * Initial Contributors: |
|
9 * Nokia Corporation - initial contribution. |
|
10 * |
|
11 * Contributors: |
|
12 * Description : |
|
13 * |
|
14 */ |
|
15 |
|
16 #ifndef SECURITYCODEVERIFIER_H |
|
17 #define SECURITYCODEVERIFIER_H |
|
18 |
|
19 #include <etelmm.h> |
|
20 |
|
21 class CCLCKCommandHandler; |
|
22 |
|
23 /** |
|
24 * AO class handling Secirity Code verification requests |
|
25 */ |
|
26 NONSHARABLE_CLASS(CSecurityCodeVerifier) : public CActive |
|
27 { |
|
28 public: |
|
29 static CSecurityCodeVerifier* NewL(CCLCKCommandHandler* aCLCKHandler, RMobilePhone& aPhone); |
|
30 ~CSecurityCodeVerifier(); |
|
31 void Start(TDesC8& aPassword, RMobilePhone::TMobilePhoneSecurityCode& aSecurityCode); |
|
32 |
|
33 private: // methods from CActive |
|
34 virtual void RunL(); |
|
35 virtual void DoCancel(); |
|
36 // RunError not needed as RunL does not leave |
|
37 |
|
38 private: |
|
39 CSecurityCodeVerifier(CCLCKCommandHandler* aCLCKHandler, RMobilePhone& aPhone); |
|
40 void ConstructL(); |
|
41 |
|
42 private: |
|
43 CCLCKCommandHandler* iCLCKHandler; |
|
44 RMobilePhone& iPhone; |
|
45 RMobilePhone::TMobilePhoneSecurityEvent iSecurityEvent; |
|
46 }; |
|
47 |
|
48 #endif /* SECURITYCODEVERIFIER_H */ |