1 /* |
|
2 * Copyright (c) 2002 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 * Defines dialog CApSelQueryDialog for access point selection. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include <aknlists.h> |
|
22 #include <ApListItem.h> |
|
23 #include <AknIconArray.h> |
|
24 #include <AknsUtils.h> |
|
25 |
|
26 #include <apsetui.rsg> |
|
27 #include <apsettings.mbg> |
|
28 |
|
29 #include <featmgr.h> |
|
30 |
|
31 #include "ApSelectorListBoxModel.h" |
|
32 #include "ApSettingsModel.h" |
|
33 #include "ApSettingsHandlerUI.hrh" |
|
34 #include "ApSelQueryDialog.h" |
|
35 |
|
36 |
|
37 #include "ApSettingsHandlerLogger.h" |
|
38 #include <data_caging_path_literals.hrh> |
|
39 |
|
40 // CONSTANTS |
|
41 // Drive and file name of the MBM file containing icons for Protection |
|
42 _LIT( KFileIcons, "z:ApSettings.mbm" ); |
|
43 |
|
44 |
|
45 // ================= MEMBER FUNCTIONS ======================= |
|
46 |
|
47 // Destructor |
|
48 CApSelQueryDialog::~CApSelQueryDialog() |
|
49 { |
|
50 } |
|
51 |
|
52 |
|
53 |
|
54 // Constructor |
|
55 CApSelQueryDialog::CApSelQueryDialog( CApSettingsModel& aModel, |
|
56 TUint32* aIndex ) |
|
57 :CAknListQueryDialog( (TInt*)aIndex ), |
|
58 iNeedUnlock( EFalse ) |
|
59 { |
|
60 } |
|
61 |
|
62 |
|
63 |
|
64 // --------------------------------------------------------- |
|
65 // CApSelQueryDialog::HandleApDbEventL |
|
66 // called by the active access point framework |
|
67 // --------------------------------------------------------- |
|
68 // |
|
69 void CApSelQueryDialog::HandleApDbEventL( TEvent anEvent ) |
|
70 { |
|
71 } |
|
72 |
|
73 |
|
74 |
|
75 |
|
76 // --------------------------------------------------------- |
|
77 // CApSelQueryDialog::PostLayoutDynInitL(); |
|
78 // called by framework before dialog is shown |
|
79 // --------------------------------------------------------- |
|
80 // |
|
81 void CApSelQueryDialog::PreLayoutDynInitL() |
|
82 { |
|
83 } |
|
84 |
|
85 |
|
86 // --------------------------------------------------------- |
|
87 // CApSelQueryDialog::PostLayoutDynInitL(); |
|
88 // called by framework before dialog is shown |
|
89 // --------------------------------------------------------- |
|
90 // |
|
91 void CApSelQueryDialog::PostLayoutDynInitL() |
|
92 { |
|
93 } |
|
94 |
|
95 |
|
96 // --------------------------------------------------------- |
|
97 // CApSelQueryDialog::OkToExitL( TInt aButtonId ) |
|
98 // called by framework when the OK button is pressed |
|
99 // --------------------------------------------------------- |
|
100 // |
|
101 TBool CApSelQueryDialog::OkToExitL( TInt aButtonId ) |
|
102 { |
|
103 return EFalse; |
|
104 } |
|
105 |
|
106 |
|
107 |
|
108 |
|
109 // From CCoeControl |
|
110 // --------------------------------------------------------- |
|
111 // CApSelQueryDialog::OfferKeyEventL |
|
112 // --------------------------------------------------------- |
|
113 // |
|
114 TKeyResponse CApSelQueryDialog::OfferKeyEventL( const TKeyEvent& aKeyEvent, |
|
115 TEventCode aType) |
|
116 { |
|
117 User::Leave( KErrNotSupported ); |
|
118 } |
|
119 |
|
120 |
|
121 |
|
122 // From MEikCommandObserver |
|
123 // --------------------------------------------------------- |
|
124 // CApSelQueryDialog::ProcessCommandL |
|
125 // --------------------------------------------------------- |
|
126 // |
|
127 void CApSelQueryDialog::ProcessCommandL( TInt aCommandId ) |
|
128 { |
|
129 } |
|
130 |
|
131 |
|
132 |
|
133 // --------------------------------------------------------- |
|
134 // CApSelQueryDialog::FillListBoxWithDataL() |
|
135 // called when listbopx needs to be filled with data |
|
136 // --------------------------------------------------------- |
|
137 // |
|
138 void CApSelQueryDialog::FillListBoxWithDataL() |
|
139 { |
|
140 } |
|
141 |
|
142 |
|
143 |
|
144 |
|
145 // --------------------------------------------------------- |
|
146 // CApSelQueryDialog::LoadIconsL() |
|
147 // called when listbox is constructed |
|
148 // --------------------------------------------------------- |
|
149 // |
|
150 TInt CApSelQueryDialog::LoadIconsL() |
|
151 { |
|
152 return 0; |
|
153 } |
|
154 |
|
155 // End of File |
|