videoplayback/videoplaybackview/controlinc/videoplaybackcontrolpolicy.h
changeset 44 518105d52e45
equal deleted inserted replaced
42:17f382c040b1 44:518105d52e45
       
     1 /*
       
     2 * Copyright (c) 2009 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 VideoPlaybackControlPolicy
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version: da1mmcf#6 %
       
    19 
       
    20 
       
    21 
       
    22 #ifndef VIDEOPLAYBACKCONTROLPOLICY_H_
       
    23 #define VIDEOPLAYBACKCONTROLPOLICY_H_
       
    24 
       
    25 // INCLUDES
       
    26 #include <QObject>
       
    27 
       
    28 #include "videoplaybackcontrol.hrh"
       
    29 #include "videoplaybackcontrolscontroller.h"
       
    30 
       
    31 // FORWARD DECLARATIONS
       
    32 class VideoPlaybackViewFileDetails;
       
    33 
       
    34 // DATA TYPES
       
    35 
       
    36 // CLASS DECLARATION
       
    37 class VideoPlaybackControlPolicy : public QObject
       
    38 {
       
    39     Q_OBJECT
       
    40 
       
    41     public:
       
    42 
       
    43         /**
       
    44         * Two-phased constructor.
       
    45         */
       
    46         VideoPlaybackControlPolicy();
       
    47 
       
    48         /**
       
    49         * Destructor.
       
    50         */
       
    51         virtual ~VideoPlaybackControlPolicy();
       
    52 
       
    53     public:
       
    54         /**
       
    55         * Sets the control properties per policy
       
    56         */
       
    57         void setControlProperties( TVideoPlaybackControls controlIndex,
       
    58                                    TUint& properties,
       
    59                                    VideoPlaybackViewFileDetails *details,
       
    60                                    TPlaybackViewMode viewMode );
       
    61 };
       
    62 
       
    63 #endif /*VIDEOPLAYBACKCONTROLPOLICY_H_*/
       
    64 
       
    65 // End of File