sl@0: sl@0: // Copyright (c) 2004-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 "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: // Header file: Basic tests. sl@0: // sl@0: // sl@0: sl@0: /** sl@0: @file OpenFileByHandle7803.h sl@0: */ sl@0: sl@0: #ifndef OPENFILEBYHANDLE7803_H sl@0: #define OPENFILEBYHANDLE7803_H sl@0: sl@0: #include "TSI_MMFACLNT.h" sl@0: sl@0: /** sl@0: * Open new file. sl@0: * sl@0: * @class CTestMmfAclntOpenFile7803 sl@0: * sl@0: */ sl@0: class CTestMmfAclntOpenFile7803 : public CTestMmfAclntAudioPlayerUtil sl@0: { sl@0: public: sl@0: static CTestMmfAclntOpenFile7803* NewL( const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName); sl@0: virtual TVerdict DoTestL( CMdaAudioPlayerUtility* aPlayer ); sl@0: sl@0: protected: sl@0: CTestMmfAclntOpenFile7803( const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName); sl@0: TVerdict PerformTestL( CMdaAudioPlayerUtility* aPlayer ); sl@0: sl@0: private: sl@0: TBuf iKeyName; // Key name for retrieving filename sl@0: TBool iSkipShareProtected; // skip the normal RFs::ShareProtected call sl@0: TBool iExpectToFail; // True if the RFile open stage should fail sl@0: TInt iExpectedError; // if iExpectToFail, what error do we expect sl@0: }; sl@0: sl@0: sl@0: #endif // OPENFILEBYHANDLE7803_H