mds_plat/harvester_framework_api/inc/harvesterplugin.h
branchRCL_3
changeset 3 6752808b2036
parent 1 acef663c1218
child 18 63c982fb92f2
--- a/mds_plat/harvester_framework_api/inc/harvesterplugin.h	Tue Feb 02 00:24:33 2010 +0200
+++ b/mds_plat/harvester_framework_api/inc/harvesterplugin.h	Fri Feb 19 23:14:48 2010 +0200
@@ -25,7 +25,7 @@
 class CHarvesterBlacklist;
 class CHarvesterData;
 class CMdEPropertyDef;
-class CHarvesterEventManager;
+class CHarvesterPluginFactory;
 
 // Uid for this interface
 const TUid KCHarvesterPluginInterfaceUid = { 0x200009F8 };
@@ -195,6 +195,18 @@
 	  * Constuctor 
 	  */
 	 IMPORT_C CHarvesterPlugin();
+
+public:
+
+    /** 
+     * Method for getting the mime type for given uri
+     */
+    IMPORT_C virtual void GetMimeType( const TDesC& aUri, TDes& aMimeType );
+    
+    /** 
+     * Method for adding reference to harvester plugin factory
+     */
+    IMPORT_C void SetHarvesterPluginFactory( CHarvesterPluginFactory& aFactory );
          
 private:
     
@@ -233,7 +245,12 @@
 	 * Pointer to blacklisting functionality
 	 */
 	CHarvesterBlacklist* iBlacklist;
-	
+
+    // Not own
+    CHarvesterPluginFactory* iFactory;
+    
+    TBool iFastModeEnabled;
+    
 private:
 	
 	/* Identification on cleanup */ 
@@ -244,7 +261,6 @@
 	
     TBool iHarvesting;
 	
-	CHarvesterEventManager* iHarvesterEventManager;
     };
 
 #endif // __CHARVESTERPLUGIN_H__