videoplayback/hbvideoplaybackview/tsrc/testcontrolconfiguration/stub/inc/mpxvideoplaybackcontrolscontroller.h
changeset 52 e3cecb93e76a
parent 47 45e72b57a2fd
child 59 a76e86df7ccd
equal deleted inserted replaced
47:45e72b57a2fd 52:e3cecb93e76a
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Implementation of MPXVideoPlaybackControlsController
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version:  2 %
       
    19 
       
    20 
       
    21 
       
    22 #ifndef MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_
       
    23 #define MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_
       
    24 
       
    25 // INCLUDES
       
    26 #include <qobject>
       
    27 
       
    28 #include <mpxplaybackframeworkdefs.h>
       
    29 
       
    30 #include "mpxvideo_debug.h"
       
    31 #include "mpxcommonvideoplaybackview.hrh"
       
    32 #include "mpxvideoplaybackviewfiledetails.h"
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 class QMPXVideoPlaybackDocumentLoader;
       
    36 class QMPXVideoPlaybackControlsController;
       
    37 class QMPXVideoPlaybackControlConfiguration;
       
    38 
       
    39 
       
    40 
       
    41 // CLASS DECLARATION
       
    42 
       
    43 class QMPXVideoPlaybackControlsController : public QObject
       
    44 {
       
    45     Q_OBJECT
       
    46 
       
    47     public:
       
    48 
       
    49         /**
       
    50         * constructor.
       
    51         */
       
    52         QMPXVideoPlaybackControlsController( QMPXVideoPlaybackViewFileDetails *details );
       
    53 
       
    54         /**
       
    55         * Destructor.
       
    56         */
       
    57         virtual ~QMPXVideoPlaybackControlsController();
       
    58 
       
    59     public:
       
    60         /**
       
    61         * Return file details
       
    62         */
       
    63         inline QMPXVideoPlaybackViewFileDetails* fileDetails();
       
    64 
       
    65         QMPXVideoPlaybackDocumentLoader* layoutLoader();
       
    66 
       
    67     public:
       
    68         /**
       
    69         * Initialize controller
       
    70         */
       
    71         void initializeController();
       
    72 
       
    73     public:
       
    74         QMPXVideoPlaybackViewFileDetails          *mFileDetails;
       
    75 
       
    76         QMPXVideoPlaybackControlConfiguration     *mControlsConfig;
       
    77 
       
    78         QMPXVideoPlaybackDocumentLoader           *mLoader;
       
    79 };
       
    80 
       
    81 // -------------------------------------------------------------------------------------------------
       
    82 //   QMPXVideoPlaybackControlsController::fileDetails
       
    83 // -------------------------------------------------------------------------------------------------
       
    84 //
       
    85 inline
       
    86 QMPXVideoPlaybackViewFileDetails* QMPXVideoPlaybackControlsController::fileDetails()
       
    87 {
       
    88     return mFileDetails;
       
    89 }
       
    90 
       
    91 #endif /*MPXVIDEOPLAYBACKCONTROLSCONTROLLER_P_H_*/
       
    92 
       
    93 // End of File