dosservices/tsrc/dsytesttool/dosservercontrol/inc/ctfdosserverplugin.h
author hgs
Sat, 30 Oct 2010 22:20:20 +0300
changeset 83 11da52d4c847
parent 0 4e1aa6a622a0
permissions -rw-r--r--
201043

/*
* 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