videoplayback/videoplaybackcontrols/inc/mpxvideoplaybackbutton.h
branchRCL_3
changeset 6 7d91903f795f
parent 0 96612d01cf9f
equal deleted inserted replaced
2:dec420019252 6:7d91903f795f
    13 *
    13 *
    14 * Description:  Popup control for full screen container
    14 * Description:  Popup control for full screen container
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 6 %
    18 // Version : %version: 7 %
    19 
    19 
    20 
    20 
    21 #ifndef MPXVIDEOPLAYBACKBUTTON_H
    21 #ifndef MPXVIDEOPLAYBACKBUTTON_H
    22 #define MPXVIDEOPLAYBACKBUTTON_H
    22 #define MPXVIDEOPLAYBACKBUTTON_H
    23 
    23 
    24 //  INCLUDES
    24 //  INCLUDES
    25 #include <coecntrl.h>
    25 #include <coecntrl.h>
    26 
    26 
    27 #include "mpxvideo_debug.h"
    27 #include "mpxvideo_debug.h"
       
    28 #include "mpxvideoplaybackcontrolscontroller.h"
    28 
    29 
    29 // FORWARD DECLARATIONS
    30 // FORWARD DECLARATIONS
    30 
    31 
    31 #ifdef RD_TACTILE_FEEDBACK
    32 #ifdef RD_TACTILE_FEEDBACK
    32 class MTouchFeedback;
    33 class MTouchFeedback;
    44 {
    45 {
    45     public:
    46     public:
    46         /**
    47         /**
    47         * Two-phased constructor.
    48         * Two-phased constructor.
    48         */
    49         */
    49         static CMPXVideoPlaybackButton* NewL( TRect aRect, const TDesC &aIconPath );
    50         static CMPXVideoPlaybackButton* NewL( CMPXVideoPlaybackControlsController* aController,
       
    51                                               TRect aRect, const TDesC &aIconPath );
    50 
    52 
    51         /**
    53         /**
    52         * Destructor.
    54         * Destructor.
    53         */
    55         */
    54         virtual ~CMPXVideoPlaybackButton();
    56         virtual ~CMPXVideoPlaybackButton();
    61         CMPXVideoPlaybackButton();
    63         CMPXVideoPlaybackButton();
    62 
    64 
    63         /**
    65         /**
    64          * By default Symbian 2nd phase constructor is private.
    66          * By default Symbian 2nd phase constructor is private.
    65          */
    67          */
    66         void ConstructL( TRect aRect, const TDesC &aIconPath );
    68         void ConstructL( CMPXVideoPlaybackControlsController* aController,
       
    69                          TRect aRect, const TDesC &aIconPath );
    67 
    70 
    68     private:
    71     private:
    69 
    72 
    70         /**
    73         /**
    71         * From CoeControl,CountComponentControls.
    74         * From CoeControl,CountComponentControls.
   136         CGulIcon*               iDimmedButton;
   139         CGulIcon*               iDimmedButton;
   137         CGulIcon*               iPressedButton;
   140         CGulIcon*               iPressedButton;
   138 
   141 
   139         TMPXButtonState         iState;
   142         TMPXButtonState         iState;
   140         HBufC*                  iIConPath;
   143         HBufC*                  iIConPath;
       
   144 
       
   145         CMPXVideoPlaybackControlsController* iController;
   141 };
   146 };
   142 
   147 
   143 // INLINE METHODS
   148 // INLINE METHODS
   144 
   149 
   145 inline
   150 inline