diff -r 000000000000 -r 4e1aa6a622a0 dosservices/tsrc/dsytesttool/dosservercontrol/inc/ctfdosserverplugin.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dosservices/tsrc/dsytesttool/dosservercontrol/inc/ctfdosserverplugin.h Tue Feb 02 00:53:00 2010 +0200 @@ -0,0 +1,75 @@ +/* +* Copyright (c) 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: Declaration of CTFDosServerPlugin class +* +*/ + + +#ifndef __CTFDOSSERVERPLUGIN_H__ +#define __CTFDOSSERVERPLUGIN_H__ + +// INCLUDE FILES +#include "ctfstubmoduleinterface.h" + +// CLASS DECLARATION + +/** +* An implementation of CTFStubModuleInterface. +*/ +NONSHARABLE_CLASS( CTFDosServerPlugin ) : public CTFStubModuleInterface + { + public: // Constructors and destructor + /** + * Two-phased constructor. + * @param aInitParams Initialisation parameters. + * @return The created object. + */ + static CTFDosServerPlugin* NewL( TAny* aInitParams ); + + /** + * Destructor. + */ + ~CTFDosServerPlugin( void ); + + public: // Functions from base classes + /** + * Gets the stub implementation of this plug-in module + */ + CTFStub* GetStubL( void ); + + /** + * Builds the test suite of this plug-in module. + */ + void BuildTestSuiteL( CTFATestSuite* aRootSuite ); + + /** + * Gets the plug-in module specific part of a test case which has the given test case ID + */ + MTFStubTestCase* GetStubTestCaseL( TInt aTestCaseId ); + + private: // Functions + /** + * C++ default constructor. + * @param aParams Initialisation parameters. + */ + CTFDosServerPlugin( TAny* aParams ); + + private: // Data + CTFStubModuleInterface::TInterfaceInitParams* iInitParams; + + }; + +#endif //__CTFDOSSERVERPLUGIN_H__ + +// End of File