photosgallery/viewframework/views/fullscreenview/inc/glxfullscreenviewimp.h
branchRCL_3
changeset 14 ce1c7ad1f18b
parent 13 71da52165949
child 18 bcb43dc84c44
equal deleted inserted replaced
13:71da52165949 14:ce1c7ad1f18b
    24 #include <gestureobserver.h>
    24 #include <gestureobserver.h>
    25 
    25 
    26 #include "glxfullscreenview.h"
    26 #include "glxfullscreenview.h"
    27 #include "glxfullscreenbindingsetfactory.h"
    27 #include "glxfullscreenbindingsetfactory.h"
    28 #include "glxfullscreenview.hrh"
    28 #include "glxfullscreenview.hrh"
    29 
    29 #include <harvesterclient.h>
    30 //Gesture Helper namespace 
    30 //Gesture Helper namespace 
    31 namespace GestureHelper
    31 namespace GestureHelper
    32     {
    32     {
    33     class CGestureHelper;
    33     class CGestureHelper;
    34     }
    34     }
    44 class CGlxCommandHandlerAiwShowMapHardKey;
    44 class CGlxCommandHandlerAiwShowMapHardKey;
    45 class CGlxDRMUtility;
    45 class CGlxDRMUtility;
    46 class CGlxHdmiController;
    46 class CGlxHdmiController;
    47 class CGestureHelper;
    47 class CGestureHelper;
    48 class TGlxMedia;
    48 class TGlxMedia;
       
    49 class CGlxFullScreenBusyIcon;
    49 //class CHgContextUtility;
    50 //class CHgContextUtility;
    50 
    51 
    51 namespace Alf
    52 namespace Alf
    52 	{
    53 	{
    53    class IMulCoverFlowWidget;
    54    class IMulCoverFlowWidget;
    73         EForward,EBackward
    74         EForward,EBackward
    74     };
    75     };
    75     
    76     
    76 NONSHARABLE_CLASS (CGlxFullScreenViewImp): public CGlxFullScreenView, 
    77 NONSHARABLE_CLASS (CGlxFullScreenViewImp): public CGlxFullScreenView, 
    77                                             public IAlfWidgetEventHandler,
    78                                             public IAlfWidgetEventHandler,
    78  											public MGlxUiCommandHandler
    79  											public MGlxUiCommandHandler,
       
    80 											public MHarvesterEventObserver
    79     {
    81     {
    80 public:    
    82 public:    
    81     /**
    83     /**
    82     * Two-phased constructor.`
    84     * Two-phased constructor.`
    83     *
    85     *
   140     
   142     
   141     AlfEventHandlerType eventHandlerType() ;
   143     AlfEventHandlerType eventHandlerType() ;
   142 
   144 
   143     AlfEventHandlerExecutionPhase eventExecutionPhase() ;
   145     AlfEventHandlerExecutionPhase eventExecutionPhase() ;
   144 
   146 
       
   147 public:
       
   148     // from MHarvesterEventObserver
       
   149     void HarvestingUpdated( 
       
   150                 HarvesterEventObserverType aHEObserverType, 
       
   151                 HarvesterEventState aHarvesterEventState,
       
   152                 TInt aItemsLeft );
       
   153 
   145 private:
   154 private:
   146     /*
   155     /*
   147      * Constructor 
   156      * Constructor 
   148      */
   157      */
   149     CGlxFullScreenViewImp(const TFullScreenViewResourceIds& aResourceIds,TInt aViewUID);
   158     CGlxFullScreenViewImp(const TFullScreenViewResourceIds& aResourceIds,TInt aViewUID);
   263      */  
   272      */  
   264     void ConsumeDRMRightsL( const TDesC& uri );
   273     void ConsumeDRMRightsL( const TDesC& uri );
   265     /**
   274     /**
   266      * Set the image to external display - HDMI
   275      * Set the image to external display - HDMI
   267      */
   276      */
   268     void SetImageL();
   277     void SetItemToHDMIL();
   269 private:
   278 private:
   270     /** Softkey resource id's */
   279     /** Softkey resource id's */
   271     TFullScreenViewResourceIds iResourceIds; 
   280     TFullScreenViewResourceIds iResourceIds; 
   272     // /** Avkon unique ViewId */ 
   281     // /** Avkon unique ViewId */ 
   273     TInt iViewUid;
   282     TInt iViewUid;
   307 //    CHgContextUtility* iContextUtility;
   316 //    CHgContextUtility* iContextUtility;
   308     CGlxHdmiController* iHdmiController;
   317     CGlxHdmiController* iHdmiController;
   309 	    
   318 	    
   310     CGlxDRMUtility* iDrmUtility;
   319     CGlxDRMUtility* iDrmUtility;
   311     CPeriodic* iPeriodic;
   320     CPeriodic* iPeriodic;
       
   321     CGlxFullScreenBusyIcon* iBusyIcon;
   312 	
   322 	
   313     GestureHelper::CGestureHelper* iGestureHelper;
   323     GestureHelper::CGestureHelper* iGestureHelper;
   314     TBool   iMultiTouchGestureOngoing   ;
   324     TBool   iMultiTouchGestureOngoing   ;
   315     
   325     
   316     // stores the initial zoom percentage
   326     // stores the initial zoom percentage
   317     TInt iInitialZoomRatio ;
   327     TInt iInitialZoomRatio ;
   318     //Previous focused index
   328     //Previous focused index
   319     TInt iOldFocusIndex;
   329     TInt iOldFocusIndex;
   320     TBool iImgViewerMode;
   330     TBool iImgViewerMode;
       
   331 	RHarvesterClient iHarvesterClient;
   321     };
   332     };
   322 
   333 
   323 #endif
   334 #endif
   324 
   335