|
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 alfvisualhandlers.h |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // [INCLUDE FILES] |
|
20 #include "testalfext.h" |
|
21 #include "testalfvisualhandlers.h" |
|
22 |
|
23 |
|
24 // ============================ MEMBER FUNCTIONS ========================= |
|
25 |
|
26 // -------------------------------------------------------------------------- |
|
27 // CTestCAlfVisualHandler::CTestCAlfVisualHandler |
|
28 // -------------------------------------------------------------------------- |
|
29 // |
|
30 CTestCAlfVisualHandler::CTestCAlfVisualHandler( MAlfInterfaceProvider& aResolver ) |
|
31 : CAlfVisualHandler( aResolver ) |
|
32 { |
|
33 } |
|
34 // -------------------------------------------------------------------------- |
|
35 // CTestCAlfVisualHandler::~CTestCAlfVisualHandler |
|
36 // -------------------------------------------------------------------------- |
|
37 // |
|
38 CTestCAlfVisualHandler::~CTestCAlfVisualHandler() |
|
39 { |
|
40 } |
|
41 // -------------------------------------------------------------------------- |
|
42 // CTestCAlfVisualHandler::TestProtected |
|
43 // -------------------------------------------------------------------------- |
|
44 // |
|
45 TInt CTestCAlfVisualHandler::TestProtected( CStifItemParser& /*aItem*/ ) |
|
46 { |
|
47 TUid id = { 0x00000001 }; |
|
48 TAny** extent = NULL; |
|
49 VisualHandlerExtension( id, extent ); |
|
50 return KErrNone; |
|
51 } |
|
52 |
|
53 |
|
54 // -------------------------------------------------------------------------- |
|
55 // CTestCAlfTextVisualHandler::CTestCAlfTextVisualHandler |
|
56 // -------------------------------------------------------------------------- |
|
57 // |
|
58 CTestCAlfTextVisualHandler::CTestCAlfTextVisualHandler( MAlfInterfaceProvider& aResolver ) |
|
59 : CAlfTextVisualHandler( aResolver ) |
|
60 { |
|
61 } |
|
62 // -------------------------------------------------------------------------- |
|
63 // CTestCAlfTextVisualHandler::~CTestCAlfTextVisualHandler |
|
64 // -------------------------------------------------------------------------- |
|
65 // |
|
66 CTestCAlfTextVisualHandler::~CTestCAlfTextVisualHandler() |
|
67 { |
|
68 } |
|
69 // -------------------------------------------------------------------------- |
|
70 // CTestCAlfTextVisualHandler::TestProtected |
|
71 // -------------------------------------------------------------------------- |
|
72 // |
|
73 TInt CTestCAlfTextVisualHandler::TestProtected( CStifItemParser& /*aItem*/ ) |
|
74 { |
|
75 TUid id = { 0x00000001 }; |
|
76 TAny** extent = NULL; |
|
77 VisualHandlerExtension( id, extent ); |
|
78 return KErrNone; |
|
79 } |
|
80 |
|
81 |
|
82 // -------------------------------------------------------------------------- |
|
83 // CTestCAlfLCTTextVisualHandler::CTestCAlfLCTTextVisualHandler |
|
84 // -------------------------------------------------------------------------- |
|
85 // |
|
86 CTestCAlfLCTTextVisualHandler::CTestCAlfLCTTextVisualHandler( MAlfInterfaceProvider& aResolver ) |
|
87 : CAlfLCTTextVisualHandler( aResolver ) |
|
88 { |
|
89 } |
|
90 // -------------------------------------------------------------------------- |
|
91 // CTestCAlfLCTTextVisualHandler::~CTestCAlfLCTTextVisualHandler |
|
92 // -------------------------------------------------------------------------- |
|
93 // |
|
94 CTestCAlfLCTTextVisualHandler::~CTestCAlfLCTTextVisualHandler() |
|
95 { |
|
96 } |
|
97 // -------------------------------------------------------------------------- |
|
98 // CTestCAlfLCTTextVisualHandler::TestProtected |
|
99 // -------------------------------------------------------------------------- |
|
100 // |
|
101 TInt CTestCAlfLCTTextVisualHandler::TestProtected( CStifItemParser& /*aItem*/ ) |
|
102 { |
|
103 TUid id = { 0x00000001 }; |
|
104 TAny** extent = NULL; |
|
105 VisualHandlerExtension( id, extent ); |
|
106 return KErrNone; |
|
107 } |
|
108 |
|
109 // -------------------------------------------------------------------------- |
|
110 // CTestCAlfImageVisualHandler::CTestCAlfImageVisualHandler |
|
111 // -------------------------------------------------------------------------- |
|
112 // |
|
113 CTestCAlfImageVisualHandler::CTestCAlfImageVisualHandler( MAlfInterfaceProvider& aResolver ) |
|
114 : CAlfImageVisualHandler( aResolver ) |
|
115 { |
|
116 } |
|
117 // -------------------------------------------------------------------------- |
|
118 // CTestCAlfImageVisualHandler::~CTestCAlfImageVisualHandler |
|
119 // -------------------------------------------------------------------------- |
|
120 // |
|
121 CTestCAlfImageVisualHandler::~CTestCAlfImageVisualHandler() |
|
122 { |
|
123 } |
|
124 // -------------------------------------------------------------------------- |
|
125 // CTestCAlfImageVisualHandler::TestProtected |
|
126 // -------------------------------------------------------------------------- |
|
127 // |
|
128 TInt CTestCAlfImageVisualHandler::TestProtected( CStifItemParser& /*aItem*/ ) |
|
129 { |
|
130 TUid id = { 0x00000001 }; |
|
131 TAny** extent = NULL; |
|
132 VisualHandlerExtension( id, extent ); |
|
133 return KErrNone; |
|
134 } |
|
135 |
|
136 |
|
137 // -------------------------------------------------------------------------- |
|
138 // CTestCAlfLineVisualHandler::CTestCAlfLineVisualHandler |
|
139 // -------------------------------------------------------------------------- |
|
140 // |
|
141 CTestCAlfLineVisualHandler::CTestCAlfLineVisualHandler( MAlfInterfaceProvider& aResolver ) |
|
142 : CAlfLineVisualHandler( aResolver ) |
|
143 { |
|
144 } |
|
145 // -------------------------------------------------------------------------- |
|
146 // CTestCAlfLineVisualHandler::~CTestCAlfLineVisualHandler |
|
147 // -------------------------------------------------------------------------- |
|
148 // |
|
149 CTestCAlfLineVisualHandler::~CTestCAlfLineVisualHandler() |
|
150 { |
|
151 } |
|
152 // -------------------------------------------------------------------------- |
|
153 // CTestCAlfLineVisualHandler::TestProtected |
|
154 // -------------------------------------------------------------------------- |
|
155 // |
|
156 TInt CTestCAlfLineVisualHandler::TestProtected( CStifItemParser& /*aItem*/ ) |
|
157 { |
|
158 TUid id = { 0x00000001 }; |
|
159 TAny** extent = NULL; |
|
160 VisualHandlerExtension( id, extent ); |
|
161 return KErrNone; |
|
162 } |
|
163 |
|
164 // -------------------------------------------------------------------------- |
|
165 // CTestCAlfMeshVisualHandler::CTestCAlfMeshVisualHandler |
|
166 // -------------------------------------------------------------------------- |
|
167 // |
|
168 CTestCAlfMeshVisualHandler::CTestCAlfMeshVisualHandler( MAlfInterfaceProvider& aResolver ) |
|
169 : CAlfMeshVisualHandler( aResolver ) |
|
170 { |
|
171 } |
|
172 // -------------------------------------------------------------------------- |
|
173 // CTestCAlfMeshVisualHandler::~CTestCAlfMeshVisualHandler |
|
174 // -------------------------------------------------------------------------- |
|
175 // |
|
176 CTestCAlfMeshVisualHandler::~CTestCAlfMeshVisualHandler() |
|
177 { |
|
178 } |
|
179 // -------------------------------------------------------------------------- |
|
180 // CTestCAlfMeshVisualHandler::TestProtected |
|
181 // -------------------------------------------------------------------------- |
|
182 // |
|
183 TInt CTestCAlfMeshVisualHandler::TestProtected( CStifItemParser& /*aItem*/ ) |
|
184 { |
|
185 TUid id = { 0x00000001 }; |
|
186 TAny** extent = NULL; |
|
187 VisualHandlerExtension( id, extent ); |
|
188 return KErrNone; |
|
189 } |
|
190 |
|
191 |
|
192 |
|
193 |
|
194 // End of file |
|
195 |
|
196 |
|
197 |