|
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 // INCLUDE FILES |
|
20 #include "vcdoublelargestylelistbox.h" |
|
21 |
|
22 // ----------------------------------------------------------------------------- |
|
23 // CVCDoubleLargeStyleListBox::NewL |
|
24 // Two-phased constructor. |
|
25 // ----------------------------------------------------------------------------- |
|
26 // |
|
27 CVCDoubleLargeStyleListBox* CVCDoubleLargeStyleListBox::NewL() |
|
28 { |
|
29 CVCDoubleLargeStyleListBox* self = new (ELeave) CVCDoubleLargeStyleListBox(); |
|
30 return self; |
|
31 } |
|
32 |
|
33 // Destructor |
|
34 CVCDoubleLargeStyleListBox::~CVCDoubleLargeStyleListBox() |
|
35 { |
|
36 } |
|
37 |
|
38 // --------------------------------------------------------- |
|
39 // CVCDoubleLargeStyleListBox::AddScrollBarObserver |
|
40 // --------------------------------------------------------- |
|
41 // |
|
42 void CVCDoubleLargeStyleListBox::AddScrollBarObserver( MEikScrollBarObserver* aObserver ) |
|
43 { |
|
44 iObserver = aObserver; |
|
45 } |
|
46 |
|
47 // --------------------------------------------------------- |
|
48 // CVCDoubleLargeStyleListBox::HandleScrollEventL |
|
49 // --------------------------------------------------------- |
|
50 // |
|
51 void CVCDoubleLargeStyleListBox::HandleScrollEventL( CEikScrollBar* aScrollBar, |
|
52 TEikScrollEvent aEventType ) |
|
53 { |
|
54 if ( iObserver ) |
|
55 { |
|
56 iObserver->HandleScrollEventL( aScrollBar, aEventType ); |
|
57 } |
|
58 |
|
59 CAknDoubleLargeStyleListBox::HandleScrollEventL( aScrollBar, aEventType ); |
|
60 } |
|
61 |
|
62 // --------------------------------------------------------- |
|
63 // CVCDoubleLargeStyleListBox::CVCDoubleLargeStyleListBox |
|
64 // --------------------------------------------------------- |
|
65 // |
|
66 CVCDoubleLargeStyleListBox::CVCDoubleLargeStyleListBox() |
|
67 : CAknDoubleLargeStyleListBox() |
|
68 { |
|
69 } |
|
70 |
|
71 // End of File |
|
72 |