contentmgmt/cafstreamingsupport/test/streamingtestagent_singleprocess/inc/testsingleprocessagentfactory.h
branchRCL_3
changeset 43 2f10d260163b
equal deleted inserted replaced
42:eb9b28acd381 43:2f10d260163b
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Defines the Test 'Single Process' Stream Agent Factory
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @test
       
    21 */
       
    22 
       
    23 #ifndef TESTSINGLEPROCESSAGENTFACTORY_H_
       
    24 #define TESTSINGLEPROCESSAGENTFACTORY_H_
       
    25 
       
    26 #include <caf/streaming/streamagentfactory.h>
       
    27 #include "testsingleprocesskeystreamdecoder.h"
       
    28 #include "tscaf_spsadefs.h"
       
    29 
       
    30 class CSdpMediaField;
       
    31 class CSdpDocument;
       
    32 namespace StreamAccess
       
    33 	{
       
    34 	NONSHARABLE_CLASS(CTestSingleProcessAgentFactory) : public CStreamAgentFactory
       
    35 		{
       
    36 	public:
       
    37 		static CStreamAgentFactory* CreateTestAgentL();
       
    38 		CAgentKeyStreamDecoder* GetKeyStreamDecoderL(const CKeyStreamSink& aKeyStreamSink,
       
    39 			    									 const CSdpMediaField& aSdpKeyStream,
       
    40 			    									 const CSdpDocument& aSdpDoc);
       
    41 		TBool IsKeyStreamSupportedL(const CSdpMediaField& aSdpKeyStream);
       
    42 	protected:
       
    43 		~CTestSingleProcessAgentFactory();
       
    44 		
       
    45 	private:
       
    46 		CTestSingleProcessAgentFactory();
       
    47 		};
       
    48 	
       
    49 	}//End of the namespace StreamAccess
       
    50 
       
    51 #endif /*TESTSINGLEPROCESSAGENTFACTORY_H_*/