idlehomescreen/xmluirendering/uiengine/inc/xneditor.h
branchRCL_3
changeset 28 d721605b30d0
parent 25 137ebc85284b
equal deleted inserted replaced
26:1b758917cafc 28:d721605b30d0
   309     /**
   309     /**
   310      * Checks whether the view is full
   310      * Checks whether the view is full
   311      */
   311      */
   312     TBool IsViewFull( CXnViewData& aViewData );
   312     TBool IsViewFull( CXnViewData& aViewData );
   313     
   313     
       
   314     /*
       
   315      * Notifies observers that widget list is changed
       
   316      */
       
   317     void NotifyWidgetListChanged();
       
   318     
   314     /** callback for notify widget launcher */
   319     /** callback for notify widget launcher */
   315     static TInt WidgetListChangedCallBack( TAny* aSelf );
   320     static TInt WidgetListChangedCallBack( TAny* aSelf );
   316     
   321 
       
   322     /*
       
   323      * Notifies observers that view list is changed
       
   324      */
       
   325     void NotifyViewListChanged();
       
   326     
       
   327     /** callback for notify view launcher */
       
   328     static TInt ViewListChangedCallBack( TAny* aSelf );
       
   329 
   317 private:
   330 private:
   318     // from MXnViewObserver    
   331     // from MXnViewObserver    
   319     
   332     
   320     void NotifyViewActivatedL( const CXnViewData& aViewData );
   333     void NotifyViewActivatedL( const CXnViewData& aViewData );
   321 
   334 
   329     void NotifyWidgetRemovalL( const CXnPluginData& aPluginData );
   342     void NotifyWidgetRemovalL( const CXnPluginData& aPluginData );
   330 
   343 
   331     void NotifyViewAdditionL( const CXnPluginData& /*aPluginData*/ );
   344     void NotifyViewAdditionL( const CXnPluginData& /*aPluginData*/ );
   332     
   345     
   333     void NotifyViewRemovalL( const CXnPluginData& /*aPluginData*/ );
   346     void NotifyViewRemovalL( const CXnPluginData& /*aPluginData*/ );
       
   347     
       
   348     void NotifyAllViewsLoadedL();
       
   349 
       
   350     void NotifyContainerActivatedL( const CXnViewData& aViewData );
   334 
   351 
   335 private:
   352 private:
   336     // from MCpsWrapperObserver    
   353     // from MCpsWrapperObserver    
   337  
   354  
   338     void NotifyWidgetUnregisteredL( const TDesC& aPublisher );
   355     void NotifyWidgetUnregisteredL( const TDesC& aPublisher );
   369     CRepository* iRepository;
   386     CRepository* iRepository;
   370 	/** Widget/template plugin configurations, owned */
   387 	/** Widget/template plugin configurations, owned */
   371     RPointerArray< hspswrapper::CPluginInfo > iPluginConfigurations;
   388     RPointerArray< hspswrapper::CPluginInfo > iPluginConfigurations;
   372 	/** Oom handler, owned. */
   389 	/** Oom handler, owned. */
   373     CXnOomSysHandler* iOomSysHandler;
   390     CXnOomSysHandler* iOomSysHandler;
   374 	/** Launcher for notifying widget updates */    
   391 	/** Launcher for notifying widget list changes */    
   375     CPeriodic* iNotifyWidgetUpdate;
   392     CPeriodic* iNotifyWidgetListChanged;
       
   393     /** Launcher for notifying view list changes */    
       
   394     CPeriodic* iNotifyViewListChanged;
   376     };
   395     };
   377 
   396 
   378 #endif // C_XNEDITOR_H
   397 #endif // C_XNEDITOR_H