musichomescreen_multiview/musiccontentpublisher/inc/musiccontentpublisher.h
branchRCL_3
changeset 50 26a1709b9fec
parent 17 c8156a91d13c
--- a/musichomescreen_multiview/musiccontentpublisher/inc/musiccontentpublisher.h	Thu Jul 15 18:35:42 2010 +0300
+++ b/musichomescreen_multiview/musiccontentpublisher/inc/musiccontentpublisher.h	Thu Aug 19 09:52:08 2010 +0300
@@ -321,6 +321,17 @@
     void DoPublishCmdL(const TDesC8& aCmd, const TDesC8& aKey, const CLiwMap * aValue);
 
     
+	/**
+    * Callback function for CPeriodic.
+    * Defer the creation of MCP plugin to allow the rest of homescreen plugins to be loaded and updated.
+    * This is a temporary solution which shall be replaced with HarvesterServer in Starterlist. 
+	* HarvesterServer shall then do the time consuming initialization of MPX Collection and Playback 
+	* and Harvester servers instead.
+    */
+
+    static TInt UpdateCallback(TAny* aContentPublisher);
+    
+	void DoUpdate();
 
 private: // data
 
@@ -390,6 +401,9 @@
     TBool iWidgetForeground;
 
     HBufC* iInstanceId;
+    
+	// timer to start creating mcpplugin
+    CPeriodic* iUpdateIdle;    
    
     };