idlehomescreen/widgetmanager/inc/wmplugin.h
branchRCL_3
changeset 9 f966699dea19
parent 5 c743ef5928ba
child 15 ff572dfe6d86
equal deleted inserted replaced
5:c743ef5928ba 9:f966699dea19
    55      * shows the widget manager UI 
    55      * shows the widget manager UI 
    56      * 
    56      * 
    57      * @see MHsContentControlUi::Activate
    57      * @see MHsContentControlUi::Activate
    58      */
    58      */
    59     void Activate();
    59     void Activate();
    60     
    60 
       
    61     /** 
       
    62      * notification for widget manager UI that its
       
    63      * deactivated and plugin is about to be destroyed.
       
    64      * 
       
    65      * @see MHsContentControlUi::DeActivate
       
    66      */
       
    67     void DeActivate();
       
    68 
       
    69     /** 
       
    70      * returns array of AknViews which were added to
       
    71      * AknViewAppUi by this plugin. 
       
    72      * 
       
    73      * @see MHsContentControlUi::Views
       
    74      */
       
    75     void Views( RPointerArray<CAknView>& aViews );
       
    76 
    61     /** 
    77     /** 
    62      * Notifies widget list changes 
    78      * Notifies widget list changes 
    63      * 
    79      * 
    64      * @see MHsContentControlUi::NotifyWidgetListChanged
    80      * @see MHsContentControlUi::NotifyWidgetListChanged
    65      */
    81      */
    75     TBool IsActive();
    91     TBool IsActive();
    76 
    92 
    77     /** 
    93     /** 
    78      * hides widget manager UI 
    94      * hides widget manager UI 
    79      */
    95      */
    80     void Deactivate();
    96     void CloseView();
    81 
    97 
    82     /** 
    98     /** 
    83      * main view activated. Sets the previous view ID and main container 
    99      * main view activated. Sets the previous view ID and main container 
    84      *
   100      *
    85      * @param aPreviousViewId
   101      * @param aPreviousViewId
   157      * Sets forwarding numeric keys to phone.
   173      * Sets forwarding numeric keys to phone.
   158      * 
   174      * 
   159      * @param aEnabled ETrue if numeric keys are forwarded to phone
   175      * @param aEnabled ETrue if numeric keys are forwarded to phone
   160      */
   176      */
   161     void ForwardNumericKeysToPhone( TBool aEnabled );
   177     void ForwardNumericKeysToPhone( TBool aEnabled );
       
   178     
       
   179     /** 
       
   180      * Shows error note.
       
   181      * 
       
   182      * @parama aError Error to be shown.
       
   183      */
       
   184     void ShowErrorNoteL( TInt aError );
   162 
   185 
   163 private: // data members
   186 private: // data members
   164 
   187 
   165     /**
   188     /**
   166      * the host application view app UI (not owned)
   189      * the host application view app UI (not owned)
   201     /**
   224     /**
   202      * content info as parameter to iPostponedCommand
   225      * content info as parameter to iPostponedCommand
   203      */
   226      */
   204     CHsContentInfo* iPostponedContent;
   227     CHsContentInfo* iPostponedContent;
   205     
   228     
   206     /**
       
   207      * ActiveSchedulerWait used to wait while previous view is
       
   208 	 * being activated upon deletion.
       
   209      */
       
   210     CActiveSchedulerWait* iWait;
       
   211     
       
   212     /*
   229     /*
   213      * Handles installation
   230      * Handles installation
   214      */
   231      */
   215     CWmInstaller* iWmInstaller;
   232     CWmInstaller* iWmInstaller;
   216     };
   233     };