sl@0: /* sl@0: * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * The code in this file is not executed. sl@0: * It is compiled to ensure that types in the ContentAccess namespace can be used sl@0: * when the headers are included but the namespace is not in scope. sl@0: * It will ensure that a regression cannot occur if during development the ContentAccess sl@0: * namespace is brought into scope in error by any of the public header files. sl@0: * Any new types added to the ContentAccess namespace must also be added to this file. sl@0: * ContentAccess namespace when it is not in scope. sl@0: * This test does not execute. sl@0: * This test is a compile time test. sl@0: * sl@0: */ sl@0: sl@0: sl@0: /** sl@0: @SYMTestCaseID SYSLIB-ECOM-CT-3404 sl@0: @SYMTestCaseDesc Ensures there are no name collisions with types defined in the sl@0: @SYMTestPriority High sl@0: @SYMTestActions For each type in the ContentAccess namespace reuse the type name. sl@0: @SYMTestExpectedResults This is a compile time test. sl@0: @SYMDEF PDEF102493 sl@0: */ sl@0: #include sl@0: sl@0: // streamableptrarray.h sl@0: #include sl@0: sl@0: typedef TInt RStreamablePtrArray; sl@0: RStreamablePtrArray streamablePtrArray=0; sl@0: sl@0: // agent.h sl@0: #include sl@0: sl@0: typedef TInt TAgent; sl@0: TAgent agent=0; sl@0: sl@0: // agentfactory.h sl@0: #include sl@0: sl@0: typedef TInt CAgentFactory; sl@0: CAgentFactory agentFactory=0; sl@0: sl@0: // agentinterface.h sl@0: #include sl@0: sl@0: typedef TInt CAgentData; sl@0: CAgentData agentData=0; sl@0: sl@0: typedef TInt CAgentContent; sl@0: CAgentContent agentContent=0; sl@0: sl@0: typedef TInt CAgentImportFile; sl@0: CAgentImportFile agentImportFile=0; sl@0: sl@0: typedef TInt CAgentManager; sl@0: CAgentManager agentManager=0; sl@0: sl@0: typedef TInt CAgentRightsManager; sl@0: CAgentRightsManager agentRightsManager=0; sl@0: sl@0: // attribute.h sl@0: #include sl@0: sl@0: typedef TInt CAttribute; sl@0: CAttribute attribute=0; sl@0: sl@0: // attributeset.h sl@0: #include sl@0: sl@0: typedef TInt RAttributeSet; sl@0: RAttributeSet attributeSet=0; sl@0: sl@0: // bitset.h sl@0: #include sl@0: sl@0: typedef TInt CBitset; sl@0: CBitset bitset=0; sl@0: sl@0: // CafMimeHeader.h sl@0: #include sl@0: sl@0: typedef TInt CCafMimeHeader; sl@0: CCafMimeHeader cafMimeHeader=0; sl@0: sl@0: sl@0: // caftypes.h sl@0: #include sl@0: sl@0: typedef TInt TQosAttribute; sl@0: TQosAttribute qosAttribute=0; sl@0: typedef TInt EQosBufferSize; sl@0: EQosBufferSize qosBufferSize=0; sl@0: typedef TInt EQosAttrTop; sl@0: EQosAttrTop qosAttrTop=0; sl@0: sl@0: typedef TInt TMimeFields; sl@0: TMimeFields mimeFields=0; sl@0: typedef TInt EContentType; sl@0: EContentType contentType=0; sl@0: typedef TInt EContentLength; sl@0: EContentLength contentLength=0; sl@0: typedef TInt EContentId; sl@0: EContentId contentId=0; sl@0: typedef TInt EContentTransferEncoding; sl@0: EContentTransferEncoding contentTransferEncoding=0; sl@0: typedef TInt EBoundary; sl@0: EBoundary boundary=0; sl@0: typedef TInt EMimeMax; sl@0: EMimeMax mimeMax=0; sl@0: sl@0: typedef TInt TContentShareMode; sl@0: TContentShareMode contentShareMode=0; sl@0: typedef TInt EContentShareReadOnly; sl@0: EContentShareReadOnly contentShareReadOnly=0; sl@0: typedef TInt EContentShareReadWrite; sl@0: EContentShareReadWrite contentShareReadWrite=0; sl@0: typedef TInt EContentShareExclusive; sl@0: EContentShareExclusive contentShareExclusive=0; sl@0: sl@0: typedef TInt TIntent; sl@0: TIntent intent=0; sl@0: typedef TInt EPeek; sl@0: EPeek peek=0; sl@0: typedef TInt EPlay; sl@0: EPlay play=0; sl@0: typedef TInt EView; sl@0: EView view=0; sl@0: typedef TInt EExecute; sl@0: EExecute execute=0; sl@0: typedef TInt EPrint; sl@0: EPrint print=0; sl@0: typedef TInt EPause; sl@0: EPause pause=0; sl@0: typedef TInt EContinue; sl@0: EContinue continue1=0; sl@0: typedef TInt EStop; sl@0: EStop stop=0; sl@0: typedef TInt EUnknown; sl@0: EUnknown unknown=0; sl@0: typedef TInt EInstall; sl@0: EInstall install=0; sl@0: sl@0: typedef TInt TOutputType; sl@0: TOutputType outputType=0; sl@0: typedef TInt EContent; sl@0: EContent content=0; sl@0: typedef TInt EReceipt; sl@0: EReceipt receipt=0; sl@0: sl@0: typedef TInt TImportStatus; sl@0: TImportStatus importStatus=0; sl@0: typedef TInt EInProgress; sl@0: EInProgress inProgress=0; sl@0: typedef TInt EWaitingForNewOutputFile; sl@0: EWaitingForNewOutputFile waitingForNewOutputFile=0; sl@0: typedef TInt EComplete; sl@0: EComplete complete=0; sl@0: typedef TInt EFailed; sl@0: EFailed failed=0; sl@0: typedef TInt EUnsupportedMedia; sl@0: EUnsupportedMedia unsupportedMedia=0; sl@0: sl@0: typedef TInt TAttribute; sl@0: TAttribute attribute2=0; sl@0: typedef TInt EIsProtected; sl@0: EIsProtected isProtected=0; sl@0: typedef TInt EIsForwardable; sl@0: EIsForwardable isForwardable=0; sl@0: typedef TInt EIsModifyable; sl@0: EIsModifyable isModifyable=0; sl@0: typedef TInt EIsCopyable; sl@0: EIsCopyable isCopyable=0; sl@0: typedef TInt ECanPlay; sl@0: ECanPlay canPlay=0; sl@0: typedef TInt ECanPrint; sl@0: ECanPrint canPrint=0; sl@0: typedef TInt ECanExecute; sl@0: ECanExecute canExecute=0; sl@0: typedef TInt ECanView; sl@0: ECanView canView=0; sl@0: typedef TInt ERightsNone; sl@0: ERightsNone rightsNone=0; sl@0: typedef TInt ERightsPending; sl@0: ERightsPending rightsPending=0; sl@0: typedef TInt ERightsHaveExpired; sl@0: ERightsHaveExpired rightsHaveExpired=0; sl@0: typedef TInt EPreviewAvailable; sl@0: EPreviewAvailable previewAvailable=0; sl@0: typedef TInt EContentCDataInUse; sl@0: EContentCDataInUse contentCDataInUse=0; sl@0: typedef TInt ECanRewind; sl@0: ECanRewind canRewind=0; sl@0: typedef TInt ECopyPaste; sl@0: ECopyPaste copyPaste=0; sl@0: typedef TInt ERightsConsumable; sl@0: ERightsConsumable rightsConsumable=0; sl@0: typedef TInt ERightsStateless; sl@0: ERightsStateless rightsStateless=0; sl@0: typedef TInt ECanMove; sl@0: ECanMove canMove=0; sl@0: typedef TInt ECanRename; sl@0: ECanRename canRename=0; sl@0: typedef TInt ECanAutomaticConsume; sl@0: ECanAutomaticConsume canAutomaticConsume=0; sl@0: typedef TInt EAgentSpecificAttributeBase; sl@0: EAgentSpecificAttributeBase agentSpecificAttributeBase=0; sl@0: sl@0: typedef TInt TStringAttribute; sl@0: TStringAttribute stringAttribute=0; sl@0: typedef TInt EDescription; sl@0: EDescription description=0; sl@0: typedef TInt EMimeType; sl@0: EMimeType mimeType=0; sl@0: typedef TInt ETitle; sl@0: ETitle title=0; sl@0: typedef TInt EAuthor; sl@0: EAuthor author=0; sl@0: typedef TInt EIconURI; sl@0: EIconURI iconURI=0; sl@0: typedef TInt EPreviewURI; sl@0: EPreviewURI previewURI=0; sl@0: typedef TInt EContentURI; sl@0: EContentURI contentURI=0; sl@0: typedef TInt EContentID; sl@0: EContentID contentID=0; sl@0: typedef TInt EInfoURL; sl@0: EInfoURL infoURL=0; sl@0: typedef TInt EPendingRightsETA; sl@0: EPendingRightsETA pendingRightsETA=0; sl@0: typedef TInt ETransactionID; sl@0: ETransactionID transactionID=0; sl@0: typedef TInt EAgentSpecificStringAttributeBase; sl@0: EAgentSpecificStringAttributeBase agentSpecificStringAttributeBase=0; sl@0: sl@0: typedef TInt TEventMask; sl@0: TEventMask eventMask=0; sl@0: typedef TInt ERightsAvailable; sl@0: ERightsAvailable rightsAvailable=0; sl@0: typedef TInt ERightsExpired; sl@0: ERightsExpired rightsExpired=0; sl@0: sl@0: typedef TInt TEmbeddedType; sl@0: TEmbeddedType embeddedType=0; sl@0: typedef TInt EContainerObject; sl@0: EContainerObject containerObject=0; sl@0: typedef TInt EContentObject; sl@0: EContentObject contentObject=0; sl@0: typedef TInt EAgentSpecificObject; sl@0: EAgentSpecificObject agentSpecificObject=0; sl@0: sl@0: typedef TInt TDisplayInfo; sl@0: TDisplayInfo displayInfo=0; sl@0: typedef TInt EFileProperties; sl@0: EFileProperties fileProperties=0; sl@0: typedef TInt EFileAndRights; sl@0: EFileAndRights fileAndRights=0; sl@0: typedef TInt ERights; sl@0: ERights rights=0; sl@0: sl@0: typedef TInt TRightsTypeMask; sl@0: TRightsTypeMask rightsTypeMask=0; sl@0: typedef TInt ERightsTypeConsumable; sl@0: ERightsTypeConsumable rightsTypeConsumable=0; sl@0: typedef TInt ERightsTypeStateless; sl@0: ERightsTypeStateless rightsTypeStateless=0; sl@0: sl@0: typedef TInt TRightsStatus; sl@0: TRightsStatus rightsStatus=0; sl@0: typedef TInt ERightsStatusNone; sl@0: ERightsStatusNone rightsStatusNone=0; sl@0: typedef TInt ERightsStatusValid; sl@0: ERightsStatusValid rightsStatusValid=0; sl@0: typedef TInt ERightsStatusExpired; sl@0: ERightsStatusExpired rightsStatusExpired=0; sl@0: typedef TInt ERightsStatusPending; sl@0: ERightsStatusPending rightsStatusPending=0; sl@0: sl@0: typedef TInt TAgentProperty; sl@0: TAgentProperty agentProperty=0; sl@0: typedef TInt EAgentPropertyBufferSize; sl@0: EAgentPropertyBufferSize agentPropertyBufferSize=0; sl@0: typedef TInt EAgentPropertyAgentUI; sl@0: EAgentPropertyAgentUI agentPropertyAgentUI=0; sl@0: typedef TInt EAgentPropertyMultipleSequence; sl@0: EAgentPropertyMultipleSequence agentPropertyMultipleSequence=0; sl@0: sl@0: typedef TInt KMaxCafUniqueId; sl@0: KMaxCafUniqueId maxCafUniqueId=0; sl@0: typedef TInt KMaxCafContentName; sl@0: KMaxCafContentName maxCafContentName=0; sl@0: sl@0: // content.h sl@0: #include sl@0: sl@0: typedef TInt CContent; sl@0: CContent content2=0; sl@0: sl@0: // data.h sl@0: #include sl@0: sl@0: typedef TInt CData; sl@0: CData data=0; sl@0: sl@0: // dirstreamable.h sl@0: #include sl@0: sl@0: typedef TInt CDirStreamable; sl@0: CDirStreamable dirStreamable=0; sl@0: sl@0: // embeddedobject.h sl@0: #include sl@0: sl@0: typedef TInt CEmbeddedObject; sl@0: CEmbeddedObject embeddedObject=0; sl@0: sl@0: // f32agentui.h sl@0: #include sl@0: sl@0: typedef TInt CF32AgentUi; sl@0: CF32AgentUi f32AgentUi=0; sl@0: typedef TInt TF32AgentUiFactory; sl@0: TF32AgentUiFactory f32AgentUiFactory=0; sl@0: sl@0: // importfile.h sl@0: #include sl@0: sl@0: typedef TInt CImportFile; sl@0: CImportFile importFile=0; sl@0: sl@0: // manager.h sl@0: #include sl@0: sl@0: typedef TInt CManager; sl@0: CManager manager=0; sl@0: sl@0: // metadata.h sl@0: #include sl@0: sl@0: typedef TInt CMetaData; sl@0: CMetaData metaData=0; sl@0: sl@0: // metadataarray.h sl@0: #include sl@0: sl@0: typedef TInt CMetaDataArray; sl@0: CMetaDataArray metaDataArray=0; sl@0: sl@0: // rightsInfo.h sl@0: #include sl@0: sl@0: typedef TInt CRightsInfo; sl@0: CRightsInfo rightsInfo=0; sl@0: typedef TInt MAgentRightsBase; sl@0: MAgentRightsBase agentRightsBase=0; sl@0: sl@0: // rightsmanager.h sl@0: #include sl@0: sl@0: typedef TInt CRightsManager; sl@0: CRightsManager rightsManager=0; sl@0: sl@0: // stringattributeset.h sl@0: #include sl@0: sl@0: typedef TInt RStringAttributeSet; sl@0: RStringAttributeSet stringAttributeSet=0; sl@0: sl@0: // supplier.h sl@0: #include sl@0: sl@0: typedef TInt CSupplier; sl@0: CSupplier supplier=0; sl@0: sl@0: // supplieroutputfile.h sl@0: #include sl@0: sl@0: typedef TInt CSupplierOutputFile; sl@0: CSupplierOutputFile supplierOutputFile=0; sl@0: sl@0: // virtualpath.h sl@0: #include sl@0: sl@0: typedef TInt CVirtualPath; sl@0: CVirtualPath virtualPath=0; sl@0: sl@0: // virtualpathptr.h sl@0: #include sl@0: sl@0: typedef TInt TVirtualPathPtr; sl@0: TVirtualPathPtr virtualPathPtr=0; sl@0: