equal
deleted
inserted
replaced
279 void AppendPluginsL( |
279 void AppendPluginsL( |
280 RPointerArray< hspswrapper::CPluginInfo > aPlugins, |
280 RPointerArray< hspswrapper::CPluginInfo > aPlugins, |
281 RPointerArray< CHsContentInfo >& aWidgets ); |
281 RPointerArray< CHsContentInfo >& aWidgets ); |
282 |
282 |
283 /** |
283 /** |
284 * Resets runtime cache. |
284 * Resets pluging configurations and templated publishers. |
285 */ |
285 */ |
286 void ResetCache(); |
286 void ResetPluginsAndPublishers(); |
287 |
287 |
288 /** |
288 /** |
289 * Retrieves native application configuration plugins from HSPS |
289 * Retrieves native application configuration plugins from HSPS |
290 */ |
290 */ |
291 void HspsApplicationPluginsL( RPointerArray< CHsContentInfo >& aWidgets ); |
291 void HspsApplicationPluginsL( RPointerArray< CHsContentInfo >& aWidgets ); |
308 |
308 |
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 |
|
314 /** callback for notify widget launcher */ |
|
315 static TInt WidgetListChangedCallBack( TAny* aSelf ); |
313 |
316 |
314 private: |
317 private: |
315 // from MXnViewObserver |
318 // from MXnViewObserver |
316 |
319 |
317 void NotifyViewActivatedL( const CXnViewData& aViewData ); |
320 void NotifyViewActivatedL( const CXnViewData& aViewData ); |
333 // from MCpsWrapperObserver |
336 // from MCpsWrapperObserver |
334 |
337 |
335 void NotifyWidgetUnregisteredL( const TDesC& aPublisher ); |
338 void NotifyWidgetUnregisteredL( const TDesC& aPublisher ); |
336 |
339 |
337 void NotifyWidgetRegisteredL(); |
340 void NotifyWidgetRegisteredL(); |
|
341 |
|
342 void NotifyWidgetUpdatedL(); |
338 |
343 |
339 private: |
344 private: |
340 // from MHspsWrapperObserver |
345 // from MHspsWrapperObserver |
341 |
346 |
342 TInt HandleNotifyL( const TDesC8& aEvent, const TDesC8& aAppConfUid, |
347 TInt HandleNotifyL( const TDesC8& aEvent, const TDesC8& aAppConfUid, |
360 CXnNode* iTargetPlugin; |
365 CXnNode* iTargetPlugin; |
361 /** Widgets visibility state */ |
366 /** Widgets visibility state */ |
362 TBool iWidgetsVisibilityState; |
367 TBool iWidgetsVisibilityState; |
363 /** Central repository , to choose plugin, owned*/ |
368 /** Central repository , to choose plugin, owned*/ |
364 CRepository* iRepository; |
369 CRepository* iRepository; |
365 /** Plugins cache, owned */ |
370 /** Widget/template plugin configurations, owned */ |
366 RPointerArray< hspswrapper::CPluginInfo > iPluginsCache; |
371 RPointerArray< hspswrapper::CPluginInfo > iPluginConfigurations; |
|
372 /** Oom handler, owned. */ |
367 CXnOomSysHandler* iOomSysHandler; |
373 CXnOomSysHandler* iOomSysHandler; |
|
374 /** Launcher for notifying widget updates */ |
|
375 CPeriodic* iNotifyWidgetUpdate; |
368 }; |
376 }; |
369 |
377 |
370 #endif // C_XNEDITOR_H |
378 #endif // C_XNEDITOR_H |