sl@0: /* sl@0: * Copyright (c) 2005-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: sl@0: #if (!defined __T_SCREEN_DRIVER_SERVER_H__) sl@0: #define __T_SCREEN_DRIVER_SERVER_H__ sl@0: sl@0: // EPOC Includes sl@0: #include sl@0: sl@0: // This wrapper class extends the test server and creates test server for screen driver sl@0: class CT_ScreenDriverServer : public CTestServer2 sl@0: { sl@0: private: sl@0: class CT_ScreenDriverBlock : public CTestBlockController sl@0: { sl@0: public: sl@0: inline CT_ScreenDriverBlock(); sl@0: inline ~CT_ScreenDriverBlock(); sl@0: sl@0: CDataWrapper* CreateDataL( const TDesC& aData ); sl@0: }; sl@0: sl@0: public: sl@0: inline ~CT_ScreenDriverServer(); sl@0: sl@0: inline void DeleteActiveSchedulerL(); sl@0: sl@0: static CT_ScreenDriverServer* NewL(); sl@0: sl@0: inline CTestBlockController* CreateTestBlock(); sl@0: sl@0: protected: sl@0: inline CT_ScreenDriverServer(); sl@0: }; sl@0: sl@0: #include "T_ScreenDriverServer.inl" sl@0: sl@0: #endif /* __T_SCREEN_DRIVER_SERVER_H__ */