photosgallery/slideshow/view/inc/shwslideshowview.h
branchRCL_3
changeset 13 bcb43dc84c44
parent 12 ce1c7ad1f18b
child 15 191387a8b767
equal deleted inserted replaced
12:ce1c7ad1f18b 13:bcb43dc84c44
    23 #include <glxviewbase.h>
    23 #include <glxviewbase.h>
    24 #include <mglxmedialistobserver.h>
    24 #include <mglxmedialistobserver.h>
    25 #include <AknProgressDialog.h>
    25 #include <AknProgressDialog.h>
    26 #include <gestureobserver.h>
    26 #include <gestureobserver.h>
    27 #include <gesturehelper.h>
    27 #include <gesturehelper.h>
    28 #include <harvesterclient.h>
       
    29 #include "shwengineobserver.h"
    28 #include "shwengineobserver.h"
    30 #include "shwmusicobserver.h"
    29 #include "shwmusicobserver.h"
    31 #include "shwconstants.h"
    30 #include "shwconstants.h"
    32 #include "shwtickobserver.h"
    31 #include "shwtickobserver.h"
    33 #include "shwgestureobserver.h"
    32 #include "shwgestureobserver.h"
    34 #include "gesturecontrol.h"
    33 #include "gesturecontrol.h"
    35 
    34 #include "glxmmcnotifier.h"
    36 // FORWARD DECLARATIONS
    35 // FORWARD DECLARATIONS
    37 class CAlfEnv;
    36 class CAlfEnv;
    38 class CAlfDisplay;
    37 class CAlfDisplay;
    39 class CAlfDisplayCoeControl;
    38 class CAlfDisplayCoeControl;
    40 class CAlfControlGroup;
    39 class CAlfControlGroup;
    66                                        public MShwEngineObserver,
    65                                        public MShwEngineObserver,
    67                                        public MShwMusicObserver,
    66                                        public MShwMusicObserver,
    68                                        public MProgressDialogCallback,
    67                                        public MProgressDialogCallback,
    69                                        public MShwTickObserver,
    68                                        public MShwTickObserver,
    70                                        public MShwGestureObserver,
    69                                        public MShwGestureObserver,
    71 									   public MHarvesterEventObserver
    70                                        public MStorageNotifierObserver
    72     {
    71     {
    73     public:
    72     public:
    74 
    73 
    75         /**
    74         /**
    76          * Two-phased constructor.
    75          * Two-phased constructor.
   143             TUid aCustomMessageId, const TDesC8& aCustomMessage );
   142             TUid aCustomMessageId, const TDesC8& aCustomMessage );
   144     	/**
   143     	/**
   145     	 * @ref CGlxViewBase::DoViewDeactivate
   144     	 * @ref CGlxViewBase::DoViewDeactivate
   146     	 */	
   145     	 */	
   147         void DoViewDeactivate();
   146         void DoViewDeactivate();
   148    public:
       
   149     // from MHarvesterEventObserver
       
   150     void HarvestingUpdated( 
       
   151                 HarvesterEventObserverType aHEObserverType, 
       
   152                 HarvesterEventState aHarvesterEventState,
       
   153                 TInt aItemsLeft );
       
   154 
   147 
   155     private: // from MGlxMediaListObserver
   148     private: // from MGlxMediaListObserver
   156 
   149 
   157     	/// @ref MGlxMediaListObserver::HandleItemAddedL
   150     	/// @ref MGlxMediaListObserver::HandleItemAddedL
   158         void HandleItemAddedL( TInt aStartIndex,
   151         void HandleItemAddedL( TInt aStartIndex,
   318         
   311         
   319         /**
   312         /**
   320          * Set the current Item to HDMI.
   313          * Set the current Item to HDMI.
   321          */
   314          */
   322         void SetItemToHDMIL();
   315         void SetItemToHDMIL();
   323 
   316         /**
       
   317          * HandleMMCInsertionL.
       
   318          */
       
   319         void HandleMMCInsertionL();
       
   320         /**
       
   321          * HandleMMCRemovalL.
       
   322          */
       
   323         void HandleMMCRemovalL();
   324 	public:
   324 	public:
   325 	//to keep in track which of the command set is active/on top
   325 	//to keep in track which of the command set is active/on top
   326 		enum TShwState
   326 		enum TShwState
   327 			{
   327 			{
   328 			EShwPause = 1 ,
   328 			EShwPause = 1 ,
   408 	CAlfControlGroup* iGestureControlGroup;
   408 	CAlfControlGroup* iGestureControlGroup;
   409 	CShwTicker* iTicker;
   409 	CShwTicker* iTicker;
   410 	CShwMediaKeyUtility* iMediaKeyHandler;
   410 	CShwMediaKeyUtility* iMediaKeyHandler;
   411 	CGlxHdmiController* iHdmiController;
   411 	CGlxHdmiController* iHdmiController;
   412 	TBool iHdmiActive;
   412 	TBool iHdmiActive;
   413 	RHarvesterClient iHarvesterClient;
   413 	CGlxMMCNotifier* iMMCNotifier;
       
   414 	TBool iMMCState;
       
   415 	TBool iIsForegrnd;
       
   416 	//to check if slideshow is paused in BG 
       
   417 	//and after that we are bringing to foreground
       
   418 	TBool iPrevNotInBackground;
   414     };
   419     };
   415 
   420 
   416 #endif  // C_SHWSLIDESHOWVIEW_H
   421 #endif  // C_SHWSLIDESHOWVIEW_H
   417 
   422 
   418 // End of File
   423 // End of File