sl@0: // Copyright (c) 2003-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: // sl@0: sl@0: sl@0: #include sl@0: #include "DevSoundServerTestStep.h" sl@0: #include sl@0: sl@0: sl@0: CSDevSoundTestStep1* CSDevSoundTestStep1::NewL() sl@0: { sl@0: CSDevSoundTestStep1* self = new (ELeave) CSDevSoundTestStep1; sl@0: CleanupStack::PushL(self); sl@0: self->ConstructL(); sl@0: CleanupStack::Pop(); sl@0: return self; sl@0: } sl@0: sl@0: void CSDevSoundTestStep1::ConstructL() sl@0: {} sl@0: sl@0: sl@0: void CSDevSoundTestStep1::InitializeComplete (TInt aError) sl@0: { sl@0: iCallbackArray[EInitComplete] ++; sl@0: iCallbackError = aError; sl@0: } sl@0: sl@0: sl@0: void CSDevSoundTestStep1::ToneFinished (TInt aError) sl@0: { sl@0: User::RequestComplete(iStatus, KErrNone); sl@0: iCallbackArray[EToneFinished] ++; sl@0: iCallbackError = aError; sl@0: CActiveScheduler::Stop(); sl@0: } sl@0: sl@0: void CSDevSoundTestStep1::BufferToBeFilled (CMMFBuffer* /*aBuffer*/) sl@0: {} sl@0: sl@0: void CSDevSoundTestStep1::PlayError (TInt /*aError*/) sl@0: {} sl@0: sl@0: void CSDevSoundTestStep1::BufferToBeEmptied (CMMFBuffer* /*aBuffer*/) sl@0: {} sl@0: sl@0: void CSDevSoundTestStep1::RecordError (TInt /*aError*/) sl@0: {} sl@0: sl@0: void CSDevSoundTestStep1::ConvertError (TInt /*aError*/) sl@0: {} sl@0: sl@0: void CSDevSoundTestStep1::DeviceMessage (TUid, const TDesC8& /*aMsg*/) sl@0: {} sl@0: sl@0: sl@0: void CSDevSoundTestStep1::StartProcessing(TRequestStatus& /*aStatus*/) sl@0: { sl@0: //Method implimentaion has been removed as per the part of DEF139262 sl@0: } sl@0: sl@0: TVerdict CSDevSoundTestStep1::EndProcessingAndReturnResult(TDes8& aMessage) sl@0: { sl@0: aMessage.Copy(_L("Done")); sl@0: return EPass; sl@0: } sl@0: sl@0: CSDevSoundTestStep1::~CSDevSoundTestStep1() sl@0: {} sl@0: sl@0: