videoplayback/videoplaybackview/tsrc/testmpxvideoviewwrapper/stub/inc/videoplaybackcontrol.hrh
changeset 44 518105d52e45
child 50 21fe8338c6bf
equal deleted inserted replaced
42:17f382c040b1 44:518105d52e45
       
     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:  header file of CVideoPlaybackControl
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version:  2 %
       
    19 
       
    20 
       
    21 #ifndef VIDEOPLAYBACKCONTROL_HRH_
       
    22 #define VIDEOPLAYBACKCONTROL_HRH_
       
    23 
       
    24 // DATA TYPES
       
    25 
       
    26 enum TVideoPlaybackControlProperties
       
    27 {
       
    28     EShownWhenInitializing = 0x1,
       
    29     EShownWhenBuffering = 0x2,
       
    30     EShownWhenPlaying =  0x4,
       
    31     EShownWhenPaused = 0x8,
       
    32     EShownWhenSeeking = 0x10,
       
    33     EAllProperties = 0xffffffff
       
    34 };
       
    35 
       
    36 enum TVideoPlaybackControls
       
    37 {
       
    38     EStatusPane,
       
    39     EControlBar,
       
    40 
       
    41     // Only for streaming case
       
    42     // Can handle from NotInitilized state
       
    43     //
       
    44     EBufferingAnimation,
       
    45 
       
    46     //
       
    47     // For details view and audio only view
       
    48     //
       
    49     EFileDetailsWidget,
       
    50 
       
    51     //
       
    52     // For details view
       
    53     //
       
    54     EDetailsViewPlaybackWindow,
       
    55 
       
    56     //
       
    57     //  Bitmaps
       
    58     //
       
    59     EIndicatorBitmap,
       
    60     ERealLogoBitmap,
       
    61 
       
    62     EDownloadPausedIcon,
       
    63 
       
    64     EControlsCount  // has to be last
       
    65 };
       
    66 
       
    67 /** Command ID's. */
       
    68 enum TVideoPlaybackControlCommandIds
       
    69 {
       
    70     EControlCmdPluginInitialized,
       
    71     EControlCmdTvOutConnected,
       
    72     EControlCmdTvOutDisconnected,
       
    73     EControlCmdSetAspectRatio,
       
    74     EControlCmdSetVolume,
       
    75     EControlCmdSetDuration,
       
    76     EControlCmdSetPosition,
       
    77     EControlCmdStateChanged,
       
    78     EControlCmdDownloadUpdated,
       
    79     EControlCmdSetDownloadSize,
       
    80     EControlCmdDownloadComplete,
       
    81     EControlCmdSetDownloadPaused,
       
    82     EControlCmdClearDownloadPaused,
       
    83     EControlCmdHandleBackgroundEvent,
       
    84     EControlCmdHandleForegroundEvent,
       
    85     EControlCmdHandleErrors,
       
    86     EControlCmdShowVolumeControls,
       
    87     EControlCmdSoftKeyPressed,
       
    88     EControlCmdFullScreenViewOpened,
       
    89     EControlCmdDetailsViewOpened,
       
    90     EControlCmdAudionOnlyViewOpened,
       
    91     EControlCmdRemoveRNLogo
       
    92 };
       
    93 
       
    94 #endif /*VIDEOPLAYBACKCONTROL_HRH_*/