photosgallery/viewframework/views/gridview/inc/glxgridviewcontainer.h
branchRCL_3
changeset 14 ce1c7ad1f18b
parent 9 6b87b143d312
child 18 bcb43dc84c44
equal deleted inserted replaced
13:71da52165949 14:ce1c7ad1f18b
    32 #include <glxmedialistiterator.h>                       // Interface for going through items in
    32 #include <glxmedialistiterator.h>                       // Interface for going through items in
    33 #include <glxmedialistfactory.h>                        // MGlxMediaListFactory
    33 #include <glxmedialistfactory.h>                        // MGlxMediaListFactory
    34 
    34 
    35 #include <glxthumbnailcontext.h>
    35 #include <glxthumbnailcontext.h>
    36 #include <glxuistd.h>
    36 #include <glxuistd.h>
       
    37 #include <glxprogressindicator.h>
       
    38 #include <harvesterclient.h>
       
    39 
    37 #include "glxgridvieweventobserver.h"
    40 #include "glxgridvieweventobserver.h"
    38 
    41 
    39 class CHgGrid;
    42 class CHgGrid;
    40 class CGlxUiUtility;
    43 class CGlxUiUtility;
    41 class CGlxGridViewMLObserver;
    44 class CGlxGridViewMLObserver;
    48 //class declaration
    51 //class declaration
    49 
    52 
    50 class CGlxGridViewContainer : 	public CCoeControl,
    53 class CGlxGridViewContainer : 	public CCoeControl,
    51 								public MHgScrollBufferObserver,
    54 								public MHgScrollBufferObserver,
    52 								public MHgSelectionObserver,
    55 								public MHgSelectionObserver,
    53 								public MHgMarkingObserver
    56 								public MHgMarkingObserver,
       
    57 								public MHarvesterEventObserver
    54 	{
    58 	{
    55 public:
    59 public:
    56 	/**
    60 	/**
    57 	 * Two-phased constructor.
    61 	 * Two-phased constructor.
    58 	 *
    62 	 *
    91 	TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
    95 	TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
    92 	TKeyResponse OfferKeyEventL(const TKeyEvent &aKeyEvent, TEventCode aType);
    96 	TKeyResponse OfferKeyEventL(const TKeyEvent &aKeyEvent, TEventCode aType);
    93 
    97 
    94 	//handle orientaion realted changes
    98 	//handle orientaion realted changes
    95 	void HandleResourceChange(TInt aType);
    99 	void HandleResourceChange(TInt aType);
       
   100 public:
       
   101     // from MHarvesterEventObserver
       
   102     void HarvestingUpdated( 
       
   103                 HarvesterEventObserverType aHEObserverType, 
       
   104                 HarvesterEventState aHarvesterEventState,
       
   105                 TInt aItemsLeft );
       
   106 
    96 private:
   107 private:
    97 	/**
   108 	/**
    98 	 * C++ default constructor.
   109 	 * C++ default constructor.
    99 	 */
   110 	 */
   100 	CGlxGridViewContainer(MGlxMediaList *aMediaList,CGlxUiUtility* aUiUtility,MGlxGridEventObserver& aObserver,CAknToolbar* aToolbar);
   111 	CGlxGridViewContainer(MGlxMediaList *aMediaList,CGlxUiUtility* aUiUtility,MGlxGridEventObserver& aObserver,CAknToolbar* aToolbar);
   205 
   216 
   206 	//observer
   217 	//observer
   207 	MGlxGridEventObserver& 	iGlxGridViewObserver;
   218 	MGlxGridEventObserver& 	iGlxGridViewObserver;
   208 	//toolbar - created dynamically.
   219 	//toolbar - created dynamically.
   209     CAknToolbar* iToolbar;
   220     CAknToolbar* iToolbar;
       
   221     CGlxProgressIndicator* iProgressIndicator;
       
   222     RHarvesterClient iHarvesterClient;
   210 	};
   223 	};
   211 
   224 
   212 #endif // CGLXGRIDVIEWCONTROL_H
   225 #endif // CGLXGRIDVIEWCONTROL_H
   213 
   226