photosgallery/viewframework/commandhandlers/commandhandlerbase/inc/glxmpxcommandcommandhandler.h
branchRCL_3
changeset 24 ea65f74e6de4
parent 17 a60acebbbd9d
equal deleted inserted replaced
23:b023a8d2866a 24:ea65f74e6de4
    28 #include "glxmedialistcommandhandler.h"
    28 #include "glxmedialistcommandhandler.h"
    29 
    29 
    30 class MGlxMediaList;
    30 class MGlxMediaList;
    31 class MGlxMediaListProvider;
    31 class MGlxMediaListProvider;
    32 class CAknAppUi;
    32 class CAknAppUi;
    33 	
    33 class CGlxImageViewerManager;
       
    34 
    34 /**
    35 /**
    35  * @class CGlxMpxCommandCommandHandler
    36  * @class CGlxMpxCommandCommandHandler
    36  *  
    37  *  
    37  * Command handler that creates and issues an MPXCommand
    38  * Command handler that creates and issues an MPXCommand
    38  *
    39  *
   228 
   229 
   229     /**
   230     /**
   230      * Remove medialist observer
   231      * Remove medialist observer
   231      */
   232      */
   232     void RemoveMediaListObserver();
   233     void RemoveMediaListObserver();
       
   234 	
       
   235     /**
       
   236      * Creates the image viewer instance, if not created already.
       
   237      */    
       
   238     void CreateImageViewerInstanceL();
       
   239     
       
   240     /**
       
   241      * Deletes the image viewer instance, if created already.
       
   242      */    
       
   243     void DeleteImageViewerInstance();
   233 
   244 
   234 protected: // From MGlxMediaListObserver    
   245 protected: // From MGlxMediaListObserver    
   235     /// See @ref MGlxMediaListObserver::HandleItemAddedL
   246     /// See @ref MGlxMediaListObserver::HandleItemAddedL
   236     IMPORT_C void HandleItemAddedL(TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList);
   247     IMPORT_C void HandleItemAddedL(TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList);
   237     
   248     
   279 	/// Whether the GIF animation is currently halted
   290 	/// Whether the GIF animation is currently halted
   280 	TBool iAnimationStopped;
   291 	TBool iAnimationStopped;
   281 	
   292 	
   282     /// The AppUI. Not owned
   293     /// The AppUI. Not owned
   283     CAknAppUi* iAppUi;
   294     CAknAppUi* iAppUi;
       
   295     
       
   296     // For image viewer, not own
       
   297     CGlxImageViewerManager* iImageViewerInstance;
   284 	};
   298 	};
   285 
   299 
   286 #endif // __C_GLXMPXCOMMANDCOMMANDHANDLER_H__
   300 #endif // __C_GLXMPXCOMMANDCOMMANDHANDLER_H__