First public contribution.
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * The code in this file is not executed.
16 * It is compiled to ensure that types in the ContentAccess namespace can be used
17 * when the headers are included but the namespace is not in scope.
18 * It will ensure that a regression cannot occur if during development the ContentAccess
19 * namespace is brought into scope in error by any of the public header files.
20 * Any new types added to the ContentAccess namespace must also be added to this file.
21 * ContentAccess namespace when it is not in scope.
22 * This test does not execute.
23 * This test is a compile time test.
29 @SYMTestCaseID SYSLIB-ECOM-CT-3404
30 @SYMTestCaseDesc Ensures there are no name collisions with types defined in the
32 @SYMTestActions For each type in the ContentAccess namespace reuse the type name.
33 @SYMTestExpectedResults This is a compile time test.
38 // streamableptrarray.h
39 #include <caf/streamableptrarray.h>
41 typedef TInt RStreamablePtrArray;
42 RStreamablePtrArray streamablePtrArray=0;
45 #include <caf/agent.h>
51 #include <caf/agentfactory.h>
53 typedef TInt CAgentFactory;
54 CAgentFactory agentFactory=0;
57 #include <caf/agentinterface.h>
59 typedef TInt CAgentData;
60 CAgentData agentData=0;
62 typedef TInt CAgentContent;
63 CAgentContent agentContent=0;
65 typedef TInt CAgentImportFile;
66 CAgentImportFile agentImportFile=0;
68 typedef TInt CAgentManager;
69 CAgentManager agentManager=0;
71 typedef TInt CAgentRightsManager;
72 CAgentRightsManager agentRightsManager=0;
75 #include <caf/attribute.h>
77 typedef TInt CAttribute;
78 CAttribute attribute=0;
81 #include <caf/attributeset.h>
83 typedef TInt RAttributeSet;
84 RAttributeSet attributeSet=0;
87 #include <caf/bitset.h>
93 #include <caf/cafmimeheader.h>
95 typedef TInt CCafMimeHeader;
96 CCafMimeHeader cafMimeHeader=0;
100 #include <caf/caftypes.h>
102 typedef TInt TQosAttribute;
103 TQosAttribute qosAttribute=0;
104 typedef TInt EQosBufferSize;
105 EQosBufferSize qosBufferSize=0;
106 typedef TInt EQosAttrTop;
107 EQosAttrTop qosAttrTop=0;
109 typedef TInt TMimeFields;
110 TMimeFields mimeFields=0;
111 typedef TInt EContentType;
112 EContentType contentType=0;
113 typedef TInt EContentLength;
114 EContentLength contentLength=0;
115 typedef TInt EContentId;
116 EContentId contentId=0;
117 typedef TInt EContentTransferEncoding;
118 EContentTransferEncoding contentTransferEncoding=0;
119 typedef TInt EBoundary;
120 EBoundary boundary=0;
121 typedef TInt EMimeMax;
124 typedef TInt TContentShareMode;
125 TContentShareMode contentShareMode=0;
126 typedef TInt EContentShareReadOnly;
127 EContentShareReadOnly contentShareReadOnly=0;
128 typedef TInt EContentShareReadWrite;
129 EContentShareReadWrite contentShareReadWrite=0;
130 typedef TInt EContentShareExclusive;
131 EContentShareExclusive contentShareExclusive=0;
133 typedef TInt TIntent;
141 typedef TInt EExecute;
147 typedef TInt EContinue;
148 EContinue continue1=0;
151 typedef TInt EUnknown;
153 typedef TInt EInstall;
156 typedef TInt TOutputType;
157 TOutputType outputType=0;
158 typedef TInt EContent;
160 typedef TInt EReceipt;
163 typedef TInt TImportStatus;
164 TImportStatus importStatus=0;
165 typedef TInt EInProgress;
166 EInProgress inProgress=0;
167 typedef TInt EWaitingForNewOutputFile;
168 EWaitingForNewOutputFile waitingForNewOutputFile=0;
169 typedef TInt EComplete;
170 EComplete complete=0;
171 typedef TInt EFailed;
173 typedef TInt EUnsupportedMedia;
174 EUnsupportedMedia unsupportedMedia=0;
176 typedef TInt TAttribute;
177 TAttribute attribute2=0;
178 typedef TInt EIsProtected;
179 EIsProtected isProtected=0;
180 typedef TInt EIsForwardable;
181 EIsForwardable isForwardable=0;
182 typedef TInt EIsModifyable;
183 EIsModifyable isModifyable=0;
184 typedef TInt EIsCopyable;
185 EIsCopyable isCopyable=0;
186 typedef TInt ECanPlay;
188 typedef TInt ECanPrint;
189 ECanPrint canPrint=0;
190 typedef TInt ECanExecute;
191 ECanExecute canExecute=0;
192 typedef TInt ECanView;
194 typedef TInt ERightsNone;
195 ERightsNone rightsNone=0;
196 typedef TInt ERightsPending;
197 ERightsPending rightsPending=0;
198 typedef TInt ERightsHaveExpired;
199 ERightsHaveExpired rightsHaveExpired=0;
200 typedef TInt EPreviewAvailable;
201 EPreviewAvailable previewAvailable=0;
202 typedef TInt EContentCDataInUse;
203 EContentCDataInUse contentCDataInUse=0;
204 typedef TInt ECanRewind;
205 ECanRewind canRewind=0;
206 typedef TInt ECopyPaste;
207 ECopyPaste copyPaste=0;
208 typedef TInt ERightsConsumable;
209 ERightsConsumable rightsConsumable=0;
210 typedef TInt ERightsStateless;
211 ERightsStateless rightsStateless=0;
212 typedef TInt ECanMove;
214 typedef TInt ECanRename;
215 ECanRename canRename=0;
216 typedef TInt ECanAutomaticConsume;
217 ECanAutomaticConsume canAutomaticConsume=0;
218 typedef TInt EAgentSpecificAttributeBase;
219 EAgentSpecificAttributeBase agentSpecificAttributeBase=0;
221 typedef TInt TStringAttribute;
222 TStringAttribute stringAttribute=0;
223 typedef TInt EDescription;
224 EDescription description=0;
225 typedef TInt EMimeType;
226 EMimeType mimeType=0;
229 typedef TInt EAuthor;
231 typedef TInt EIconURI;
233 typedef TInt EPreviewURI;
234 EPreviewURI previewURI=0;
235 typedef TInt EContentURI;
236 EContentURI contentURI=0;
237 typedef TInt EContentID;
238 EContentID contentID=0;
239 typedef TInt EInfoURL;
241 typedef TInt EPendingRightsETA;
242 EPendingRightsETA pendingRightsETA=0;
243 typedef TInt ETransactionID;
244 ETransactionID transactionID=0;
245 typedef TInt EAgentSpecificStringAttributeBase;
246 EAgentSpecificStringAttributeBase agentSpecificStringAttributeBase=0;
248 typedef TInt TEventMask;
249 TEventMask eventMask=0;
250 typedef TInt ERightsAvailable;
251 ERightsAvailable rightsAvailable=0;
252 typedef TInt ERightsExpired;
253 ERightsExpired rightsExpired=0;
255 typedef TInt TEmbeddedType;
256 TEmbeddedType embeddedType=0;
257 typedef TInt EContainerObject;
258 EContainerObject containerObject=0;
259 typedef TInt EContentObject;
260 EContentObject contentObject=0;
261 typedef TInt EAgentSpecificObject;
262 EAgentSpecificObject agentSpecificObject=0;
264 typedef TInt TDisplayInfo;
265 TDisplayInfo displayInfo=0;
266 typedef TInt EFileProperties;
267 EFileProperties fileProperties=0;
268 typedef TInt EFileAndRights;
269 EFileAndRights fileAndRights=0;
270 typedef TInt ERights;
273 typedef TInt TRightsTypeMask;
274 TRightsTypeMask rightsTypeMask=0;
275 typedef TInt ERightsTypeConsumable;
276 ERightsTypeConsumable rightsTypeConsumable=0;
277 typedef TInt ERightsTypeStateless;
278 ERightsTypeStateless rightsTypeStateless=0;
280 typedef TInt TRightsStatus;
281 TRightsStatus rightsStatus=0;
282 typedef TInt ERightsStatusNone;
283 ERightsStatusNone rightsStatusNone=0;
284 typedef TInt ERightsStatusValid;
285 ERightsStatusValid rightsStatusValid=0;
286 typedef TInt ERightsStatusExpired;
287 ERightsStatusExpired rightsStatusExpired=0;
288 typedef TInt ERightsStatusPending;
289 ERightsStatusPending rightsStatusPending=0;
291 typedef TInt TAgentProperty;
292 TAgentProperty agentProperty=0;
293 typedef TInt EAgentPropertyBufferSize;
294 EAgentPropertyBufferSize agentPropertyBufferSize=0;
295 typedef TInt EAgentPropertyAgentUI;
296 EAgentPropertyAgentUI agentPropertyAgentUI=0;
297 typedef TInt EAgentPropertyMultipleSequence;
298 EAgentPropertyMultipleSequence agentPropertyMultipleSequence=0;
300 typedef TInt KMaxCafUniqueId;
301 KMaxCafUniqueId maxCafUniqueId=0;
302 typedef TInt KMaxCafContentName;
303 KMaxCafContentName maxCafContentName=0;
306 #include <caf/content.h>
308 typedef TInt CContent;
312 #include <caf/content.h>
318 #include <caf/dirstreamable.h>
320 typedef TInt CDirStreamable;
321 CDirStreamable dirStreamable=0;
324 #include <caf/embeddedobject.h>
326 typedef TInt CEmbeddedObject;
327 CEmbeddedObject embeddedObject=0;
330 #include <caf/f32agentui.h>
332 typedef TInt CF32AgentUi;
333 CF32AgentUi f32AgentUi=0;
334 typedef TInt TF32AgentUiFactory;
335 TF32AgentUiFactory f32AgentUiFactory=0;
338 #include <caf/importfile.h>
340 typedef TInt CImportFile;
341 CImportFile importFile=0;
344 #include <caf/manager.h>
346 typedef TInt CManager;
350 #include <caf/metadata.h>
352 typedef TInt CMetaData;
353 CMetaData metaData=0;
356 #include <caf/metadataarray.h>
358 typedef TInt CMetaDataArray;
359 CMetaDataArray metaDataArray=0;
362 #include <caf/rightsinfo.h>
364 typedef TInt CRightsInfo;
365 CRightsInfo rightsInfo=0;
366 typedef TInt MAgentRightsBase;
367 MAgentRightsBase agentRightsBase=0;
370 #include <caf/rightsmanager.h>
372 typedef TInt CRightsManager;
373 CRightsManager rightsManager=0;
375 // stringattributeset.h
376 #include <caf/stringattributeset.h>
378 typedef TInt RStringAttributeSet;
379 RStringAttributeSet stringAttributeSet=0;
382 #include <caf/supplier.h>
384 typedef TInt CSupplier;
385 CSupplier supplier=0;
387 // supplieroutputfile.h
388 #include <caf/supplieroutputfile.h>
390 typedef TInt CSupplierOutputFile;
391 CSupplierOutputFile supplierOutputFile=0;
394 #include <caf/virtualpath.h>
396 typedef TInt CVirtualPath;
397 CVirtualPath virtualPath=0;
400 #include <caf/virtualpathptr.h>
402 typedef TInt TVirtualPathPtr;
403 TVirtualPathPtr virtualPathPtr=0;