videoplayback/videoplaybackview/tsrc/testtoolbar/stub/inc/videoplaybackcontrolscontroller.h
changeset 66 adb51f74b890
parent 44 518105d52e45
equal deleted inserted replaced
63:4707a0db12f6 66:adb51f74b890
    13 *
    13 *
    14 * Description:  Implementation of VideoPlaybackControlsController
    14 * Description:  Implementation of VideoPlaybackControlsController
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version:  3 %
    18 // Version : %version:  4 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 #ifndef VIDEOPLAYBACKCONTROLSCONTROLLER_H_
    22 #ifndef VIDEOPLAYBACKCONTROLSCONTROLLER_H_
    23 #define VIDEOPLAYBACKCONTROLSCONTROLLER_H_
    23 #define VIDEOPLAYBACKCONTROLSCONTROLLER_H_
    90         /**
    90         /**
    91         * Return file details
    91         * Return file details
    92         */
    92         */
    93         inline VideoPlaybackViewFileDetails* fileDetails();
    93         inline VideoPlaybackViewFileDetails* fileDetails();
    94 
    94 
    95         TPlaybackViewMode viewMode();
    95         inline TPlaybackViewMode viewMode();
    96 
    96 
    97         void changeViewMode( TPlaybackViewMode viewMode, bool transitionEffect = true );
    97         void evaluateAndChangeViewMode( TPlaybackViewMode viewMode, bool transitionEffect = true );
    98 
    98 
    99         bool isAttachOperation();
    99         bool isAttachOperation();
   100         
   100 
   101     private slots:
   101     private slots:
   102         void attachVideo();
   102         void attachVideo();
   103         void sendVideo();
   103         void sendVideo();
   104                 
   104 
   105     public:
   105     public:
   106         VideoPlaybackViewFileDetails  *mFileDetails;
   106         VideoPlaybackViewFileDetails   *mFileDetails;
   107         VideoBasePlaybackView         *mView;
   107         VideoBasePlaybackView          *mView;
   108 
   108 
   109         TMPXPlaybackState               mState;
   109         TMPXPlaybackState               mState;
   110         TPlaybackViewMode               mViewMode;
   110         TPlaybackViewMode               mViewMode;
   111         TTimerAction                    mTimerAction;
   111         TTimerAction                    mTimerAction;
   112         TMPXVideoPlaybackViewCommandIds mCommand;
   112         TMPXVideoPlaybackViewCommandIds mCommand;