widgetmanager/inc/wmplugin.h
changeset 1 5315654608de
parent 0 f72a12da539e
child 2 08c6ee43b396
--- a/widgetmanager/inc/wmplugin.h	Thu Dec 17 08:40:49 2009 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,162 +0,0 @@
-/*
-* Copyright (c) 2009 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:
-* widget manager plugin declaration
-*
-*/
-
-#ifndef __WMPLUGIN_
-#define __WMPLUGIN_
-
-//  INCLUDES
-#include <e32base.h>
-#include <vwsdef.h>
-
-#include <hscontentcontrolui.h>
-#include <hscontentcontroller.h>
-#include <hscontentinfo.h>
-
-class CAknViewAppUi;
-class CWmResourceLoader;
-class CWmMainContainerView;
-class CWmMainContainer;
-class CWmEffectManager;
-
-/**
- * CWmPlugin 
- */
-NONSHARABLE_CLASS( CWmPlugin ) : public CHsContentControlUi
-    {
-public:
-
-    /**
-     * Two-phased constructor.
-     */
-    static CWmPlugin* NewL();
-    
-    /** Destructor */
-    ~CWmPlugin();
-
-public: // From MHsContentControlUi
-
-    /** 
-     * shows the widget manager UI 
-     * 
-     * @see MHsContentControlUi::Activate
-     */
-    void Activate();
-    
-    /** 
-     * Notifies widget list changes 
-     * 
-     * @see MHsContentControlUi::NotifyWidgetListChanged
-     */
-    void NotifyWidgetListChanged();
-        
-public: // plugin services
-
-    /** 
-     * whether widget manager UI is showing 
-     * 
-     * @return return ETrue if wm UI is showed 
-     */
-    TBool IsActive();
-
-    /** 
-     * hides widget manager UI 
-     */
-    void Deactivate();
-
-    /** 
-     * main view activated. Sets the previous view ID and main container 
-     *
-     * @param aPreviousViewId
-     * @param aWmMainContainer 
-     */
-    void MainViewActivated( 
-            const TVwsViewId& aPreviousViewId,
-            CWmMainContainer* aWmMainContainer );
-
-    /** 
-     * main view was deactivated 
-     */
-    void MainViewDeactivated();
-
-    /** 
-     * the CAknViewAppUi reference
-     * 
-     * @return returns CAknViewAppUi 
-     */
-    inline CAknViewAppUi& ViewAppUi();
-
-    /** 
-     * the resource loader 
-     * 
-     * @return returns CWmResourceLoader
-     */
-    inline CWmResourceLoader& ResourceLoader();
-    
-    /** 
-     * the content controller ref
-     * 
-     * @return returns MHsContentController
-     */
-    inline MHsContentController& ContentController();
-
-    /**
-     * the shared file server reference
-     */
-    inline RFs& FileServer();
-
-private: // Construction
-    CWmPlugin();
-    void ConstructL();
-
-private: // data members
-
-    /**
-     * the host application view app UI (not owned)
-     */
-    CAknViewAppUi*  iViewAppUi;
-
-    /**
-     * main container (not owned)
-     */
-    CWmMainContainer*  iWmMainContainer;
-    
-    /**
-     * resource loader
-     */
-    CWmResourceLoader* iResourceLoader;
-
-    /**
-     * previous view ID (shown when main view closed)
-     */
-    TVwsViewId iPreviousViewUid;
-	
-    /**
-     * Takes care of fancy UI effects
-     */    
-    CWmEffectManager* iEffectManager;
-    
-    /**
-     * The file server session
-     */
-    RFs* iFs;
-
-    };
-
-#include "wmplugin.inl"
-#endif // __WMPLUGIN_
-