harvesterplugins/messaging/smsmms/inc/cmessageplugin.h
changeset 26 367228f82b66
parent 9 4a2987baf8f7
child 27 7a8855317cbd
equal deleted inserted replaced
24:1abfa342db42 26:367228f82b66
    50 	/**
    50 	/**
    51 	 * From CIndexingPlugin
    51 	 * From CIndexingPlugin
    52 	 */
    52 	 */
    53 	void StartPluginL();
    53 	void StartPluginL();
    54 	void StartHarvestingL(const TDesC& aQualifiedBaseAppClass);
    54 	void StartHarvestingL(const TDesC& aQualifiedBaseAppClass);
    55 	
    55     void PausePluginL();
       
    56     void ResumePluginL();
       
    57     
    56 	/**
    58 	/**
    57 	* callback from MMsvSessionObserver
    59 	* callback from MMsvSessionObserver
    58 	*/
    60 	*/
    59 	virtual void HandleSessionEventL(TMsvSessionEvent aEvent, 
    61 	virtual void HandleSessionEventL(TMsvSessionEvent aEvent, 
    60 									 TAny* aArg1, 
    62 									 TAny* aArg1, 
   115      * IsMediaRemovableL - Check media is removable or not.
   117      * IsMediaRemovableL - Check media is removable or not.
   116      * @param aDrive - The drive for which it is checked.
   118      * @param aDrive - The drive for which it is checked.
   117      * returns ETrue if it is removable else EFalse.
   119      * returns ETrue if it is removable else EFalse.
   118      */
   120      */
   119     TBool IsMediaRemovableL(TDriveNumber& aDrive);
   121     TBool IsMediaRemovableL(TDriveNumber& aDrive);
       
   122     
       
   123     TBool GetHarvesterState();
       
   124     
       
   125     void MountAvailableDrivesInQueue();    
   120 
   126 
   121 public:
   127 public:
   122 	/*
   128 	/*
   123 	 * Notifies the indexing manager of completed harvesting, called by CMessageHarvester
   129 	 * Notifies the indexing manager of completed harvesting, called by CMessageHarvester
   124 	 */
   130 	 */
   140     //Currently used Drive by messaging application
   146     //Currently used Drive by messaging application
   141     TInt     iCurrentDrive;
   147     TInt     iCurrentDrive;
   142     // CPix indexer 
   148     // CPix indexer 
   143     CCPixIndexer* iIndexer[EDriveZ+1]; // EDriveZ enum value is 25, so add 1.
   149     CCPixIndexer* iIndexer[EDriveZ+1]; // EDriveZ enum value is 25, so add 1.
   144     
   150     
       
   151     TBool iIndexState;
       
   152     
       
   153     RArray<TDriveNumber>  iMountDrives;    
       
   154     
   145 #ifdef HARVESTERPLUGINTESTER_FRIEND
   155 #ifdef HARVESTERPLUGINTESTER_FRIEND
   146     friend class CHarvesterPluginTester;
   156     friend class CHarvesterPluginTester;
   147 #endif
   157 #endif
   148 
   158 
   149 #ifdef __PERFORMANCE_DATA
   159 #ifdef __PERFORMANCE_DATA