diff -r ff53afa8ad05 -r f6d44a0cd476 videoplayback/hbvideoplaybackview/tsrc/testmpxvideoviewwrapper/stub/inc/mpxvideoplaybackcontrol.hrh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videoplayback/hbvideoplaybackview/tsrc/testmpxvideoviewwrapper/stub/inc/mpxvideoplaybackcontrol.hrh Fri May 28 09:45:19 2010 +0300 @@ -0,0 +1,117 @@ +/* +* 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 CMPXVideoPlaybackControl +* +*/ + +// Version : %version: 1 % + + +#ifndef MPXVIDEOPLAYBACKCONTROL_HRH_ +#define MPXVIDEOPLAYBACKCONTROL_HRH_ + +// DATA TYPES +const TInt KMPXVideoPlaybackVolumeMax = 10; + +enum TMPFXVideoPlaybackControlProperties +{ + EMPXShownWhenInitializing = 0x1, + EMPXShownWhenBuffering = 0x2, + EMPXShownWhenPlaying = 0x4, + EMPXShownWhenPaused = 0x8, + EMPXShownWhenSeeking = 0x10, + EMPXAllProperties = 0xffffffff +}; + +enum TMPXVideoPlaybackControls +{ + EMPXStatusPane, + EMPXControlBar, + + // Only for streaming case + // Can handle from NotInitilized state + // + EMPXBufferingAnimation, + + // + // For details view and audio only view + // + EMPXFileDetailsWidget, + + // + // For details view + // + EMPXDetailsViewPlaybackWindow, + + // + // Bitmaps + // + EMPXIndicatorBitmap, + EMPXRealLogoBitmap, + + EMPXDownloadPausedIcon, + + EMPXControlsCount // has to be last +}; + +/** Command ID's. */ +enum TMPXVideoPlaybackControlCommandIds +{ + EMPXControlCmdPluginInitialized, + EMPXControlCmdTvOutConnected, + EMPXControlCmdTvOutDisconnected, + EMPXControlCmdSetAspectRatio, + EMPXControlCmdSetVolume, + EMPXControlCmdSetDuration, + EMPXControlCmdSetPosition, + EMPXControlCmdStateChanged, + EMPXControlCmdDownloadUpdated, + EMPXControlCmdSetDownloadSize, + EMPXControlCmdDownloadComplete, + EMPXControlCmdSetDownloadPaused, + EMPXControlCmdClearDownloadPaused, + EMPXControlCmdHandleBackgroundEvent, + EMPXControlCmdHandleForegroundEvent, + EMPXControlCmdHandleErrors, + EMPXControlCmdShowVolumeControls, + EMPXControlCmdSoftKeyPressed, + EMPXControlCmdFullScreenViewOpened, + EMPXControlCmdDetailsViewOpened, + EMPXControlCmdAudionOnlyViewOpened, + EMPXControlCmdRemoveRNLogo +}; + +enum TMPXVideoSeekingType +{ + EMpxVideoSeekingForward, + EMpxVideoSeekingBackward, + EMpxVideoSeekingStop +}; + +enum TMPXVideoControlType +{ + EMpxVideoPlaybackContainer, + EMpxVideoPlaybackControl +}; + +enum TMPXVideoUserInputType +{ + EMpxVideoKeyboard, + EMpxVideoTouch, + EMpxVideoMediaKeys, + EMpxVideoSpecialHWKeys, + EMpxVideoNone +}; + +#endif /*MPXVIDEOPLAYBACKCONTROL_HRH_*/