First public contribution.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
22 This contains CT_SoundDriverServer
25 #ifndef __T_SOUND_DRIVER_SERVER_H__
26 #define __T_SOUND_DRIVER_SERVER_H__
29 #include <testblockcontroller.h>
30 #include <testserver2.h>
33 #include "t_mdadevsounddata.h"
34 #include "t_currentsoundformatdata.h"
35 #include "t_soundformatssupporteddata.h"
37 // classes being tested
38 _LIT(KRMdaDevSound, "RMdaDevSound");
39 _LIT(KTCurrentSoundFormat, "TCurrentSoundFormat");
40 _LIT(KTSoundFormatsSupported, "TSoundFormatsSupported");
42 // This wrapper class extends the test server and creates test server for sound driver
43 class CT_SoundDriverServer : public CTestServer2
46 class CT_SoundDriverBlock : public CTestBlockController
49 inline CT_SoundDriverBlock();
50 inline ~CT_SoundDriverBlock();
51 inline void ConstructL();
53 inline CDataWrapper* CreateDataL(const TDesC& aData);
56 RMdaDevSound* iServerStore;
60 static CT_SoundDriverServer* NewL();
61 inline ~CT_SoundDriverServer();
63 inline CTestBlockController* CreateTestBlock();
66 inline CT_SoundDriverServer();
69 RMdaDevSound iServerStore;
72 #include "t_sounddriverserver.inl"
74 #endif // __T_SOUND_DRIVER_SERVER_H__