contentmgmt/cafstreamingsupport/test/tscaf/inc/tpostacquisition.h
branchRCL_3
changeset 43 2f10d260163b
equal deleted inserted replaced
42:eb9b28acd381 43:2f10d260163b
       
     1 
       
     2 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     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".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 // Defines the post-acquisition content protection test.
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file 
       
    21  @internalComponent
       
    22  @test
       
    23 */
       
    24 
       
    25 #ifndef TPOSTACQUISITION_H_
       
    26 #define TPOSTACQUISITION_H_
       
    27 
       
    28 #include "tscafstep.h"
       
    29 #include <caf/importfile.h>
       
    30 
       
    31 // Constant used to name test cases 
       
    32 _LIT(KScafPostAcquisitionStep,"SCAFPostAcquisition");
       
    33 
       
    34 class CScafPostAcquisition : public CScafStep
       
    35 /**
       
    36  	Defines the post-acqusition test showing how to record
       
    37  	protected content.
       
    38  */
       
    39 	{
       
    40 public:
       
    41 	CScafPostAcquisition(CScafServer& aParent);
       
    42 	~CScafPostAcquisition();
       
    43 	TVerdict doTestL();
       
    44 private:
       
    45 	TInt ProvideNewOutputFileL(ContentAccess::CImportFile& aImport, TDes& aName);
       
    46 	};
       
    47 	
       
    48 #endif /*TPOSTACQUISITION_H_*/