diff -r c2817bb2a55c -r cb506ec2d869 idlefw/inc/framework/aistatemanager.h --- a/idlefw/inc/framework/aistatemanager.h Wed Mar 31 13:30:40 2010 +0300 +++ b/idlefw/inc/framework/aistatemanager.h Wed May 12 13:35:37 2010 +0300 @@ -29,6 +29,7 @@ // Forward declarations class CAiPluginFactory; +class CAiCpsCommandBuffer; class CHsContentPublisher; class THsPublisherInfo; @@ -113,13 +114,14 @@ /** * @see MAiStateObserver */ - void NotifyUpdatePlugins(); + void NotifyReloadPlugins(); + /** * @see MAiStateObserver */ - TBool OnlineStateInUse() const; - + void NotifyReleasePlugins( const RArray& aUidList ); + private: // new functions @@ -187,19 +189,30 @@ * @since S60 5.2 */ void DestroyPlugins(); - + + /** + * Flushes cps command buffer + * + * @since S60 5.2 + */ + void FlushCommandBuffer(); + private: // data /** Plugin Factory, Not owned */ CAiPluginFactory& iFactory; + /** CPS Command buffer, Owned */ + CAiCpsCommandBuffer* iCommandBuffer; /** Current state */ TState iCurrentState; /** Flags */ TBitFlags32 iFlags; /** Halted flag */ - TBool iHalt; - + TBool iHalt; + /** List of plugins which should be reloaded */ + RArray iReloadPlugins; + private: // friend classes