photosgallery/slideshow/view/inc/shwslideshowview.h
branchRCL_3
changeset 25 191387a8b767
parent 18 bcb43dc84c44
child 32 78ad99c24f08
equal deleted inserted replaced
22:2dac0fdba72b 25:191387a8b767
    30 #include "shwconstants.h"
    30 #include "shwconstants.h"
    31 #include "shwtickobserver.h"
    31 #include "shwtickobserver.h"
    32 #include "shwgestureobserver.h"
    32 #include "shwgestureobserver.h"
    33 #include "gesturecontrol.h"
    33 #include "gesturecontrol.h"
    34 #include "glxmmcnotifier.h"
    34 #include "glxmmcnotifier.h"
       
    35 #include <mglxtvobserver.h>
       
    36 #include <glxtv.h>
    35 // FORWARD DECLARATIONS
    37 // FORWARD DECLARATIONS
    36 class CAlfEnv;
    38 class CAlfEnv;
    37 class CAlfDisplay;
    39 class CAlfDisplay;
    38 class CAlfDisplayCoeControl;
    40 class CAlfDisplayCoeControl;
    39 class CAlfControlGroup;
    41 class CAlfControlGroup;
    65                                        public MShwEngineObserver,
    67                                        public MShwEngineObserver,
    66                                        public MShwMusicObserver,
    68                                        public MShwMusicObserver,
    67                                        public MProgressDialogCallback,
    69                                        public MProgressDialogCallback,
    68                                        public MShwTickObserver,
    70                                        public MShwTickObserver,
    69                                        public MShwGestureObserver,
    71                                        public MShwGestureObserver,
    70                                        public MStorageNotifierObserver
    72                                        public MStorageNotifierObserver,
       
    73                                        public MGlxTvObserver
    71     {
    74     {
    72     public:
    75     public:
    73 
    76 
    74         /**
    77         /**
    75          * Two-phased constructor.
    78          * Two-phased constructor.
   177         void HandleMessageL( const CMPXMessage& aMessage, MGlxMediaList* aList );
   180         void HandleMessageL( const CMPXMessage& aMessage, MGlxMediaList* aList );
   178 	    
   181 	    
   179     	/// @ref MGlxMediaListObserver::HandlePopulatedL
   182     	/// @ref MGlxMediaListObserver::HandlePopulatedL
   180     	void HandlePopulatedL( MGlxMediaList* aList );
   183     	void HandlePopulatedL( MGlxMediaList* aList );
   181 
   184 
       
   185     	// From MGlxTVObserver
       
   186     	virtual void HandleTvStatusChangedL ( TTvChangeType aChangeType );
       
   187     	
   182     	//form CAknView
   188     	//form CAknView
   183 		void ProcessCommandL(TInt aCommandId);
   189 		void ProcessCommandL(TInt aCommandId);
   184     private: // From MShwEngineObserver
   190     private: // From MShwEngineObserver
   185 
   191 
   186     	/**
   192     	/**
   377         // handle interruptions from incoming telephone calls
   383         // handle interruptions from incoming telephone calls
   378         CShwTelephoneHandler* iTelephoneHandler;
   384         CShwTelephoneHandler* iTelephoneHandler;
   379 
   385 
   380         CMPXCollectionPath* iCollectionPath;            // owned
   386         CMPXCollectionPath* iCollectionPath;            // owned
   381         NShwSlideshow::TPlayDirection iPlayDirection;   // owned
   387         NShwSlideshow::TPlayDirection iPlayDirection;   // owned
   382 
   388     	
       
   389         /// Own: The TV connection monitor
       
   390     	CGlxTv *  iTvConnection;
       
   391 		
   383         TBool iEngineStartFailed;
   392         TBool iEngineStartFailed;
   384 
   393 
   385         /// Own: asynch callback needed for media list population
   394         /// Own: asynch callback needed for media list population
   386         CAsyncCallBack* iPopulateListCallBack;
   395         CAsyncCallBack* iPopulateListCallBack;
   387 		CEikButtonGroupContainer* iShwCba;
   396 		CEikButtonGroupContainer* iShwCba;
   411 	CGlxHdmiController* iHdmiController;
   420 	CGlxHdmiController* iHdmiController;
   412 	TBool iHdmiActive;
   421 	TBool iHdmiActive;
   413 	CGlxMMCNotifier* iMMCNotifier;
   422 	CGlxMMCNotifier* iMMCNotifier;
   414 	TBool iMMCState;
   423 	TBool iMMCState;
   415 	TBool iIsForegrnd;
   424 	TBool iIsForegrnd;
       
   425 	TSize iScrnSize;
       
   426 	TSize iGridIconSize;
   416 	//to check if slideshow is paused in BG 
   427 	//to check if slideshow is paused in BG 
   417 	//and after that we are bringing to foreground
   428 	//and after that we are bringing to foreground
   418 	TBool iPrevNotInBackground;
   429 	TBool iPrevNotInBackground;
   419     };
   430     };
   420 
   431