os/mm/mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/CapTestServer/src/CapTestStep0014.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2004-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 "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 //
    15 
    16 #ifndef __SECUREDEVSOUNDTESTSTEP0014_H__
    17 #define __SECUREDEVSOUNDTESTSTEP0014_H__
    18 
    19 #include <mdaaudiosampleeditor.h>
    20 #include <simulprocserver.h>
    21 
    22 class CAudPlayUtilTS0014 : public CSimulProcTestStep, public MMdaObjectStateChangeObserver
    23 	{
    24 private:
    25 	enum TInternalState 
    26 		{
    27 		EStateNone=0,
    28 		EStatePending,
    29 		EStateComplete
    30 		};
    31 			
    32 public:
    33 	static CAudPlayUtilTS0014* NewL();
    34 	void ConstructL();
    35 	virtual void StartProcessing(TRequestStatus& aStatus);
    36 	virtual TVerdict EndProcessingAndReturnResult(TDes8& aMessage);		
    37 	virtual ~CAudPlayUtilTS0014();
    38 
    39 	// from MMdaObjectStateChangeObserver	
    40 	virtual void MoscoStateChangeEvent(CBase* aObject, TInt aPreviousState, TInt aCurrentState, TInt aErrorCode);
    41 	
    42 private:
    43 	TRequestStatus* iStatus;
    44 	CMdaAudioRecorderUtility* iPlayer;
    45 	TVerdict iVerdict;
    46 	TInternalState iInternalState;
    47 	
    48 	
    49 	};
    50 	
    51 	
    52 #endif	// __SECUREDEVSOUNDTESTSTEP0014_H__
    53