photosgallery/slideshow/view/inc/shwslideshowview.h
branchRCL_3
changeset 75 01504893d9cb
parent 60 5b3385a43d68
equal deleted inserted replaced
68:5b238bc8ffb6 75:01504893d9cb
    21 
    21 
    22 // INCLUDES
    22 // INCLUDES
    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 <AknWsEventObserver.h>
       
    27 #include <gestureobserver.h>
    26 #include <gestureobserver.h>
    28 #include <gesturehelper.h>
    27 #include <gesturehelper.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"
    72                                        public MProgressDialogCallback,
    71                                        public MProgressDialogCallback,
    73                                        public MShwTickObserver,
    72                                        public MShwTickObserver,
    74                                        public MShwGestureObserver,
    73                                        public MShwGestureObserver,
    75                                        public MStorageNotifierObserver,
    74                                        public MStorageNotifierObserver,
    76                                        public MGlxTvObserver,
    75                                        public MGlxTvObserver,
    77 									   public MGlxHDMIDecoderObserver,
    76 									   public MGlxHDMIDecoderObserver
    78 									   public MAknWsEventObserver
       
    79     {
    77     {
    80     public:
    78     public:
    81 
    79 
    82         /**
    80         /**
    83          * Two-phased constructor.
    81          * Two-phased constructor.
   138 
   136 
   139         /** 
   137         /** 
   140          * @ref CAknView::HandleForegroundEventL
   138          * @ref CAknView::HandleForegroundEventL
   141          */
   139          */
   142         void HandleForegroundEventL(TBool aForeground);
   140         void HandleForegroundEventL(TBool aForeground);
   143 
       
   144     public: // From MAknWsEventObserver
       
   145         void HandleWsEventL(const TWsEvent& aEvent, CCoeControl* aDestination);
       
   146 
   141 
   147     public: // From CGlxViewBase
   142     public: // From CGlxViewBase
   148     	
   143     	
   149     	/**
   144     	/**
   150     	 * @ref CGlxViewBase::DoViewActivateL
   145     	 * @ref CGlxViewBase::DoViewActivateL
   344 		/**
   339 		/**
   345 		 * Returns the index of the next item 
   340 		 * Returns the index of the next item 
   346 		 * for which HDMI advance decoding will be done
   341 		 * for which HDMI advance decoding will be done
   347 		 */
   342 		 */
   348 		TInt GetNextIndex();
   343 		TInt GetNextIndex();
   349 		/**
       
   350          * Returns the application foreground status.
       
   351 		 * Foreground status is found using WindowsGroupID
       
   352 		 */
       
   353 		TBool IsAppInForegroundL();
       
   354 	public:
   344 	public:
   355 	//to keep in track which of the command set is active/on top
   345 	//to keep in track which of the command set is active/on top
   356 		enum TShwState
   346 		enum TShwState
   357 			{
   347 			{
   358 			EShwPause = 1 ,
   348 			EShwPause = 1 ,
   433 		EFurnitureHidden
   423 		EFurnitureHidden
   434 		};
   424 		};
   435 		
   425 		
   436 	TShwState iShwState;
   426 	TShwState iShwState;
   437 	TShwFurniture iShwFurniture;	
   427 	TShwFurniture iShwFurniture;	
       
   428 	TInt iCurrentActiveCommandSet;
   438 	CShwGestureControl* iShwGestureControl;
   429 	CShwGestureControl* iShwGestureControl;
   439 	GestureHelper::CGestureControl* iGestureControl;
   430 	GestureHelper::CGestureControl* iGestureControl;
   440 	CAlfControlGroup* iGestureControlGroup;
   431 	CAlfControlGroup* iGestureControlGroup;
   441 	CShwTicker* iTicker;
   432 	CShwTicker* iTicker;
   442 	CShwMediaKeyUtility* iMediaKeyHandler;
   433 	CShwMediaKeyUtility* iMediaKeyHandler;
   451 	//and after that we are bringing to foreground
   442 	//and after that we are bringing to foreground
   452 	TBool iPrevNotInBackground;
   443 	TBool iPrevNotInBackground;
   453 
   444 
   454 	TInt iHdmiWidth;
   445 	TInt iHdmiWidth;
   455     TInt iHdmiHeight;
   446     TInt iHdmiHeight;
   456     CAknWsEventMonitor* iAknEventMonitor;// not owned
       
   457     };
   447     };
   458 
   448 
   459 #endif  // C_SHWSLIDESHOWVIEW_H
   449 #endif  // C_SHWSLIDESHOWVIEW_H
   460 
   450 
   461 // End of File
   451 // End of File