dbcreator/commsdatcreatorrfsplugin/inc/cdccommsdatcreatorrfsplugin.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 26 Jan 2010 12:12:48 +0200
changeset 3 f7816ffc66ed
parent 0 5a93021fdf25
permissions -rw-r--r--
Revision: 201001 Kit: 201004

/*
* Copyright (c) 2006,2007 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 CCdcCommsDatCreatorRfsPlugin class.
*
*/



#ifndef C_CCDCCOMMSDATCREATORRFSPLUGIN_H
#define C_CCDCCOMMSDATCREATORRFSPLUGIN_H

//  INCLUDES
#include <rfsPlugin.h>

// CONSTANTS
const TInt KUidCommsDatCreatorRfsPlugin = 0x10281BC6; 

// FORWARD DECLARATIONS
class CRepository;


// CLASS DECLARATION

/**
*	Concrete class for CRFSPlugin
*	It supplies instantiation & destruction by using
*	the ECom framework, and functional services
*	by using the methods of the actual class.
*/
class CCdcCommsDatCreatorRfsPlugin : public CRFSPlugin
    {
public:

    /**
    * Two-phased constructor.
    * aImplementationUid - Implementation Uid
    */
    static CCdcCommsDatCreatorRfsPlugin * NewL( const TUid& aImplementationUid );

    /** 
	* From CRFSPlugin
	* aType Type
    * @return
	*/
    virtual void RestoreFactorySettingsL( const TRfsReason aType );

    /** 
	* From CRFSPlugin
	* aType - Type
	* aPath - Path
    * @return
	*/
    virtual void GetScriptL( const TRfsReason aType, TDes& aPath );

    /** 
	* From CRFSPlugin
	* aType - Type
	* aCommand - Command
    * @return
	*/
	virtual void ExecuteCustomCommandL( const TRfsReason aType, 
                                        TDesC& aCommand );
                                        
    /**
    * C++ destructor
    */
    virtual ~CCdcCommsDatCreatorRfsPlugin();

                                        
protected:

    /**
    * C++ default Constructor
    */
    CCdcCommsDatCreatorRfsPlugin ();
 
private:

	
    /**
    * Starts the rfs exe.
    */
    void StartProcessL();

private:

    };


#endif // C_CCDCCOMMSDATCREATORRFSPLUGIN_H