author | sl@SLION-WIN7.fritz.box |
Fri, 15 Jun 2012 03:10:57 +0200 | |
changeset 0 | bde4ae8d615e |
permissions | -rw-r--r-- |
sl@0 | 1 |
/* |
sl@0 | 2 |
* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
sl@0 | 3 |
* All rights reserved. |
sl@0 | 4 |
* This component and the accompanying materials are made available |
sl@0 | 5 |
* under the terms of the License "Eclipse Public License v1.0" |
sl@0 | 6 |
* which accompanies this distribution, and is available |
sl@0 | 7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
sl@0 | 8 |
* |
sl@0 | 9 |
* Initial Contributors: |
sl@0 | 10 |
* Nokia Corporation - initial contribution. |
sl@0 | 11 |
* |
sl@0 | 12 |
* Contributors: |
sl@0 | 13 |
* |
sl@0 | 14 |
* Description: |
sl@0 | 15 |
* The code in this file is not executed. |
sl@0 | 16 |
* It is compiled to ensure that types in the ContentAccess namespace can be used |
sl@0 | 17 |
* when the headers are included but the namespace is not in scope. |
sl@0 | 18 |
* It will ensure that a regression cannot occur if during development the ContentAccess |
sl@0 | 19 |
* namespace is brought into scope in error by any of the public header files. |
sl@0 | 20 |
* Any new types added to the ContentAccess namespace must also be added to this file. |
sl@0 | 21 |
* ContentAccess namespace when it is not in scope. |
sl@0 | 22 |
* This test does not execute. |
sl@0 | 23 |
* This test is a compile time test. |
sl@0 | 24 |
* |
sl@0 | 25 |
*/ |
sl@0 | 26 |
|
sl@0 | 27 |
|
sl@0 | 28 |
/** |
sl@0 | 29 |
@SYMTestCaseID SYSLIB-ECOM-CT-3404 |
sl@0 | 30 |
@SYMTestCaseDesc Ensures there are no name collisions with types defined in the |
sl@0 | 31 |
@SYMTestPriority High |
sl@0 | 32 |
@SYMTestActions For each type in the ContentAccess namespace reuse the type name. |
sl@0 | 33 |
@SYMTestExpectedResults This is a compile time test. |
sl@0 | 34 |
@SYMDEF PDEF102493 |
sl@0 | 35 |
*/ |
sl@0 | 36 |
#include <caf/caf.h> |
sl@0 | 37 |
|
sl@0 | 38 |
// streamableptrarray.h |
sl@0 | 39 |
#include <caf/streamableptrarray.h> |
sl@0 | 40 |
|
sl@0 | 41 |
typedef TInt RStreamablePtrArray; |
sl@0 | 42 |
RStreamablePtrArray streamablePtrArray=0; |
sl@0 | 43 |
|
sl@0 | 44 |
// agent.h |
sl@0 | 45 |
#include <caf/agent.h> |
sl@0 | 46 |
|
sl@0 | 47 |
typedef TInt TAgent; |
sl@0 | 48 |
TAgent agent=0; |
sl@0 | 49 |
|
sl@0 | 50 |
// agentfactory.h |
sl@0 | 51 |
#include <caf/agentfactory.h> |
sl@0 | 52 |
|
sl@0 | 53 |
typedef TInt CAgentFactory; |
sl@0 | 54 |
CAgentFactory agentFactory=0; |
sl@0 | 55 |
|
sl@0 | 56 |
// agentinterface.h |
sl@0 | 57 |
#include <caf/agentinterface.h> |
sl@0 | 58 |
|
sl@0 | 59 |
typedef TInt CAgentData; |
sl@0 | 60 |
CAgentData agentData=0; |
sl@0 | 61 |
|
sl@0 | 62 |
typedef TInt CAgentContent; |
sl@0 | 63 |
CAgentContent agentContent=0; |
sl@0 | 64 |
|
sl@0 | 65 |
typedef TInt CAgentImportFile; |
sl@0 | 66 |
CAgentImportFile agentImportFile=0; |
sl@0 | 67 |
|
sl@0 | 68 |
typedef TInt CAgentManager; |
sl@0 | 69 |
CAgentManager agentManager=0; |
sl@0 | 70 |
|
sl@0 | 71 |
typedef TInt CAgentRightsManager; |
sl@0 | 72 |
CAgentRightsManager agentRightsManager=0; |
sl@0 | 73 |
|
sl@0 | 74 |
// attribute.h |
sl@0 | 75 |
#include <caf/attribute.h> |
sl@0 | 76 |
|
sl@0 | 77 |
typedef TInt CAttribute; |
sl@0 | 78 |
CAttribute attribute=0; |
sl@0 | 79 |
|
sl@0 | 80 |
// attributeset.h |
sl@0 | 81 |
#include <caf/attributeset.h> |
sl@0 | 82 |
|
sl@0 | 83 |
typedef TInt RAttributeSet; |
sl@0 | 84 |
RAttributeSet attributeSet=0; |
sl@0 | 85 |
|
sl@0 | 86 |
// bitset.h |
sl@0 | 87 |
#include <caf/bitset.h> |
sl@0 | 88 |
|
sl@0 | 89 |
typedef TInt CBitset; |
sl@0 | 90 |
CBitset bitset=0; |
sl@0 | 91 |
|
sl@0 | 92 |
// CafMimeHeader.h |
sl@0 | 93 |
#include <caf/cafmimeheader.h> |
sl@0 | 94 |
|
sl@0 | 95 |
typedef TInt CCafMimeHeader; |
sl@0 | 96 |
CCafMimeHeader cafMimeHeader=0; |
sl@0 | 97 |
|
sl@0 | 98 |
|
sl@0 | 99 |
// caftypes.h |
sl@0 | 100 |
#include <caf/caftypes.h> |
sl@0 | 101 |
|
sl@0 | 102 |
typedef TInt TQosAttribute; |
sl@0 | 103 |
TQosAttribute qosAttribute=0; |
sl@0 | 104 |
typedef TInt EQosBufferSize; |
sl@0 | 105 |
EQosBufferSize qosBufferSize=0; |
sl@0 | 106 |
typedef TInt EQosAttrTop; |
sl@0 | 107 |
EQosAttrTop qosAttrTop=0; |
sl@0 | 108 |
|
sl@0 | 109 |
typedef TInt TMimeFields; |
sl@0 | 110 |
TMimeFields mimeFields=0; |
sl@0 | 111 |
typedef TInt EContentType; |
sl@0 | 112 |
EContentType contentType=0; |
sl@0 | 113 |
typedef TInt EContentLength; |
sl@0 | 114 |
EContentLength contentLength=0; |
sl@0 | 115 |
typedef TInt EContentId; |
sl@0 | 116 |
EContentId contentId=0; |
sl@0 | 117 |
typedef TInt EContentTransferEncoding; |
sl@0 | 118 |
EContentTransferEncoding contentTransferEncoding=0; |
sl@0 | 119 |
typedef TInt EBoundary; |
sl@0 | 120 |
EBoundary boundary=0; |
sl@0 | 121 |
typedef TInt EMimeMax; |
sl@0 | 122 |
EMimeMax mimeMax=0; |
sl@0 | 123 |
|
sl@0 | 124 |
typedef TInt TContentShareMode; |
sl@0 | 125 |
TContentShareMode contentShareMode=0; |
sl@0 | 126 |
typedef TInt EContentShareReadOnly; |
sl@0 | 127 |
EContentShareReadOnly contentShareReadOnly=0; |
sl@0 | 128 |
typedef TInt EContentShareReadWrite; |
sl@0 | 129 |
EContentShareReadWrite contentShareReadWrite=0; |
sl@0 | 130 |
typedef TInt EContentShareExclusive; |
sl@0 | 131 |
EContentShareExclusive contentShareExclusive=0; |
sl@0 | 132 |
|
sl@0 | 133 |
typedef TInt TIntent; |
sl@0 | 134 |
TIntent intent=0; |
sl@0 | 135 |
typedef TInt EPeek; |
sl@0 | 136 |
EPeek peek=0; |
sl@0 | 137 |
typedef TInt EPlay; |
sl@0 | 138 |
EPlay play=0; |
sl@0 | 139 |
typedef TInt EView; |
sl@0 | 140 |
EView view=0; |
sl@0 | 141 |
typedef TInt EExecute; |
sl@0 | 142 |
EExecute execute=0; |
sl@0 | 143 |
typedef TInt EPrint; |
sl@0 | 144 |
EPrint print=0; |
sl@0 | 145 |
typedef TInt EPause; |
sl@0 | 146 |
EPause pause=0; |
sl@0 | 147 |
typedef TInt EContinue; |
sl@0 | 148 |
EContinue continue1=0; |
sl@0 | 149 |
typedef TInt EStop; |
sl@0 | 150 |
EStop stop=0; |
sl@0 | 151 |
typedef TInt EUnknown; |
sl@0 | 152 |
EUnknown unknown=0; |
sl@0 | 153 |
typedef TInt EInstall; |
sl@0 | 154 |
EInstall install=0; |
sl@0 | 155 |
|
sl@0 | 156 |
typedef TInt TOutputType; |
sl@0 | 157 |
TOutputType outputType=0; |
sl@0 | 158 |
typedef TInt EContent; |
sl@0 | 159 |
EContent content=0; |
sl@0 | 160 |
typedef TInt EReceipt; |
sl@0 | 161 |
EReceipt receipt=0; |
sl@0 | 162 |
|
sl@0 | 163 |
typedef TInt TImportStatus; |
sl@0 | 164 |
TImportStatus importStatus=0; |
sl@0 | 165 |
typedef TInt EInProgress; |
sl@0 | 166 |
EInProgress inProgress=0; |
sl@0 | 167 |
typedef TInt EWaitingForNewOutputFile; |
sl@0 | 168 |
EWaitingForNewOutputFile waitingForNewOutputFile=0; |
sl@0 | 169 |
typedef TInt EComplete; |
sl@0 | 170 |
EComplete complete=0; |
sl@0 | 171 |
typedef TInt EFailed; |
sl@0 | 172 |
EFailed failed=0; |
sl@0 | 173 |
typedef TInt EUnsupportedMedia; |
sl@0 | 174 |
EUnsupportedMedia unsupportedMedia=0; |
sl@0 | 175 |
|
sl@0 | 176 |
typedef TInt TAttribute; |
sl@0 | 177 |
TAttribute attribute2=0; |
sl@0 | 178 |
typedef TInt EIsProtected; |
sl@0 | 179 |
EIsProtected isProtected=0; |
sl@0 | 180 |
typedef TInt EIsForwardable; |
sl@0 | 181 |
EIsForwardable isForwardable=0; |
sl@0 | 182 |
typedef TInt EIsModifyable; |
sl@0 | 183 |
EIsModifyable isModifyable=0; |
sl@0 | 184 |
typedef TInt EIsCopyable; |
sl@0 | 185 |
EIsCopyable isCopyable=0; |
sl@0 | 186 |
typedef TInt ECanPlay; |
sl@0 | 187 |
ECanPlay canPlay=0; |
sl@0 | 188 |
typedef TInt ECanPrint; |
sl@0 | 189 |
ECanPrint canPrint=0; |
sl@0 | 190 |
typedef TInt ECanExecute; |
sl@0 | 191 |
ECanExecute canExecute=0; |
sl@0 | 192 |
typedef TInt ECanView; |
sl@0 | 193 |
ECanView canView=0; |
sl@0 | 194 |
typedef TInt ERightsNone; |
sl@0 | 195 |
ERightsNone rightsNone=0; |
sl@0 | 196 |
typedef TInt ERightsPending; |
sl@0 | 197 |
ERightsPending rightsPending=0; |
sl@0 | 198 |
typedef TInt ERightsHaveExpired; |
sl@0 | 199 |
ERightsHaveExpired rightsHaveExpired=0; |
sl@0 | 200 |
typedef TInt EPreviewAvailable; |
sl@0 | 201 |
EPreviewAvailable previewAvailable=0; |
sl@0 | 202 |
typedef TInt EContentCDataInUse; |
sl@0 | 203 |
EContentCDataInUse contentCDataInUse=0; |
sl@0 | 204 |
typedef TInt ECanRewind; |
sl@0 | 205 |
ECanRewind canRewind=0; |
sl@0 | 206 |
typedef TInt ECopyPaste; |
sl@0 | 207 |
ECopyPaste copyPaste=0; |
sl@0 | 208 |
typedef TInt ERightsConsumable; |
sl@0 | 209 |
ERightsConsumable rightsConsumable=0; |
sl@0 | 210 |
typedef TInt ERightsStateless; |
sl@0 | 211 |
ERightsStateless rightsStateless=0; |
sl@0 | 212 |
typedef TInt ECanMove; |
sl@0 | 213 |
ECanMove canMove=0; |
sl@0 | 214 |
typedef TInt ECanRename; |
sl@0 | 215 |
ECanRename canRename=0; |
sl@0 | 216 |
typedef TInt ECanAutomaticConsume; |
sl@0 | 217 |
ECanAutomaticConsume canAutomaticConsume=0; |
sl@0 | 218 |
typedef TInt EAgentSpecificAttributeBase; |
sl@0 | 219 |
EAgentSpecificAttributeBase agentSpecificAttributeBase=0; |
sl@0 | 220 |
|
sl@0 | 221 |
typedef TInt TStringAttribute; |
sl@0 | 222 |
TStringAttribute stringAttribute=0; |
sl@0 | 223 |
typedef TInt EDescription; |
sl@0 | 224 |
EDescription description=0; |
sl@0 | 225 |
typedef TInt EMimeType; |
sl@0 | 226 |
EMimeType mimeType=0; |
sl@0 | 227 |
typedef TInt ETitle; |
sl@0 | 228 |
ETitle title=0; |
sl@0 | 229 |
typedef TInt EAuthor; |
sl@0 | 230 |
EAuthor author=0; |
sl@0 | 231 |
typedef TInt EIconURI; |
sl@0 | 232 |
EIconURI iconURI=0; |
sl@0 | 233 |
typedef TInt EPreviewURI; |
sl@0 | 234 |
EPreviewURI previewURI=0; |
sl@0 | 235 |
typedef TInt EContentURI; |
sl@0 | 236 |
EContentURI contentURI=0; |
sl@0 | 237 |
typedef TInt EContentID; |
sl@0 | 238 |
EContentID contentID=0; |
sl@0 | 239 |
typedef TInt EInfoURL; |
sl@0 | 240 |
EInfoURL infoURL=0; |
sl@0 | 241 |
typedef TInt EPendingRightsETA; |
sl@0 | 242 |
EPendingRightsETA pendingRightsETA=0; |
sl@0 | 243 |
typedef TInt ETransactionID; |
sl@0 | 244 |
ETransactionID transactionID=0; |
sl@0 | 245 |
typedef TInt EAgentSpecificStringAttributeBase; |
sl@0 | 246 |
EAgentSpecificStringAttributeBase agentSpecificStringAttributeBase=0; |
sl@0 | 247 |
|
sl@0 | 248 |
typedef TInt TEventMask; |
sl@0 | 249 |
TEventMask eventMask=0; |
sl@0 | 250 |
typedef TInt ERightsAvailable; |
sl@0 | 251 |
ERightsAvailable rightsAvailable=0; |
sl@0 | 252 |
typedef TInt ERightsExpired; |
sl@0 | 253 |
ERightsExpired rightsExpired=0; |
sl@0 | 254 |
|
sl@0 | 255 |
typedef TInt TEmbeddedType; |
sl@0 | 256 |
TEmbeddedType embeddedType=0; |
sl@0 | 257 |
typedef TInt EContainerObject; |
sl@0 | 258 |
EContainerObject containerObject=0; |
sl@0 | 259 |
typedef TInt EContentObject; |
sl@0 | 260 |
EContentObject contentObject=0; |
sl@0 | 261 |
typedef TInt EAgentSpecificObject; |
sl@0 | 262 |
EAgentSpecificObject agentSpecificObject=0; |
sl@0 | 263 |
|
sl@0 | 264 |
typedef TInt TDisplayInfo; |
sl@0 | 265 |
TDisplayInfo displayInfo=0; |
sl@0 | 266 |
typedef TInt EFileProperties; |
sl@0 | 267 |
EFileProperties fileProperties=0; |
sl@0 | 268 |
typedef TInt EFileAndRights; |
sl@0 | 269 |
EFileAndRights fileAndRights=0; |
sl@0 | 270 |
typedef TInt ERights; |
sl@0 | 271 |
ERights rights=0; |
sl@0 | 272 |
|
sl@0 | 273 |
typedef TInt TRightsTypeMask; |
sl@0 | 274 |
TRightsTypeMask rightsTypeMask=0; |
sl@0 | 275 |
typedef TInt ERightsTypeConsumable; |
sl@0 | 276 |
ERightsTypeConsumable rightsTypeConsumable=0; |
sl@0 | 277 |
typedef TInt ERightsTypeStateless; |
sl@0 | 278 |
ERightsTypeStateless rightsTypeStateless=0; |
sl@0 | 279 |
|
sl@0 | 280 |
typedef TInt TRightsStatus; |
sl@0 | 281 |
TRightsStatus rightsStatus=0; |
sl@0 | 282 |
typedef TInt ERightsStatusNone; |
sl@0 | 283 |
ERightsStatusNone rightsStatusNone=0; |
sl@0 | 284 |
typedef TInt ERightsStatusValid; |
sl@0 | 285 |
ERightsStatusValid rightsStatusValid=0; |
sl@0 | 286 |
typedef TInt ERightsStatusExpired; |
sl@0 | 287 |
ERightsStatusExpired rightsStatusExpired=0; |
sl@0 | 288 |
typedef TInt ERightsStatusPending; |
sl@0 | 289 |
ERightsStatusPending rightsStatusPending=0; |
sl@0 | 290 |
|
sl@0 | 291 |
typedef TInt TAgentProperty; |
sl@0 | 292 |
TAgentProperty agentProperty=0; |
sl@0 | 293 |
typedef TInt EAgentPropertyBufferSize; |
sl@0 | 294 |
EAgentPropertyBufferSize agentPropertyBufferSize=0; |
sl@0 | 295 |
typedef TInt EAgentPropertyAgentUI; |
sl@0 | 296 |
EAgentPropertyAgentUI agentPropertyAgentUI=0; |
sl@0 | 297 |
typedef TInt EAgentPropertyMultipleSequence; |
sl@0 | 298 |
EAgentPropertyMultipleSequence agentPropertyMultipleSequence=0; |
sl@0 | 299 |
|
sl@0 | 300 |
typedef TInt KMaxCafUniqueId; |
sl@0 | 301 |
KMaxCafUniqueId maxCafUniqueId=0; |
sl@0 | 302 |
typedef TInt KMaxCafContentName; |
sl@0 | 303 |
KMaxCafContentName maxCafContentName=0; |
sl@0 | 304 |
|
sl@0 | 305 |
// content.h |
sl@0 | 306 |
#include <caf/content.h> |
sl@0 | 307 |
|
sl@0 | 308 |
typedef TInt CContent; |
sl@0 | 309 |
CContent content2=0; |
sl@0 | 310 |
|
sl@0 | 311 |
// data.h |
sl@0 | 312 |
#include <caf/content.h> |
sl@0 | 313 |
|
sl@0 | 314 |
typedef TInt CData; |
sl@0 | 315 |
CData data=0; |
sl@0 | 316 |
|
sl@0 | 317 |
// dirstreamable.h |
sl@0 | 318 |
#include <caf/dirstreamable.h> |
sl@0 | 319 |
|
sl@0 | 320 |
typedef TInt CDirStreamable; |
sl@0 | 321 |
CDirStreamable dirStreamable=0; |
sl@0 | 322 |
|
sl@0 | 323 |
// embeddedobject.h |
sl@0 | 324 |
#include <caf/embeddedobject.h> |
sl@0 | 325 |
|
sl@0 | 326 |
typedef TInt CEmbeddedObject; |
sl@0 | 327 |
CEmbeddedObject embeddedObject=0; |
sl@0 | 328 |
|
sl@0 | 329 |
// f32agentui.h |
sl@0 | 330 |
#include <caf/f32agentui.h> |
sl@0 | 331 |
|
sl@0 | 332 |
typedef TInt CF32AgentUi; |
sl@0 | 333 |
CF32AgentUi f32AgentUi=0; |
sl@0 | 334 |
typedef TInt TF32AgentUiFactory; |
sl@0 | 335 |
TF32AgentUiFactory f32AgentUiFactory=0; |
sl@0 | 336 |
|
sl@0 | 337 |
// importfile.h |
sl@0 | 338 |
#include <caf/importfile.h> |
sl@0 | 339 |
|
sl@0 | 340 |
typedef TInt CImportFile; |
sl@0 | 341 |
CImportFile importFile=0; |
sl@0 | 342 |
|
sl@0 | 343 |
// manager.h |
sl@0 | 344 |
#include <caf/manager.h> |
sl@0 | 345 |
|
sl@0 | 346 |
typedef TInt CManager; |
sl@0 | 347 |
CManager manager=0; |
sl@0 | 348 |
|
sl@0 | 349 |
// metadata.h |
sl@0 | 350 |
#include <caf/metadata.h> |
sl@0 | 351 |
|
sl@0 | 352 |
typedef TInt CMetaData; |
sl@0 | 353 |
CMetaData metaData=0; |
sl@0 | 354 |
|
sl@0 | 355 |
// metadataarray.h |
sl@0 | 356 |
#include <caf/metadataarray.h> |
sl@0 | 357 |
|
sl@0 | 358 |
typedef TInt CMetaDataArray; |
sl@0 | 359 |
CMetaDataArray metaDataArray=0; |
sl@0 | 360 |
|
sl@0 | 361 |
// rightsInfo.h |
sl@0 | 362 |
#include <caf/rightsinfo.h> |
sl@0 | 363 |
|
sl@0 | 364 |
typedef TInt CRightsInfo; |
sl@0 | 365 |
CRightsInfo rightsInfo=0; |
sl@0 | 366 |
typedef TInt MAgentRightsBase; |
sl@0 | 367 |
MAgentRightsBase agentRightsBase=0; |
sl@0 | 368 |
|
sl@0 | 369 |
// rightsmanager.h |
sl@0 | 370 |
#include <caf/rightsmanager.h> |
sl@0 | 371 |
|
sl@0 | 372 |
typedef TInt CRightsManager; |
sl@0 | 373 |
CRightsManager rightsManager=0; |
sl@0 | 374 |
|
sl@0 | 375 |
// stringattributeset.h |
sl@0 | 376 |
#include <caf/stringattributeset.h> |
sl@0 | 377 |
|
sl@0 | 378 |
typedef TInt RStringAttributeSet; |
sl@0 | 379 |
RStringAttributeSet stringAttributeSet=0; |
sl@0 | 380 |
|
sl@0 | 381 |
// supplier.h |
sl@0 | 382 |
#include <caf/supplier.h> |
sl@0 | 383 |
|
sl@0 | 384 |
typedef TInt CSupplier; |
sl@0 | 385 |
CSupplier supplier=0; |
sl@0 | 386 |
|
sl@0 | 387 |
// supplieroutputfile.h |
sl@0 | 388 |
#include <caf/supplieroutputfile.h> |
sl@0 | 389 |
|
sl@0 | 390 |
typedef TInt CSupplierOutputFile; |
sl@0 | 391 |
CSupplierOutputFile supplierOutputFile=0; |
sl@0 | 392 |
|
sl@0 | 393 |
// virtualpath.h |
sl@0 | 394 |
#include <caf/virtualpath.h> |
sl@0 | 395 |
|
sl@0 | 396 |
typedef TInt CVirtualPath; |
sl@0 | 397 |
CVirtualPath virtualPath=0; |
sl@0 | 398 |
|
sl@0 | 399 |
// virtualpathptr.h |
sl@0 | 400 |
#include <caf/virtualpathptr.h> |
sl@0 | 401 |
|
sl@0 | 402 |
typedef TInt TVirtualPathPtr; |
sl@0 | 403 |
TVirtualPathPtr virtualPathPtr=0; |
sl@0 | 404 |