videoplayback/videoplaybackcontrols/inc/mpxvideoplaybackcontrolpolicy.h
changeset 0 96612d01cf9f
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 /*
       
     2 * Copyright (c) 2008 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 MPXVideoPlaybackControlPolicy
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version: 4 %
       
    19 
       
    20 
       
    21 
       
    22 #ifndef MPXVIDEOPLAYBACKCONTROLPOLICY_H_
       
    23 #define MPXVIDEOPLAYBACKCONTROLPOLICY_H_
       
    24 
       
    25 // INCLUDES
       
    26 #include "mpxvideoplaybackcontrol.hrh"
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 class CMPXVideoPlaybackViewFileDetails;
       
    30 
       
    31 // DATA TYPES
       
    32 
       
    33 // CLASS DECLARATION
       
    34 class CMPXVideoPlaybackControlPolicy : public CBase
       
    35 {
       
    36 
       
    37     public: // Constructors and destructor
       
    38 
       
    39         /**
       
    40         * Two-phased constructor.
       
    41         */
       
    42         static CMPXVideoPlaybackControlPolicy* NewL();
       
    43 
       
    44         /**
       
    45         * Destructor.
       
    46         */
       
    47         virtual ~CMPXVideoPlaybackControlPolicy();
       
    48 
       
    49     private:
       
    50 
       
    51         /**
       
    52         * C++ default constructor.
       
    53         */
       
    54         CMPXVideoPlaybackControlPolicy();
       
    55 
       
    56         /**
       
    57         * Symbian 2nd phase constructor.
       
    58         */
       
    59         void ConstructL();
       
    60 
       
    61     public:
       
    62         /**
       
    63         * Sets the control properties per policy
       
    64         */
       
    65         void SetControlProperties( TMPXVideoPlaybackControls aControlIndex,
       
    66                                    TUint& aProperties,
       
    67                                    CMPXVideoPlaybackViewFileDetails* aDetails );
       
    68 };
       
    69 
       
    70 #endif /*MPXVIDEOPLAYBACKCONTROLPOLICY_H_*/
       
    71 
       
    72 // End of File