videoplayback/videoplaybackview/tsrc/testmpxvideoviewwrapper/stub/inc/videoplaybackcontrol.hrh
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 18 Aug 2010 09:50:14 +0300
changeset 52 e3cecb93e76a
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  header file of CVideoPlaybackControl
*
*/

// Version : %version:  3 %


#ifndef VIDEOPLAYBACKCONTROL_HRH_
#define VIDEOPLAYBACKCONTROL_HRH_

// DATA TYPES

enum TVideoPlaybackControlProperties
{
    EShownWhenInitializing = 0x1,
    EShownWhenBuffering = 0x2,
    EShownWhenPlaying =  0x4,
    EShownWhenPaused = 0x8,
    EShownWhenSeeking = 0x10,
    EAllProperties = 0xffffffff
};

enum TVideoPlaybackControls
{
    EStatusPane,
    EControlBar,

    // Only for streaming case
    // Can handle from NotInitilized state
    //
    EBufferingAnimation,

    //
    // For details view and audio only view
    //
    EFileDetailsWidget,

    //
    // For details view
    //
    EDetailsViewPlaybackWindow,

    //
    //  Bitmaps
    //
    EIndicatorBitmap,
    ERealLogoBitmap,

    EDownloadPausedIcon,

    EControlsCount  // has to be last
};

/** Command ID's. */
enum TVideoPlaybackControlCommandIds
{
    EControlCmdPluginInitialized,
    EControlCmdTvOutConnected,
    EControlCmdTvOutDisconnected,
    EControlCmdSetAspectRatio,
    EControlCmdSetVolume,
    EControlCmdSetDuration,
    EControlCmdSetPosition,
    EControlCmdStateChanged,
    EControlCmdDownloadUpdated,
    EControlCmdSetDownloadSize,
    EControlCmdDownloadComplete,
    EControlCmdSetDownloadPaused,
    EControlCmdClearDownloadPaused,
    EControlCmdHandleBackgroundEvent,
    EControlCmdHandleForegroundEvent,
    EControlCmdHandleErrors,
    EControlCmdShowVolumeControls,
    EControlCmdSoftKeyPressed,
    EControlCmdFullScreenViewOpened,
    EControlCmdDetailsViewOpened,
    EControlCmdAudionOnlyViewOpened,
    EControlCmdRemoveRNLogo,
    EControlCmdSurfaceAttached,
    EControlCmdSurfaceDetached
};

#endif /*VIDEOPLAYBACKCONTROL_HRH_*/