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: Implementation of CApSelectorListbox. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 |
|
21 #include <eikclbd.h> |
|
22 #include <AknIconArray.h> |
|
23 //#include <EIKON.mbg> |
|
24 #include <avkon.mbg> |
|
25 #include <aknkeys.h> |
|
26 #include <apsetui.rsg> |
|
27 #include <featmgr.h> |
|
28 |
|
29 #include "ApSelectorListbox.h" |
|
30 #include "ApSelectorListBoxModel.h" |
|
31 #include "ApListItem.h" |
|
32 |
|
33 #include <AknsUtils.h> |
|
34 #include <apsettings.mbg> |
|
35 #include <data_caging_path_literals.hrh> |
|
36 |
|
37 #include "ApSettingsHandlerLogger.h" |
|
38 |
|
39 // CONSTANTS |
|
40 // Drive and file name of the MBM file containing icons for Protection |
|
41 _LIT( KFileIcons, "z:ApSettings.mbm" ); |
|
42 |
|
43 |
|
44 // ================= MEMBER FUNCTIONS ======================= |
|
45 |
|
46 // --------------------------------------------------------- |
|
47 // CApSelectorListbox::NewL |
|
48 // --------------------------------------------------------- |
|
49 // |
|
50 CApSelectorListbox* CApSelectorListbox::NewL |
|
51 ( const CCoeControl* aParent ) |
|
52 { |
|
53 return NULL; |
|
54 } |
|
55 |
|
56 |
|
57 // --------------------------------------------------------- |
|
58 // CApSelectorListbox::CApSelectorListbox |
|
59 // --------------------------------------------------------- |
|
60 // |
|
61 CApSelectorListbox::CApSelectorListbox() |
|
62 { |
|
63 } |
|
64 |
|
65 |
|
66 // --------------------------------------------------------- |
|
67 // CApSelectorListbox::~CApSelectorListbox |
|
68 // --------------------------------------------------------- |
|
69 // |
|
70 CApSelectorListbox::~CApSelectorListbox() |
|
71 { |
|
72 |
|
73 } |
|
74 |
|
75 |
|
76 // --------------------------------------------------------- |
|
77 // CApSelectorListbox::OfferKeyEventL |
|
78 // --------------------------------------------------------- |
|
79 // |
|
80 TKeyResponse CApSelectorListbox::OfferKeyEventL |
|
81 ( const TKeyEvent& aKeyEvent, TEventCode aType ) |
|
82 { |
|
83 User::Leave( KErrNotSupported ); |
|
84 } |
|
85 |
|
86 |
|
87 |
|
88 // --------------------------------------------------------- |
|
89 // CApSelectorListbox::FocusChanged |
|
90 // --------------------------------------------------------- |
|
91 // |
|
92 void CApSelectorListbox::FocusChanged( TDrawNow aDrawNow ) |
|
93 { |
|
94 } |
|
95 |
|
96 |
|
97 |
|
98 // --------------------------------------------------------- |
|
99 // CApSelectorListbox::LoadIconsL |
|
100 // --------------------------------------------------------- |
|
101 // |
|
102 void CApSelectorListbox::LoadIconsL() |
|
103 { |
|
104 } |
|
105 |
|
106 |
|
107 // --------------------------------------------------------- |
|
108 // CApSelectorListbox::Uid4Item |
|
109 // --------------------------------------------------------- |
|
110 // |
|
111 TUint32 CApSelectorListbox::Uid4Item( TInt aItem ) const |
|
112 { |
|
113 return 0; |
|
114 } |
|
115 |
|
116 |
|
117 // --------------------------------------------------------- |
|
118 // CApSelectorListbox::CurrentItemUid |
|
119 // --------------------------------------------------------- |
|
120 // |
|
121 TUint32 CApSelectorListbox::CurrentItemUid() const |
|
122 { |
|
123 return 0; |
|
124 } |
|
125 |
|
126 |
|
127 |
|
128 // --------------------------------------------------------- |
|
129 // CApSelectorListbox::CurrentItemNameL |
|
130 // --------------------------------------------------------- |
|
131 // |
|
132 const TDesC& CApSelectorListbox::CurrentItemNameL() |
|
133 { |
|
134 User::Leave( KErrNotSupported ); |
|
135 } |
|
136 |
|
137 |
|
138 // --------------------------------------------------------- |
|
139 // CApSelectorListbox::HandleResourceChange |
|
140 // --------------------------------------------------------- |
|
141 // |
|
142 void CApSelectorListbox::HandleResourceChange(TInt aType) |
|
143 { |
|
144 } |
|
145 |
|
146 // End of File |
|