photosgallery/viewframework/commandhandlers/commoncommandhandlers/inc/glxcommandhandlervideoplayback.h
--- a/photosgallery/viewframework/commandhandlers/commoncommandhandlers/inc/glxcommandhandlervideoplayback.h Tue May 11 16:13:40 2010 +0300
+++ b/photosgallery/viewframework/commandhandlers/commoncommandhandlers/inc/glxcommandhandlervideoplayback.h Tue May 25 12:42:31 2010 +0300
@@ -129,6 +129,25 @@
void DoHandlePlaybackMessageL( const CMPXMessage& aMessage );
void HandlePlaybackPlayerChangedL();
+
+ /**
+ * Provides the static function for the callback to
+ * finish the MMPXPlaybackUtility construction
+ * Called by CPeriodic iConstructTimer
+ * @param aPtr Pointer to callback class
+ * @return KErrNone
+ */
+ static TInt LateConstructCallback( TAny* aPtr );
+
+ /**
+ * Called to finalize the MMPXPlaybackUtility construction.
+ */
+ virtual void DoLateConstruct();
+
+ /**
+ * Retrieves playback utility and creates it if needed
+ */
+ void PlaybackUtilityL();
private:
// Pointer to the CGlxHuiUtility (reference counted).
@@ -148,6 +167,12 @@
MMPXPlaybackUtility* iPlaybackUtility;
MMPXViewUtility* iViewUtility;
+
+ /**
+ * For Late construction of 'MMPXPlaybackUtility'.
+ */
+ CPeriodic* iPbUtilityConstructTimer;
+
};
#endif // C_GLXCOMMANDHANDLERVIDEOPLAYBACK_H