contentmgmt/cafstreamingsupport/test/streamingtestagent/inc/testprotstrdesc.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 protected stream description object for the streaming test agent.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21  @test
       
    22 */
       
    23 
       
    24 #ifndef TESTPROTSTRDESC_H_
       
    25 #define TESTPROTSTRDESC_H_
       
    26 
       
    27 #include <caf/streaming/protectedstreamdesc.h>
       
    28 
       
    29 namespace StreamAccess
       
    30 	{
       
    31 	NONSHARABLE_CLASS(CTestProtectedStreamDesc) : public CProtectedStreamDesc
       
    32 	/**
       
    33 	 	Represents parameters for the test protected stream.
       
    34 	 */
       
    35 		{
       
    36 	public:
       
    37 		IMPORT_C static CTestProtectedStreamDesc* NewL(const TDesC& aOutput);
       
    38 		IMPORT_C ~CTestProtectedStreamDesc();
       
    39 		IMPORT_C CKeyStreamSink* CreateKeyStreamSinkLC() const;
       
    40 	
       
    41 	private:
       
    42 		CTestProtectedStreamDesc();
       
    43 		void ConstructL(const TDesC& aOutput);
       
    44 		
       
    45 	private:
       
    46 		HBufC* iOutput; ///< The fully qualified path of the file which the decrypted key is written.
       
    47 		};
       
    48 	}//End of the namespace StreamAccess
       
    49 #endif /*TESTPROTSTRDESC_H_*/