|
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 the License "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: Stub class for unit testing* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 |
|
22 #include <centralrepository.h> |
|
23 |
|
24 #include "VcxHgMyVideosCategoryListImpl.h" |
|
25 |
|
26 // ============================ MEMBER FUNCTIONS =============================== |
|
27 |
|
28 // ----------------------------------------------------------------------------- |
|
29 // |
|
30 // ----------------------------------------------------------------------------- |
|
31 // |
|
32 CVcxHgMyVideosCategoryListImpl* CVcxHgMyVideosCategoryListImpl::NewL( |
|
33 CVcxHgMyVideosModel& aModel, |
|
34 CVcxHgMyVideosMainView& aView, |
|
35 CHgScroller& aScroller ) |
|
36 { |
|
37 CVcxHgMyVideosCategoryListImpl* self = |
|
38 CVcxHgMyVideosCategoryListImpl::NewLC( aModel, aView, aScroller ); |
|
39 CleanupStack::Pop( self ); |
|
40 return self; |
|
41 } |
|
42 |
|
43 // ----------------------------------------------------------------------------- |
|
44 // |
|
45 // ----------------------------------------------------------------------------- |
|
46 // |
|
47 CVcxHgMyVideosCategoryListImpl* CVcxHgMyVideosCategoryListImpl::NewLC( |
|
48 CVcxHgMyVideosModel& aModel, |
|
49 CVcxHgMyVideosMainView& aView, |
|
50 CHgScroller& aScroller ) |
|
51 { |
|
52 CVcxHgMyVideosCategoryListImpl* self = |
|
53 new (ELeave) CVcxHgMyVideosCategoryListImpl( aModel, aView, aScroller ); |
|
54 CleanupStack::PushL( self ); |
|
55 self->ConstructL(); |
|
56 return self; |
|
57 } |
|
58 |
|
59 // ----------------------------------------------------------------------------- |
|
60 // |
|
61 // ----------------------------------------------------------------------------- |
|
62 // |
|
63 CVcxHgMyVideosCategoryListImpl::CVcxHgMyVideosCategoryListImpl( |
|
64 CVcxHgMyVideosModel& aModel, |
|
65 CVcxHgMyVideosMainView& aView, |
|
66 CHgScroller& aScroller ) |
|
67 : CVcxHgMyVideosListBase( aModel, aView, aScroller ) |
|
68 { |
|
69 } |
|
70 |
|
71 // ----------------------------------------------------------------------------- |
|
72 // |
|
73 // ----------------------------------------------------------------------------- |
|
74 // |
|
75 void CVcxHgMyVideosCategoryListImpl::ConstructL() |
|
76 { |
|
77 } |
|
78 |
|
79 // ----------------------------------------------------------------------------- |
|
80 // |
|
81 // ----------------------------------------------------------------------------- |
|
82 // |
|
83 CVcxHgMyVideosCategoryListImpl::~CVcxHgMyVideosCategoryListImpl() |
|
84 { |
|
85 } |
|
86 |
|
87 // ----------------------------------------------------------------------------- |
|
88 // |
|
89 // ----------------------------------------------------------------------------- |
|
90 // |
|
91 void CVcxHgMyVideosCategoryListImpl::DoListActivateL( TInt aIndex ) |
|
92 { |
|
93 } |
|
94 |
|
95 // ----------------------------------------------------------------------------- |
|
96 // |
|
97 // ----------------------------------------------------------------------------- |
|
98 // |
|
99 void CVcxHgMyVideosCategoryListImpl::DoListDeactivate() |
|
100 { |
|
101 } |
|
102 |
|
103 // ----------------------------------------------------------------------------- |
|
104 // |
|
105 // ----------------------------------------------------------------------------- |
|
106 // |
|
107 TInt CVcxHgMyVideosCategoryListImpl::Highlight() |
|
108 { |
|
109 return 0; |
|
110 } |
|
111 |
|
112 // ----------------------------------------------------------------------------- |
|
113 // |
|
114 // ----------------------------------------------------------------------------- |
|
115 // |
|
116 void CVcxHgMyVideosCategoryListImpl::HandleSelectL( TInt /*aIndex*/ ) |
|
117 { |
|
118 } |
|
119 |
|
120 // ----------------------------------------------------------------------------- |
|
121 // |
|
122 // ----------------------------------------------------------------------------- |
|
123 // |
|
124 void CVcxHgMyVideosCategoryListImpl::HandleOpenL( TInt /*aIndex*/ ) |
|
125 { |
|
126 |
|
127 } |
|
128 |
|
129 // ----------------------------------------------------------------------------- |
|
130 // |
|
131 // ----------------------------------------------------------------------------- |
|
132 // |
|
133 void CVcxHgMyVideosCategoryListImpl::SetEmptyListTextL() |
|
134 { |
|
135 } |
|
136 |
|
137 // ----------------------------------------------------------------------------- |
|
138 // |
|
139 // ----------------------------------------------------------------------------- |
|
140 // |
|
141 void CVcxHgMyVideosCategoryListImpl::SetTitleTextL( TInt /*aIndex*/ ) |
|
142 { |
|
143 } |