|
1 /* |
|
2 * Copyright (c) 2007 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: List box class for Events Management UI. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef C_EVTMGMTUILISTBOX_H |
|
19 #define C_EVTMGMTUILISTBOX_H |
|
20 |
|
21 |
|
22 #include <aknlists.h> |
|
23 |
|
24 |
|
25 class CEvtMgmtUiListBoxModel; |
|
26 |
|
27 /** |
|
28 * CEvtMgmtUiListBox exists because the list boxes in EventsUi |
|
29 * application needs a specialized version of CAknFilteredTextListBoxModel |
|
30 * called CEvtMgmtUiListBoxModel. CEvtMgmtUiListBox creates an instance of |
|
31 * CEvtMgmtUiListBoxModel instead of the default CAknFilteredTextListBoxModel. |
|
32 */ |
|
33 class CEvtMgmtUiListBox : public CAknDoubleLargeStyleListBox |
|
34 { |
|
35 public: // Constructors and destructor |
|
36 |
|
37 /** |
|
38 * Symbian 2nd phase constructor. Should be called after the |
|
39 * constructor. |
|
40 * |
|
41 * @param aParent the parent control |
|
42 * @param aFlags flags defining the behaviour of the listbox |
|
43 */ |
|
44 void ConstructL( |
|
45 const CCoeControl* aParent, |
|
46 TInt aFlags); |
|
47 |
|
48 public: // from CAknColumnListBox |
|
49 |
|
50 /** |
|
51 * Creates the listbox model. |
|
52 */ |
|
53 void CreateModelL(); |
|
54 |
|
55 public: // from CEikColumnListBox |
|
56 |
|
57 /** |
|
58 * Returns a pointer to the listbox model. |
|
59 * |
|
60 * @return a pointer to the listbox model |
|
61 */ |
|
62 CEvtMgmtUiListBoxModel* Model() const; |
|
63 |
|
64 }; |
|
65 |
|
66 #endif // C_EVTMGMTUILISTBOX_H |
|
67 |