|
1 /* |
|
2 * Copyright (c) 2009 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 the License "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 * |
|
16 */ |
|
17 |
|
18 #ifndef _CMMPHONEBOOK_OPERATION_READ_3G_ADN_H |
|
19 #define _CMMPHONEBOOK_OPERATION_READ_3G_ADN_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <ctsy/pluginapi/cmmdatapackage.h> |
|
23 #include <e32base.h> |
|
24 #include "cmmphonebookoperationread.h" |
|
25 |
|
26 // CONSTANTS |
|
27 // None |
|
28 |
|
29 // MACROS |
|
30 // None |
|
31 |
|
32 // DATA TYPES |
|
33 // None |
|
34 |
|
35 // EXTERNAL DATA STRUCTURES |
|
36 // None |
|
37 |
|
38 // FUNCTION PROTOTYPES |
|
39 // None |
|
40 |
|
41 // CLASS DECLARATION |
|
42 /** |
|
43 * CMmPhoneBookOperationInit3G_ADN is used to create and send USIM-specific |
|
44 * PBStore ISI messages to PhoNet via PhoNetSender relating to read. |
|
45 */ |
|
46 class CMmPhoneBookOperationRead3g_adn : public CMmPhoneBookOperationRead |
|
47 { |
|
48 public: // Constructors and destructor |
|
49 |
|
50 /** |
|
51 * Two-phased constructor. |
|
52 * @return CMmPhoneBookOperationRead3g_adn*: created object |
|
53 */ |
|
54 static CMmPhoneBookOperationRead3g_adn* NewL(); |
|
55 |
|
56 /** |
|
57 * Destructor. |
|
58 */ |
|
59 ~CMmPhoneBookOperationRead3g_adn(); |
|
60 |
|
61 protected: |
|
62 /** |
|
63 * By default Symbian OS constructor is private. |
|
64 */ |
|
65 CMmPhoneBookOperationRead3g_adn(); |
|
66 |
|
67 |
|
68 private: |
|
69 |
|
70 /** |
|
71 * Class attributes are created in ConstructL. |
|
72 */ |
|
73 void ConstructL(); |
|
74 |
|
75 // Transmit |
|
76 |
|
77 /** |
|
78 * Constructs Data to read entry from USIM ADN Phonebook |
|
79 * @param |
|
80 * @return TInt: KErrNone or error value. |
|
81 */ |
|
82 TInt UICCHandleData3gADNReadReq(TInt aFileId, TInt aFileSFI); |
|
83 |
|
84 |
|
85 // Receive |
|
86 |
|
87 |
|
88 /** |
|
89 * Handles SimPbResp ISI -message |
|
90 * @param TInt aTagValue |
|
91 * @param TDes8& aFileData |
|
92 * @return TInt: KErrNone or error value. |
|
93 */ |
|
94 TInt HandleUICC3gADNRespL(const TInt aStatus, const TDes8& aFileData, const TInt aTransId); |
|
95 |
|
96 public: // Data |
|
97 // None |
|
98 |
|
99 protected: // Data |
|
100 // None |
|
101 |
|
102 private: // Data |
|
103 // None |
|
104 |
|
105 |
|
106 // List of Pbr Files records |
|
107 RArray <TPrimitiveTag> iPBRFileRecordArray; |
|
108 |
|
109 |
|
110 }; |
|
111 |
|
112 #endif // _CMMPHONEBOOK_OPERATION_READ_H |
|
113 |
|
114 // End of file |