videoplayback/hbvideoplaybackview/tsrc/teststatuspanecontrol/stub/inc/hbvideobaseplaybackview.h
changeset 35 3738fe97f027
parent 34 bbb98528c666
child 36 8aed59de29f9
equal deleted inserted replaced
34:bbb98528c666 35:3738fe97f027
    13 *
    13 *
    14 * Description:  HB Video playback view
    14 * Description:  HB Video playback view
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version:   2 %
    18 // Version : %version:   3 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 // This file defines the API for .dll
    22 // This file defines the API for .dll
    23 
    23 
    25 #define __HBVIDEOBASEPLAYBACKVIEW_H__
    25 #define __HBVIDEOBASEPLAYBACKVIEW_H__
    26 
    26 
    27 //  Include Files
    27 //  Include Files
    28 #include <hbview.h>
    28 #include <hbview.h>
    29 
    29 
    30 class CMPXVideoViewWrapper;
       
    31 class RWindow;
       
    32 
    30 
    33 //  Constants
    31 //  Constants
    34 
    32 
    35 //  Forward Declarations
    33 //  Forward Declarations
    36 
    34 
    46 
    44 
    47         void handleActivateView(); 
    45         void handleActivateView(); 
    48         
    46         
    49         void handleDeactivateView();
    47         void handleDeactivateView();
    50         
    48         
    51         void mousePressEvent( QGraphicsSceneMouseEvent *event );
    49         virtual void handleClosePlaybackView();   
    52         
       
    53         QVariant itemChange( GraphicsItemChange change, const QVariant &value );
       
    54         
       
    55         void paint( QPainter *painter, 
       
    56                     const QStyleOptionGraphicsItem *option,
       
    57                     QWidget *widget );
       
    58         
       
    59         bool event( QEvent *event );
       
    60         
       
    61         virtual void handleClosePlaybackView();
       
    62         
       
    63         virtual void handleBufferingState();
       
    64 
       
    65         virtual void issuePlayCommand();                
       
    66 
       
    67         virtual void handlePluginError( int aError );                
       
    68         
       
    69         virtual void retrievePdlInformation();
       
    70         
    50         
    71         virtual void closePlaybackView();
    51         virtual void closePlaybackView();
    72         
    52         
    73         void startClosingPlaybackView();
    53         void startClosingPlaybackView();
    74         
    54         
    75         virtual void doClosePlayer();
    55         virtual void doClosePlayer();
    76 
    56 
    77         void setTitleBarFlags( HbTitleBarFlags flags );
    57         void setTitleBarFlags( HbTitleBarFlags flags );
    78 
    58 
    79     public:
    59     public:
    80         int mCurrentError;   // default = KErrNone 
       
    81         bool mViewActive;
    60         bool mViewActive;
    82         HbTitleBarFlags mTitleFlag;
    61         HbTitleBarFlags mTitleFlag;
    83         
    62         				
    84     public:
       
    85         friend class CMPXVideoViewWrapper;
       
    86                 				
       
    87 };
    63 };
    88 
    64 
    89 #endif  // __HBVIDEOBASEPLAYBACKVIEW_H__
    65 #endif  // __HBVIDEOBASEPLAYBACKVIEW_H__
    90 
    66 
    91 // EOF
    67 // EOF