equal
deleted
inserted
replaced
|
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: Custom listbox component for the contact list |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CCACONTACTLISTBOX_H |
|
20 #define CCACONTACTLISTBOX_H |
|
21 |
|
22 #include <aknjavalists.h> |
|
23 |
|
24 // FORWARD DECLARATIONS |
|
25 |
|
26 class MCAMainViewArrayPC; |
|
27 |
|
28 /** |
|
29 * Custom listbox component for the contact list |
|
30 * |
|
31 * Allows to change the model for the listbox. |
|
32 * This is done because we have to customize the behaviour of the find pane, |
|
33 * so that filtered list shows also the contact lists where the searched |
|
34 * contacts exist. |
|
35 * |
|
36 * @lib chat.exe |
|
37 * @since S60 v3.0 |
|
38 */ |
|
39 class CCAContactListBox : public CAknSingle2GraphicStyleListBox |
|
40 { |
|
41 |
|
42 public: |
|
43 |
|
44 /** |
|
45 * Creates the model |
|
46 * @see CAknColumnListBox |
|
47 */ |
|
48 void CreateModelL(); |
|
49 |
|
50 public: // New functions |
|
51 |
|
52 /** |
|
53 * Give listbox a direct access to contact list model. |
|
54 * @param aContactListModel Model of this listbox |
|
55 */ |
|
56 void SetContactListModel( MCAMainViewArrayPC& aMainViewArrayPC ); |
|
57 |
|
58 }; |
|
59 |
|
60 |
|
61 #endif // CCACONTACTLISTBOX_H |