diff -r 000000000000 -r bde4ae8d615e os/mm/mmlibs/mmfw/tsrc/mmfintegrationtest/DSCapTestServer/DevSoundServerTestStep.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/mm/mmlibs/mmfw/tsrc/mmfintegrationtest/DSCapTestServer/DevSoundServerTestStep.cpp Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,83 @@ +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + + +#include +#include "DevSoundServerTestStep.h" +#include + + +CSDevSoundTestStep1* CSDevSoundTestStep1::NewL() + { + CSDevSoundTestStep1* self = new (ELeave) CSDevSoundTestStep1; + CleanupStack::PushL(self); + self->ConstructL(); + CleanupStack::Pop(); + return self; + } + +void CSDevSoundTestStep1::ConstructL() + {} + + +void CSDevSoundTestStep1::InitializeComplete (TInt aError) + { + iCallbackArray[EInitComplete] ++; + iCallbackError = aError; + } + + +void CSDevSoundTestStep1::ToneFinished (TInt aError) + { + User::RequestComplete(iStatus, KErrNone); + iCallbackArray[EToneFinished] ++; + iCallbackError = aError; + CActiveScheduler::Stop(); + } + +void CSDevSoundTestStep1::BufferToBeFilled (CMMFBuffer* /*aBuffer*/) + {} + +void CSDevSoundTestStep1::PlayError (TInt /*aError*/) + {} + +void CSDevSoundTestStep1::BufferToBeEmptied (CMMFBuffer* /*aBuffer*/) + {} + +void CSDevSoundTestStep1::RecordError (TInt /*aError*/) + {} + +void CSDevSoundTestStep1::ConvertError (TInt /*aError*/) + {} + +void CSDevSoundTestStep1::DeviceMessage (TUid, const TDesC8& /*aMsg*/) + {} + + +void CSDevSoundTestStep1::StartProcessing(TRequestStatus& /*aStatus*/) + { + //Method implimentaion has been removed as per the part of DEF139262 + } + +TVerdict CSDevSoundTestStep1::EndProcessingAndReturnResult(TDes8& aMessage) + { + aMessage.Copy(_L("Done")); + return EPass; + } + +CSDevSoundTestStep1::~CSDevSoundTestStep1() + {} + +