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 // CPhoneApp.h |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __CPHONEID_H__ |
|
19 #define __CPHONEID_H__ |
|
20 |
|
21 #include <e32base.h> |
|
22 #include <e32cons.h> |
|
23 #include <e32def.h> |
|
24 #include <etel3rdparty.h> |
|
25 |
|
26 |
|
27 #include "CISVAPISync.h" |
|
28 |
|
29 #include "CMainMenu.h" |
|
30 |
|
31 /** |
|
32 Retrieves information regarding the current phone and prints this to the |
|
33 console. |
|
34 */ |
|
35 class CPhoneId : public CISVAPISync |
|
36 { |
|
37 |
|
38 // Methods |
|
39 public: |
|
40 static CPhoneId* NewL(MExecSync* aController); |
|
41 ~CPhoneId(); |
|
42 |
|
43 void DoStartRequestL(); |
|
44 |
|
45 private: |
|
46 CPhoneId(MExecSync* aController); |
|
47 void ConstructL(); |
|
48 |
|
49 void RunL(); |
|
50 void DoCancel(); |
|
51 TBool CheckAppRegistered(); |
|
52 |
|
53 // Data |
|
54 public: |
|
55 /** |
|
56 Stores the mobile phone identity information which is checked by the |
|
57 running application. |
|
58 */ |
|
59 CTelephony::TPhoneIdV1 iPhoneIdV1; |
|
60 |
|
61 private: |
|
62 /** |
|
63 Packages iPhoneIdV1. |
|
64 */ |
|
65 CTelephony::TPhoneIdV1Pckg iPhoneIdV1Pckg; |
|
66 |
|
67 }; |
|
68 |
|
69 #endif // __CPHONEID_H__ |