equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __CPHONEID_H__ |
|
17 #define __CPHONEID_H__ |
|
18 |
|
19 #include <e32base.h> |
|
20 #include <e32cons.h> |
|
21 #include <e32def.h> |
|
22 #include <etel3rdparty.h> |
|
23 |
|
24 #include "CISVAPIAsync.h" |
|
25 |
|
26 #include "CMainMenu.h" |
|
27 |
|
28 /** |
|
29 Verifies that the running application is registered. |
|
30 */ |
|
31 class CPhoneId : public CISVAPIAsync |
|
32 { |
|
33 // Methods |
|
34 public: |
|
35 static CPhoneId* NewL(MExecAsync* aController); |
|
36 ~CPhoneId(); |
|
37 |
|
38 void DoStartRequestL(); |
|
39 |
|
40 private: |
|
41 CPhoneId(MExecAsync* aController); |
|
42 void ConstructL(); |
|
43 |
|
44 void RunL(); |
|
45 void DoCancel(); |
|
46 TBool AppRegistered(); |
|
47 |
|
48 // Data |
|
49 public: |
|
50 /** |
|
51 Stores the mobile phone identity information which is checked by the |
|
52 running application. |
|
53 */ |
|
54 CTelephony::TPhoneIdV1 iPhoneIdV1; |
|
55 |
|
56 private: |
|
57 /** |
|
58 Package descriptor for iPhoneIdV1. |
|
59 */ |
|
60 CTelephony::TPhoneIdV1Pckg iPhoneIdV1Pckg; |
|
61 |
|
62 }; |
|
63 |
|
64 #endif // __CPHONEID_H__ |