contentpublishingsrv/contentharvester/contentharvesterswiplugin/inc/chswiplugin.h
changeset 60 f62f87b200ec
parent 3 ff572005ac23
--- a/contentpublishingsrv/contentharvester/contentharvesterswiplugin/inc/chswiplugin.h	Tue Feb 02 00:23:10 2010 +0200
+++ b/contentpublishingsrv/contentharvester/contentharvesterswiplugin/inc/chswiplugin.h	Fri Mar 19 09:35:23 2010 +0200
@@ -21,21 +21,16 @@
 #include <contentharvesterplugin.h>
 #include <apgnotif.h>
 
-#include "chswimassmodeobserver.h"
-
 class MLiwInterface;
 class CLiwGenericParamList;
 
-class CCHSwiUsbHandler;
-class CCHSwiUsbObserver;
-
 /**
  *  Active Data plugin for SIS installation events.
  *
  *  @since S60 S60 v3.1
  */
 class CCHSwiPlugin: public CContentHarvesterPlugin,
-        MApaAppListServObserver, MCHSwiMassModeObserver
+        MApaAppListServObserver
 	{
 	
 public:
@@ -58,13 +53,6 @@
 	void UpdateL();
 	
 private:
-	
-	// from MCHSwiMassModeObserver
-	void SetMassStorageMode( TBool aMode );
-	TBool IsMassStorageMode();
-	void HandleMassStorageModeEndEvent();
-	void HandleSuccessfulAsynchDriveScan();
-	
     // from MApaAppListServObserver
 
     void HandleAppListEvent( TInt aEvent );    
@@ -79,23 +67,16 @@
 	 */
 	CCHSwiPlugin( MLiwInterface* aInterface );
 	
-    /**
-     * Removes publishers from database when an applicaion 
-     * is uninstalled or when the MMC is removed.
+	
+   /**
+     * This function removes publishers from database when
+     * an applicaion is uninstalled or when the MMC is removed.
      */
 	void UpdateWidgetsL();
 	
-	/**
-	 * Removes widgets.
-	 * @param aWidgets Widgets list.
-	 */
+	
 	void RemoveWidgetsL( CLiwGenericParamList* aWidgets );
 	
-	/** 
-	 * Removes single widget.
-	 * @param aType Widget type.
-	 * @param aContentId Widget UID.
-	 */
 	void RemoveWidgetL( const TDesC& aType, 
         const TDesC& aContentId );
 	
@@ -106,42 +87,17 @@
      * An interface to Content Publisher Service
      */
     MLiwInterface* iCPSInterface;
-   
+
+    
     /**
      * AppArc session.
      * Own.
      */     
     RApaLsSession iApaLsSession;
     
-    /**
-     * File session.
-     */
-    RFs iFs;
-    
-    /**
-     * Change notifier.
-     * Own.
-     */
-    CApaAppListNotifier* iNotifier; 
-    
-    /**
-     * Mass storage mode handler. 
-     * Own.
-     */
-    CCHSwiUsbHandler* iUsbHandler;
-    
-    /**
-     * Disk observer for monitoring status of mass drive. 
-     * Own.
-     */
-    CCHSwiUsbObserver* iUsbObserver;
-    
-    /**
-     * Mass storage mode flag.
-     */
-    TBool iMassStorageMode;
-	};
+    CApaAppListNotifier* iNotifier; ///< Change notifier. Own.
 
-
+    };
 
 #endif // C_CCHSWIPLUGIN_H
+