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: Listbox for commands |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CVCDOUBLELARGESTYLELISTBOX_H |
|
20 #define CVCDOUBLELARGESTYLELISTBOX_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <aknlists.h> |
|
24 |
|
25 class MEikScrollBarObserver; |
|
26 |
|
27 // CLASS DECLARATION |
|
28 /** |
|
29 * |
|
30 * |
|
31 */ |
|
32 NONSHARABLE_CLASS( CVCDoubleLargeStyleListBox ) : public CAknDoubleLargeStyleListBox |
|
33 { |
|
34 public: // Constructors and destructor |
|
35 |
|
36 /** |
|
37 * Symbian two-phased constructor. |
|
38 */ |
|
39 static CVCDoubleLargeStyleListBox* NewL(); |
|
40 |
|
41 /** |
|
42 * Destructor. |
|
43 */ |
|
44 virtual ~CVCDoubleLargeStyleListBox(); |
|
45 |
|
46 /** |
|
47 * Adds scroll bar observer |
|
48 * |
|
49 * @param aObserver Observer class |
|
50 */ |
|
51 void AddScrollBarObserver( MEikScrollBarObserver* aObserver ); |
|
52 |
|
53 public: // Functions from base classes |
|
54 |
|
55 /** |
|
56 * From CAknDoubleLargeStyleListBox |
|
57 * @see CAknDoubleLargeStyleListBox for more information |
|
58 */ |
|
59 void HandleScrollEventL( CEikScrollBar* aScrollBar, TEikScrollEvent aEventType ); |
|
60 |
|
61 private: // New functions |
|
62 |
|
63 /** |
|
64 * C++ default constructor. |
|
65 */ |
|
66 CVCDoubleLargeStyleListBox(); |
|
67 |
|
68 private: // Data |
|
69 |
|
70 MEikScrollBarObserver* iObserver; |
|
71 }; |
|
72 |
|
73 #endif // CVCDOUBLELARGESTYLELISTBOX_H |
|
74 |
|
75 // End of File |
|