idlehomescreen/xmluicontroller/inc/contentpublisher.h
branchRCL_3
changeset 9 f966699dea19
parent 1 5315654608de
equal deleted inserted replaced
5:c743ef5928ba 9:f966699dea19
    32 
    32 
    33 // FORWARD DECLARATIONS
    33 // FORWARD DECLARATIONS
    34 class CLiwGenericParamList;
    34 class CLiwGenericParamList;
    35 class CLiwServiceHandler;
    35 class CLiwServiceHandler;
    36 class MLiwInterface;
    36 class MLiwInterface;
    37 class CAknGlobalConfirmationQuery;
       
    38 
    37 
    39 namespace AiXmlUiController
    38 namespace AiXmlUiController
    40 {
    39 {
    41 class CXmlUiController;
    40 class CXmlUiController;
    42 class CGlobalQueryHandler;
       
    43 
       
    44 
    41 
    45 /**
    42 /**
    46  *  @ingroup group_xmluicontroller
    43  *  @ingroup group_xmluicontroller
    47  * 
    44  * 
    48  *  Interface to publish data to Content Publishing Service
    45  *  Interface to publish data to Content Publishing Service
   111         
   108         
   112         void HandlePublisherInfoL( const TDesC& aPubInfo);
   109         void HandlePublisherInfoL( const TDesC& aPubInfo);
   113         void RegisterListenerL();
   110         void RegisterListenerL();
   114         void UnRegisterListenerL();
   111         void UnRegisterListenerL();
   115         
   112         
   116         /**
       
   117          * Displayes global query for 'go online' or 'go offline' confirmations
       
   118          * @param aResourceId resource id for the text string
       
   119          * @param aSetOnline if ETrue then set widgets online if confirmation accepted,
       
   120          *     if EFalse then set widgets offline if confirmation accepted 
       
   121          */
       
   122         void ShowGlobalQueryL( TInt aResourceId, TBool aSetOnline );
       
   123         
       
   124     private:
   113     private:
   125 		MLiwInterface* iCpsInterface;
   114 		MLiwInterface* iCpsInterface;
   126 		CLiwServiceHandler* iServiceHandler;
   115 		CLiwServiceHandler* iServiceHandler;
   127 		
   116 		
   128 	    /**
   117 	    /**
   129 	     * Reference to XML ui controller.
   118 	     * Reference to XML ui controller.
   130 	     */
   119 	     */
   131 	    CXmlUiController& iUiController;
   120 	    CXmlUiController& iUiController;
   132 	    
       
   133 	    CGlobalQueryHandler* iGlobalQueryHandler;
       
   134 	    CAknGlobalConfirmationQuery* iGlobalConfirmationQuery;
       
   135 	    
       
   136     };
   121     };
   137 
   122 
   138 }// namespace AiXmlUiController
   123 }// namespace AiXmlUiController
   139 #endif //CONTENTPUBLISHER_H
   124 #endif //CONTENTPUBLISHER_H
   140 
   125