|
1 /* |
|
2 * Copyright (c) 2006 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: Declaration of class CApControlListbox. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef APSELECTOR_LISTBOX_H |
|
20 #define APSELECTOR_LISTBOX_H |
|
21 |
|
22 // INCLUDE FILES |
|
23 #include <aknlists.h> |
|
24 class CAPControlListPluginContainer; |
|
25 |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * Listbox to display the list of access points. |
|
31 * |
|
32 */ |
|
33 NONSHARABLE_CLASS(CApControlListbox): public CAknSingleStyleListBox |
|
34 { |
|
35 public: // Construct / destruct |
|
36 |
|
37 /** |
|
38 * Destructor. |
|
39 */ |
|
40 virtual ~CApControlListbox(); |
|
41 |
|
42 |
|
43 /** |
|
44 * Constructor. |
|
45 */ |
|
46 CApControlListbox(); |
|
47 |
|
48 public : |
|
49 /** |
|
50 * Handle key event. |
|
51 * @param aKeyEvent The key event. |
|
52 * @param aType Key event type. |
|
53 * @return Response (was the key event consumed?). |
|
54 */ |
|
55 TKeyResponse OfferKeyEventL |
|
56 ( const TKeyEvent& aKeyEvent, TEventCode aType ); |
|
57 |
|
58 /** |
|
59 * Handle focus change. |
|
60 * @param aDrawNow Draw now? |
|
61 */ |
|
62 void FocusChanged( TDrawNow aDrawNow ); |
|
63 |
|
64 |
|
65 /** |
|
66 * From CCoeControl. Handles a change to the control's resources. |
|
67 * The types of resources handled are those which are shared across |
|
68 * the environment, e.g. colours or fonts. |
|
69 * Called if Skinning is changed. |
|
70 * @param aType A message UID value. |
|
71 */ |
|
72 virtual void HandleResourceChange(TInt aType); |
|
73 |
|
74 /** |
|
75 * Set EmptyText in the listbox |
|
76 */ |
|
77 void SetListEmptyTextL(); |
|
78 }; |
|
79 |
|
80 |
|
81 #endif |
|
82 |
|
83 // End of file |