musichomescreen_multiview/musiccontentpublisher/inc/musiccontentpublisher.h
branchRCL_3
changeset 50 26a1709b9fec
parent 17 c8156a91d13c
equal deleted inserted replaced
49:455f89b7fcc5 50:26a1709b9fec
   319     void DoPublishModifiedL();
   319     void DoPublishModifiedL();
   320     void DoPublishDeleteAllL();
   320     void DoPublishDeleteAllL();
   321     void DoPublishCmdL(const TDesC8& aCmd, const TDesC8& aKey, const CLiwMap * aValue);
   321     void DoPublishCmdL(const TDesC8& aCmd, const TDesC8& aKey, const CLiwMap * aValue);
   322 
   322 
   323     
   323     
       
   324 	/**
       
   325     * Callback function for CPeriodic.
       
   326     * Defer the creation of MCP plugin to allow the rest of homescreen plugins to be loaded and updated.
       
   327     * This is a temporary solution which shall be replaced with HarvesterServer in Starterlist. 
       
   328 	* HarvesterServer shall then do the time consuming initialization of MPX Collection and Playback 
       
   329 	* and Harvester servers instead.
       
   330     */
       
   331 
       
   332     static TInt UpdateCallback(TAny* aContentPublisher);
       
   333     
       
   334 	void DoUpdate();
   324 
   335 
   325 private: // data
   336 private: // data
   326 
   337 
   327     /**
   338     /**
   328      * Instance of CPS interface used for update with CPS.
   339      * Instance of CPS interface used for update with CPS.
   388 
   399 
   389     CMCPHarvesterPublisherObserver* iHPObserver;
   400     CMCPHarvesterPublisherObserver* iHPObserver;
   390     TBool iWidgetForeground;
   401     TBool iWidgetForeground;
   391 
   402 
   392     HBufC* iInstanceId;
   403     HBufC* iInstanceId;
       
   404     
       
   405 	// timer to start creating mcpplugin
       
   406     CPeriodic* iUpdateIdle;    
   393    
   407    
   394     };
   408     };
   395 
   409 
   396 #endif // C_MUSICCONTENTPUBLISHER_H
   410 #endif // C_MUSICCONTENTPUBLISHER_H
   397 
   411