mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/OpenFileByHandle7803.h
changeset 0 b8ed18f6c07b
equal deleted inserted replaced
-1:000000000000 0:b8ed18f6c07b
       
     1 
       
     2 // Copyright (c) 2004-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 "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 // Header file: Basic  tests.
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file OpenFileByHandle7803.h
       
    21 */
       
    22 
       
    23 #ifndef OPENFILEBYHANDLE7803_H
       
    24 #define OPENFILEBYHANDLE7803_H
       
    25 
       
    26 #include "TSI_MMFACLNT.h"
       
    27 
       
    28 /** 
       
    29  * Open new file.
       
    30  *
       
    31  * @class CTestMmfAclntOpenFile7803
       
    32  * 
       
    33  */
       
    34 class CTestMmfAclntOpenFile7803 : public CTestMmfAclntAudioPlayerUtil
       
    35 	{
       
    36 public:
       
    37 	static CTestMmfAclntOpenFile7803* NewL( const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName);
       
    38 	virtual TVerdict DoTestL( CMdaAudioPlayerUtility* aPlayer );
       
    39 
       
    40 protected:
       
    41 	CTestMmfAclntOpenFile7803( const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName);
       
    42 	TVerdict PerformTestL( CMdaAudioPlayerUtility* aPlayer );
       
    43 	
       
    44 private:
       
    45 	TBuf<KNameBufSize> iKeyName;		// Key name for retrieving filename
       
    46 	TBool iSkipShareProtected;			// skip the normal RFs::ShareProtected call
       
    47 	TBool iExpectToFail;				// True if the RFile open stage should fail
       
    48 	TInt iExpectedError;				// if iExpectToFail, what error do we expect
       
    49 	};
       
    50 
       
    51 
       
    52 #endif	// OPENFILEBYHANDLE7803_H