idlefw/inc/framework/aistateobserver.h
branchRCL_3
changeset 74 edd621764147
parent 51 15e4dd19031c
equal deleted inserted replaced
64:b276298d5729 74:edd621764147
    23 
    23 
    24 // User includes
    24 // User includes
    25 #include <aifwdefs.h>
    25 #include <aifwdefs.h>
    26 
    26 
    27 // Forward declarations
    27 // Forward declarations
    28 class THsPublisherInfo;
    28 class TAiFwPublisherInfo;
    29 
    29 
    30 /**
    30 /**
    31  * State Observer
    31  * State Observer
    32  * 
    32  * 
    33  * @ingroup group_aifw
    33  * @ingroup group_aifw
    48     /**
    48     /**
    49      * Content publisher load request.
    49      * Content publisher load request.
    50      * 
    50      * 
    51      * @since S60 5.2
    51      * @since S60 5.2
    52      * @param aInfo Publisher Info, which describes the plugin to be loaded.
    52      * @param aInfo Publisher Info, which describes the plugin to be loaded.
    53      * @param aReason Startup reason, which will be forwarded to the plugin.
       
    54      * @return Error code, KErrNone if succesfully loaded. 
       
    55      */
    53      */
    56     virtual TInt NotifyLoadPlugin( const THsPublisherInfo& aInfo,
    54     virtual void NotifyLoadPlugin( const TAiFwPublisherInfo& aInfo ) = 0;        
    57         TAiFwLoadReason aReason ) = 0;
       
    58 
    55 
    59     /**
    56     /**
    60      * Content publisher destroy request.
    57      * Content publisher destroy request.
    61      * 
    58      * 
    62      * @since S60 5.2
    59      * @since S60 5.2
    63      * @param aInfo Publisher Info, which describes the plugin to be destroyed.
    60      * @param aInfo Publisher Info, which describes the plugin to be destroyed.
    64      * @param aReason Shutdown reason, which will be forwarded to the plugin.
       
    65      */    
    61      */    
    66     virtual void NotifyDestroyPlugin( const THsPublisherInfo& aInfo,
    62     virtual void NotifyDestroyPlugin( const TAiFwPublisherInfo& aInfo ) = 0;        
    67         TAiFwDestroyReason aReason ) = 0;
       
    68     
    63     
    69     /**
    64     /**
    70      * Notifies to reload previously released plugins
    65      * Notifies to reload previously released plugins
    71      * 
    66      * 
    72      * @since S60 5.2
    67      * @since S60 5.2