|
1 /* |
|
2 * Copyright (c) 2008 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: Custom listbox component for the contact list |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef _CVIMPSTUIDOUBLESTYLELISTBOX_H |
|
20 #define _CVIMPSTUIDOUBLESTYLELISTBOX_H |
|
21 |
|
22 #include <aknjavalists.h> |
|
23 |
|
24 // FORWARD DECLARATIONS |
|
25 class MVIMPSTProcessArray; |
|
26 class CVIMPSTUiListBoxModel; |
|
27 |
|
28 //CLASS DECLARATION |
|
29 /** |
|
30 * double style / 2 line Custom listbox component for the contact list |
|
31 * |
|
32 * Allows to change the model for the listbox. |
|
33 * This is done because we have to customize the behaviour of the find pane, |
|
34 * so that filtered list shows also the contact lists where the searched |
|
35 * contacts exist. |
|
36 * |
|
37 * @lib vimpstui.dll |
|
38 * @since S60 v5.0 |
|
39 */ |
|
40 class CVIMPSTUiDoubleStyleListBox : public CAknDoubleLargeStyleListBox |
|
41 |
|
42 { |
|
43 |
|
44 public: |
|
45 |
|
46 /** |
|
47 * Creates the model |
|
48 * |
|
49 */ |
|
50 void CreateModelL(); |
|
51 |
|
52 ~CVIMPSTUiDoubleStyleListBox(); |
|
53 |
|
54 public: // New functions |
|
55 |
|
56 /** |
|
57 * Give listbox a direct access to contact list model. |
|
58 * @param aContactListModel Model of this listbox |
|
59 */ |
|
60 void SetContactListModelL(MVIMPSTProcessArray& aItemModel ); |
|
61 private: |
|
62 CVIMPSTUiListBoxModel* iListBoxModel; |
|
63 |
|
64 }; |
|
65 |
|
66 |
|
67 #endif // _CVIMPSTUIDOUBLESTYLELISTBOX_H |