diff -r b220a9341636 -r fe9d1bf55678 mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/teststart/tsu_mmf_devsound_starttest.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/teststart/tsu_mmf_devsound_starttest.h Tue Nov 02 12:28:51 2010 +0000 @@ -0,0 +1,72 @@ +// Copyright (c) 2010 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: +// + +#ifndef TSU_MMF_DEVSOUND_STARTTEST_H +#define TSU_MMF_DEVSOUND_STARTTEST_H + +#include +#include +#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS +#include +#endif +#include +#include "tsu_mmf_devsound_starttest.hrh" + +class CStartToolTestSvr; + +class CStartToolTest : public CBase, + public MAudioSvrService + + { +public: + static MAudioSvrService* NewL(); + ~CStartToolTest(); + +private: + CStartToolTest(); + + // from MAudioSvrService + void PassDestructorKey(TUid aDestructorKey); + TInt Load(); + void Release(); + TInt Start(); + void Stop(); + +private: + TUid iDestructorKey; + CStartToolTestSvr* iServer; + }; + +_LIT(KStartToolTestSvrName, "!StartToolSvr"); +const TInt KTestCaseErrorCode = -999; + +class CStartToolTestSvr: public CServer2 + { +public: + static CStartToolTestSvr* NewL(); + ~CStartToolTestSvr(); + + void StartL(); + +private: + CStartToolTestSvr(); + void ConstructL(); + + // from CServer2 + CSession2* NewSessionL(const TVersion& aVersion,const RMessage2& aMessage) const; + }; + + +#endif