diff -r b023a8d2866a -r ea65f74e6de4 photosgallery/viewframework/commandhandlers/commandhandlerbase/inc/glxmpxcommandcommandhandler.h --- a/photosgallery/viewframework/commandhandlers/commandhandlerbase/inc/glxmpxcommandcommandhandler.h Thu Jul 15 18:39:01 2010 +0300 +++ b/photosgallery/viewframework/commandhandlers/commandhandlerbase/inc/glxmpxcommandcommandhandler.h Thu Aug 19 09:55:03 2010 +0300 @@ -30,7 +30,8 @@ class MGlxMediaList; class MGlxMediaListProvider; class CAknAppUi; - +class CGlxImageViewerManager; + /** * @class CGlxMpxCommandCommandHandler * @@ -230,6 +231,16 @@ * Remove medialist observer */ void RemoveMediaListObserver(); + + /** + * Creates the image viewer instance, if not created already. + */ + void CreateImageViewerInstanceL(); + + /** + * Deletes the image viewer instance, if created already. + */ + void DeleteImageViewerInstance(); protected: // From MGlxMediaListObserver /// See @ref MGlxMediaListObserver::HandleItemAddedL @@ -281,6 +292,9 @@ /// The AppUI. Not owned CAknAppUi* iAppUi; + + // For image viewer, not own + CGlxImageViewerManager* iImageViewerInstance; }; #endif // __C_GLXMPXCOMMANDCOMMANDHANDLER_H__