contentpublishingsrv/contentharvester/contentharvesterswiplugin/inc/chswiplugin.h
changeset 93 82b66994846c
parent 92 782e3408c2ab
child 94 dbb8300717f7
--- a/contentpublishingsrv/contentharvester/contentharvesterswiplugin/inc/chswiplugin.h	Fri Apr 16 14:45:49 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-/*
-* Copyright (c) 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:  
- *
-*/
-
-#ifndef C_CCHSWIPLUGIN_H
-#define C_CCHSWIPLUGIN_H
-
-#include <contentharvesterplugin.h>
-#include <apgnotif.h>
-
-class MLiwInterface;
-class CLiwGenericParamList;
-
-/**
- *  Active Data plugin for SIS installation events.
- *
- *  @since S60 S60 v3.1
- */
-class CCHSwiPlugin: public CContentHarvesterPlugin,
-        MApaAppListServObserver
-	{
-	
-public:
-	/**
-	 * Two-phased constructor.
-     * @param aInterface liw interface
-	 */
-	static CCHSwiPlugin* NewL( MLiwInterface* aInterface );
-	
-	/**
-	 * Destructor.
-	 */
-	virtual ~CCHSwiPlugin();			 		
-
-	/**
-	 * From CContentHarvesterPlugin.
-	 * This function updates all data entries which could change when an applicaion is installed
-	 * or when the MMC is removed/inserted.
-	 */
-	void UpdateL();
-	
-private:
-    // from MApaAppListServObserver
-
-    void HandleAppListEvent( TInt aEvent );    
-    /**
-	 * Performs the second phase construction of a CADatSwi object.
-	 */		
-	void ConstructL();
-	
-	/**
-	 * Default Constructor.
-	 * @param aActiveSpace An instance of the Active Space Client.
-	 */
-	CCHSwiPlugin( MLiwInterface* aInterface );
-	
-	
-   /**
-     * This function removes publishers from database when
-     * an applicaion is uninstalled or when the MMC is removed.
-     */
-	void UpdateWidgetsL();
-	
-	
-	void RemoveWidgetsL( CLiwGenericParamList* aWidgets );
-	
-	void RemoveWidgetL( const TDesC& aType, 
-        const TDesC& aContentId );
-	
-
-private:
-    
-    /**
-     * An interface to Content Publisher Service
-     */
-    MLiwInterface* iCPSInterface;
-
-    
-    /**
-     * AppArc session.
-     * Own.
-     */     
-    RApaLsSession iApaLsSession;
-    
-    CApaAppListNotifier* iNotifier; ///< Change notifier. Own.
-
-    };
-
-#endif // C_CCHSWIPLUGIN_H
-