photosgallery/viewframework/views/fullscreenview/inc/glxfullscreenviewimp.h
branchRCL_3
changeset 13 bcb43dc84c44
parent 12 ce1c7ad1f18b
child 14 2dac0fdba72b
equal deleted inserted replaced
12:ce1c7ad1f18b 13:bcb43dc84c44
    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 #include <harvesterclient.h>
    29 #include "glxmmcnotifier.h"
       
    30 
    30 //Gesture Helper namespace 
    31 //Gesture Helper namespace 
    31 namespace GestureHelper
    32 namespace GestureHelper
    32     {
    33     {
    33     class CGestureHelper;
    34     class CGestureHelper;
    34     }
    35     }
    75     };
    76     };
    76     
    77     
    77 NONSHARABLE_CLASS (CGlxFullScreenViewImp): public CGlxFullScreenView, 
    78 NONSHARABLE_CLASS (CGlxFullScreenViewImp): public CGlxFullScreenView, 
    78                                             public IAlfWidgetEventHandler,
    79                                             public IAlfWidgetEventHandler,
    79  											public MGlxUiCommandHandler,
    80  											public MGlxUiCommandHandler,
    80 											public MHarvesterEventObserver
    81 			                                public MStorageNotifierObserver
    81     {
    82     {
    82 public:    
    83 public:    
    83     /**
    84     /**
    84     * Two-phased constructor.`
    85     * Two-phased constructor.`
    85     *
    86     *
   142     
   143     
   143     AlfEventHandlerType eventHandlerType() ;
   144     AlfEventHandlerType eventHandlerType() ;
   144 
   145 
   145     AlfEventHandlerExecutionPhase eventExecutionPhase() ;
   146     AlfEventHandlerExecutionPhase eventExecutionPhase() ;
   146 
   147 
   147 public:
       
   148     // from MHarvesterEventObserver
       
   149     void HarvestingUpdated( 
       
   150                 HarvesterEventObserverType aHEObserverType, 
       
   151                 HarvesterEventState aHarvesterEventState,
       
   152                 TInt aItemsLeft );
       
   153 
   148 
   154 private:
   149 private:
   155     /*
   150     /*
   156      * Constructor 
   151      * Constructor 
   157      */
   152      */
   268      */
   263      */
   269     void RemoveTexture();
   264     void RemoveTexture();
   270   	/**
   265   	/**
   271      * Consume DRM rights
   266      * Consume DRM rights
   272      */  
   267      */  
   273     void ConsumeDRMRightsL( const TDesC& uri );
   268     void ConsumeDRMRightsL(const TGlxMedia& aMedia);
   274     /**
   269     /**
   275      * Set the image to external display - HDMI
   270      * Set the image to external display - HDMI
   276      */
   271      */
   277     void SetItemToHDMIL();
   272     void SetItemToHDMIL();
       
   273     /**
       
   274      * handle MMC insertion
       
   275      */
       
   276     void HandleMMCInsertionL();
       
   277     /**
       
   278      * handle MMC removal
       
   279      */
       
   280     void HandleMMCRemovalL();
       
   281     
       
   282     /**
       
   283      * navigate to main list
       
   284      */
       
   285     void NavigateToMainListL();
   278 private:
   286 private:
   279     /** Softkey resource id's */
   287     /** Softkey resource id's */
   280     TFullScreenViewResourceIds iResourceIds; 
   288     TFullScreenViewResourceIds iResourceIds; 
   281     // /** Avkon unique ViewId */ 
   289     // /** Avkon unique ViewId */ 
   282     TInt iViewUid;
   290     TInt iViewUid;
   310     CPeriodic* iTimer;
   318     CPeriodic* iTimer;
   311     CEikButtonGroupContainer* iZoomButtonGroup;
   319     CEikButtonGroupContainer* iZoomButtonGroup;
   312 	CGlxCommandHandlerAiwShowMapHardKey* iShowOnMapHardKeyhandler;
   320 	CGlxCommandHandlerAiwShowMapHardKey* iShowOnMapHardKeyhandler;
   313     
   321     
   314     CGlxScreenFurniture* iScreenFurniture;
   322     CGlxScreenFurniture* iScreenFurniture;
   315     //CGlxSingleLineMetaPane* iSingleLineMetaPane;
       
   316 //    CHgContextUtility* iContextUtility;
       
   317     CGlxHdmiController* iHdmiController;
   323     CGlxHdmiController* iHdmiController;
   318 	    
   324 	    
   319     CGlxDRMUtility* iDrmUtility;
   325     CGlxDRMUtility* iDrmUtility;
   320     CPeriodic* iPeriodic;
   326     CPeriodic* iPeriodic;
   321     CGlxFullScreenBusyIcon* iBusyIcon;
   327     CGlxFullScreenBusyIcon* iBusyIcon;
   326     // stores the initial zoom percentage
   332     // stores the initial zoom percentage
   327     TInt iInitialZoomRatio ;
   333     TInt iInitialZoomRatio ;
   328     //Previous focused index
   334     //Previous focused index
   329     TInt iOldFocusIndex;
   335     TInt iOldFocusIndex;
   330     TBool iImgViewerMode;
   336     TBool iImgViewerMode;
   331 	RHarvesterClient iHarvesterClient;
   337 	CGlxMMCNotifier* iMMCNotifier;
       
   338 	TBool iMMCState;
   332     };
   339     };
   333 
   340 
   334 #endif
   341 #endif
   335 
   342