mmfenh/advancedaudiocontroller/tsrc/advancedaudiocontrollertestmodule/AudioRecorderTestModule/inc/RecordFormats.h
changeset 0 71ca22bcf22a
child 43 9894ed580e4a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 2007 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:  AudioRecorder test
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #if !defined(AFX_RECORDFORMATS_H__3EDE1ACC_939F_49BE_B0B1_55C01807632D__INCLUDED_)
       
    20 #define AFX_RECORDFORMATS_H__3EDE1ACC_939F_49BE_B0B1_55C01807632D__INCLUDED_
       
    21 
       
    22 #if _MSC_VER > 1000
       
    23 #pragma once
       
    24 #endif // _MSC_VER > 1000
       
    25 
       
    26 #include "TestCaseBase.h"
       
    27 #include <MdaAudioSampleEditor.h>
       
    28 
       
    29 class CRecordFormats : public CTestCaseBase, public MMdaObjectStateChangeObserver
       
    30 {
       
    31 public:
       
    32 	CRecordFormats(CTestModuleIf *aConsole, CStifLogger *aLogger);
       
    33 
       
    34 	virtual ~CRecordFormats();
       
    35 
       
    36 
       
    37 	static TInt RunTestL(CTestModuleIf *aConsole, CStifLogger *aLogger, CStifSectionParser *aParser, TInt* clipCounter);
       
    38 
       
    39 	virtual void MoscoStateChangeEvent(CBase* aObject, TInt aPreviousState, TInt aCurrentState, TInt aErrorCode);
       
    40 
       
    41 	static CRecordFormats* NewL(CTestModuleIf *aConsole, CStifLogger *aLogger,TFileName* fileName);
       
    42 
       
    43 	CMdaAudioRecorderUtility* recorder;
       
    44 
       
    45 	static void GetFileName(TPtrC path, TFileName* fileName);
       
    46 
       
    47 private:
       
    48 	void ConstructL(TFileName* fileName);
       
    49 };
       
    50 
       
    51 #endif // !defined(AFX_RECORDFORMATS_H__3EDE1ACC_939F_49BE_B0B1_55C01807632D__INCLUDED_)