|
1 /* |
|
2 * Copyright (c) 2002 - 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: Test functions for alflayouthandlers.h |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // [INCLUDE FILES] |
|
20 #include "testalfext.h" |
|
21 #include "testalflayouthandlers.h" |
|
22 |
|
23 |
|
24 // ============================ MEMBER FUNCTIONS ========================= |
|
25 |
|
26 // -------------------------------------------------------------------------- |
|
27 // CTestCAlfLayoutHandler::CTestCAlfLayoutHandler |
|
28 // -------------------------------------------------------------------------- |
|
29 // |
|
30 CTestCAlfLayoutHandler::CTestCAlfLayoutHandler( MAlfInterfaceProvider& aResolver ) |
|
31 : CAlfLayoutHandler( aResolver ) |
|
32 { |
|
33 } |
|
34 |
|
35 // -------------------------------------------------------------------------- |
|
36 // CTestCAlfLayoutHandler::~CTestCAlfLayoutHandler |
|
37 // -------------------------------------------------------------------------- |
|
38 // |
|
39 CTestCAlfLayoutHandler::~CTestCAlfLayoutHandler() |
|
40 { |
|
41 } |
|
42 |
|
43 // -------------------------------------------------------------------------- |
|
44 // CTestCAlfLayoutHandler::TestProtect |
|
45 // -------------------------------------------------------------------------- |
|
46 // |
|
47 TInt CTestCAlfLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ ) |
|
48 { |
|
49 TUid id = { 0x00000001 }; |
|
50 TAny** extent = NULL; |
|
51 VisualHandlerExtension( id, extent ); |
|
52 return KErrNone; |
|
53 } |
|
54 |
|
55 |
|
56 // -------------------------------------------------------------------------- |
|
57 // CTestCAlfAnchorLayoutHandler::CTestCAlfAnchorLayoutHandler |
|
58 // -------------------------------------------------------------------------- |
|
59 // |
|
60 CTestCAlfAnchorLayoutHandler::CTestCAlfAnchorLayoutHandler( MAlfInterfaceProvider& aResolver ) |
|
61 : CAlfAnchorLayoutHandler( aResolver ) |
|
62 { |
|
63 } |
|
64 |
|
65 // -------------------------------------------------------------------------- |
|
66 // CTestCAlfAnchorLayoutHandler::~CTestCAlfAnchorLayoutHandler |
|
67 // -------------------------------------------------------------------------- |
|
68 // |
|
69 CTestCAlfAnchorLayoutHandler::~CTestCAlfAnchorLayoutHandler() |
|
70 { |
|
71 } |
|
72 |
|
73 // -------------------------------------------------------------------------- |
|
74 // CTestCAlfAnchorLayoutHandler::TestProtect |
|
75 // -------------------------------------------------------------------------- |
|
76 // |
|
77 TInt CTestCAlfAnchorLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ ) |
|
78 { |
|
79 TUid id = { 0x00000001 }; |
|
80 TAny** extent = NULL; |
|
81 VisualHandlerExtension( id, extent ); |
|
82 return KErrNone; |
|
83 } |
|
84 |
|
85 |
|
86 // -------------------------------------------------------------------------- |
|
87 // CTestCAlfLCTAnchorLayoutHandler::CTestCAlfLCTAnchorLayoutHandler |
|
88 // -------------------------------------------------------------------------- |
|
89 // |
|
90 CTestCAlfLCTAnchorLayoutHandler::CTestCAlfLCTAnchorLayoutHandler( MAlfInterfaceProvider& aResolver ) |
|
91 : CAlfLCTAnchorLayoutHandler( aResolver ) |
|
92 { |
|
93 } |
|
94 |
|
95 // -------------------------------------------------------------------------- |
|
96 // CTestCAlfLCTAnchorLayoutHandler::~CTestCAlfLCTAnchorLayoutHandler |
|
97 // -------------------------------------------------------------------------- |
|
98 // |
|
99 CTestCAlfLCTAnchorLayoutHandler::~CTestCAlfLCTAnchorLayoutHandler() |
|
100 { |
|
101 } |
|
102 |
|
103 // -------------------------------------------------------------------------- |
|
104 // CTestCAlfLCTAnchorLayoutHandler::TestProtect |
|
105 // -------------------------------------------------------------------------- |
|
106 // |
|
107 TInt CTestCAlfLCTAnchorLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ ) |
|
108 { |
|
109 TUid id = { 0x00000001 }; |
|
110 TAny** extent = NULL; |
|
111 VisualHandlerExtension( id, extent ); |
|
112 return KErrNone; |
|
113 } |
|
114 |
|
115 |
|
116 // -------------------------------------------------------------------------- |
|
117 // CTestCAlfGridLayoutHandler::CTestCAlfGridLayoutHandler |
|
118 // -------------------------------------------------------------------------- |
|
119 // |
|
120 CTestCAlfGridLayoutHandler::CTestCAlfGridLayoutHandler( MAlfInterfaceProvider& aResolver ) |
|
121 : CAlfGridLayoutHandler( aResolver ) |
|
122 { |
|
123 } |
|
124 |
|
125 // -------------------------------------------------------------------------- |
|
126 // CTestCAlfGridLayoutHandler::~CTestCAlfGridLayoutHandler |
|
127 // -------------------------------------------------------------------------- |
|
128 // |
|
129 CTestCAlfGridLayoutHandler::~CTestCAlfGridLayoutHandler() |
|
130 { |
|
131 } |
|
132 |
|
133 // -------------------------------------------------------------------------- |
|
134 // CTestCAlfGridLayoutHandler::TestProtect |
|
135 // -------------------------------------------------------------------------- |
|
136 // |
|
137 TInt CTestCAlfGridLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ ) |
|
138 { |
|
139 TUid id = { 0x00000001 }; |
|
140 TAny** extent = NULL; |
|
141 VisualHandlerExtension( id, extent ); |
|
142 return KErrNone; |
|
143 } |
|
144 |
|
145 |
|
146 |
|
147 // -------------------------------------------------------------------------- |
|
148 // CTestCAlfLCTGridLayoutHandler::CTestCAlfLCTGridLayoutHandler |
|
149 // -------------------------------------------------------------------------- |
|
150 // |
|
151 CTestCAlfLCTGridLayoutHandler::CTestCAlfLCTGridLayoutHandler( MAlfInterfaceProvider& aResolver ) |
|
152 : CAlfLCTGridLayoutHandler( aResolver ) |
|
153 { |
|
154 } |
|
155 |
|
156 // -------------------------------------------------------------------------- |
|
157 // CTestCAlfLCTGridLayoutHandler::~CTestCAlfLCTGridLayoutHandler |
|
158 // -------------------------------------------------------------------------- |
|
159 // |
|
160 CTestCAlfLCTGridLayoutHandler::~CTestCAlfLCTGridLayoutHandler() |
|
161 { |
|
162 } |
|
163 |
|
164 // -------------------------------------------------------------------------- |
|
165 // CTestCAlfLCTGridLayoutHandler::TestProtect |
|
166 // -------------------------------------------------------------------------- |
|
167 // |
|
168 TInt CTestCAlfLCTGridLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ ) |
|
169 { |
|
170 TUid id = { 0x00000001 }; |
|
171 TAny** extent = NULL; |
|
172 VisualHandlerExtension( id, extent ); |
|
173 return KErrNone; |
|
174 } |
|
175 |
|
176 |
|
177 // -------------------------------------------------------------------------- |
|
178 // CTestCAlfDeckLayoutHandler::CTestCAlfDeckLayoutHandler |
|
179 // -------------------------------------------------------------------------- |
|
180 // |
|
181 CTestCAlfDeckLayoutHandler::CTestCAlfDeckLayoutHandler( MAlfInterfaceProvider& aResolver ) |
|
182 : CAlfDeckLayoutHandler( aResolver ) |
|
183 { |
|
184 } |
|
185 |
|
186 // -------------------------------------------------------------------------- |
|
187 // CTestCAlfDeckLayoutHandler::~CTestCAlfDeckLayoutHandler |
|
188 // -------------------------------------------------------------------------- |
|
189 // |
|
190 CTestCAlfDeckLayoutHandler::~CTestCAlfDeckLayoutHandler() |
|
191 { |
|
192 } |
|
193 |
|
194 // -------------------------------------------------------------------------- |
|
195 // CTestCAlfDeckLayoutHandler::TestProtect |
|
196 // -------------------------------------------------------------------------- |
|
197 // |
|
198 TInt CTestCAlfDeckLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ ) |
|
199 { |
|
200 TUid id = { 0x00000001 }; |
|
201 TAny** extent = NULL; |
|
202 VisualHandlerExtension( id, extent ); |
|
203 return KErrNone; |
|
204 } |
|
205 |
|
206 |
|
207 // -------------------------------------------------------------------------- |
|
208 // CTestCAlfFlowLayoutHandler::CTestCAlfFlowLayoutHandler |
|
209 // -------------------------------------------------------------------------- |
|
210 // |
|
211 CTestCAlfFlowLayoutHandler::CTestCAlfFlowLayoutHandler( MAlfInterfaceProvider& aResolver ) |
|
212 : CAlfFlowLayoutHandler( aResolver ) |
|
213 { |
|
214 } |
|
215 |
|
216 // -------------------------------------------------------------------------- |
|
217 // CTestCAlfFlowLayoutHandler::~CTestCAlfFlowLayoutHandler |
|
218 // -------------------------------------------------------------------------- |
|
219 // |
|
220 CTestCAlfFlowLayoutHandler::~CTestCAlfFlowLayoutHandler() |
|
221 { |
|
222 } |
|
223 |
|
224 // -------------------------------------------------------------------------- |
|
225 // CTestCAlfFlowLayoutHandler::TestProtect |
|
226 // -------------------------------------------------------------------------- |
|
227 // |
|
228 TInt CTestCAlfFlowLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ ) |
|
229 { |
|
230 TUid id = { 0x00000001 }; |
|
231 TAny** extent = NULL; |
|
232 VisualHandlerExtension( id, extent ); |
|
233 return KErrNone; |
|
234 } |
|
235 |
|
236 |
|
237 // -------------------------------------------------------------------------- |
|
238 // CTestCAlfCurvePathLayoutHandler::CTestCAlfCurvePathLayoutHandler |
|
239 // -------------------------------------------------------------------------- |
|
240 // |
|
241 CTestCAlfCurvePathLayoutHandler::CTestCAlfCurvePathLayoutHandler( MAlfInterfaceProvider& aResolver ) |
|
242 : CAlfCurvePathLayoutHandler( aResolver ) |
|
243 { |
|
244 } |
|
245 |
|
246 // -------------------------------------------------------------------------- |
|
247 // CTestCAlfCurvePathLayoutHandler::~CTestCAlfCurvePathLayoutHandler |
|
248 // -------------------------------------------------------------------------- |
|
249 // |
|
250 CTestCAlfCurvePathLayoutHandler::~CTestCAlfCurvePathLayoutHandler() |
|
251 { |
|
252 } |
|
253 |
|
254 // -------------------------------------------------------------------------- |
|
255 // CTestCAlfCurvePathLayoutHandler::TestProtect |
|
256 // -------------------------------------------------------------------------- |
|
257 // |
|
258 TInt CTestCAlfCurvePathLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ ) |
|
259 { |
|
260 TUid id = { 0x00000001 }; |
|
261 TAny** extent = NULL; |
|
262 VisualHandlerExtension( id, extent ); |
|
263 return KErrNone; |
|
264 } |
|
265 |
|
266 |
|
267 // -------------------------------------------------------------------------- |
|
268 // CTestCAlfViewportLayoutHandler::CTestCAlfViewportLayoutHandler |
|
269 // -------------------------------------------------------------------------- |
|
270 // |
|
271 CTestCAlfViewportLayoutHandler::CTestCAlfViewportLayoutHandler( MAlfInterfaceProvider& aResolver ) |
|
272 : CAlfViewportLayoutHandler( aResolver ) |
|
273 { |
|
274 } |
|
275 |
|
276 // -------------------------------------------------------------------------- |
|
277 // CTestCAlfViewportLayoutHandler::~CTestCAlfViewportLayoutHandler |
|
278 // -------------------------------------------------------------------------- |
|
279 // |
|
280 CTestCAlfViewportLayoutHandler::~CTestCAlfViewportLayoutHandler() |
|
281 { |
|
282 } |
|
283 |
|
284 // -------------------------------------------------------------------------- |
|
285 // CTestCAlfViewportLayoutHandler::TestProtect |
|
286 // -------------------------------------------------------------------------- |
|
287 // |
|
288 TInt CTestCAlfViewportLayoutHandler::TestProtect( CStifItemParser& /*aItem*/ ) |
|
289 { |
|
290 TUid id = { 0x00000001 }; |
|
291 TAny** extent = NULL; |
|
292 VisualHandlerExtension( id, extent ); |
|
293 return KErrNone; |
|
294 } |
|
295 |
|
296 |
|
297 // End of file |
|
298 |
|
299 |