mmsharing/livecommsui/lcui/tsrc/ipvtengine/src/musengremotevideoplayer.cpp
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // USER
       
    20 #include "musengremotevideoplayer.h"
       
    21 #include "musengdisplayhandler.h"
       
    22 
       
    23 // SYSTEM
       
    24 #include <e32base.h>
       
    25 
       
    26 // -----------------------------------------------------------------------------
       
    27 //
       
    28 // -----------------------------------------------------------------------------
       
    29 //
       
    30 CMusEngRemoteVideoPlayer* CMusEngRemoteVideoPlayer::NewL(
       
    31     MMusEngDisplayHandler& aDisplayHandler,
       
    32     MLcAudioControl& aLcAudioControl )
       
    33     {
       
    34     return new( ELeave )CMusEngRemoteVideoPlayer( 
       
    35         aDisplayHandler, aLcAudioControl );
       
    36     }
       
    37 
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40 // -----------------------------------------------------------------------------
       
    41 //
       
    42 CMusEngRemoteVideoPlayer::CMusEngRemoteVideoPlayer( 
       
    43     MMusEngDisplayHandler& aDisplayHandler,
       
    44     MLcAudioControl& aLcAudioControl ) :
       
    45     CMusEngVideoPlayerBase( aDisplayHandler, aLcAudioControl )
       
    46     {
       
    47     iState = EInit;
       
    48     }
       
    49 
       
    50 // -----------------------------------------------------------------------------
       
    51 //
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 CMusEngRemoteVideoPlayer::~CMusEngRemoteVideoPlayer()
       
    55     {
       
    56     }
       
    57 
       
    58 // -----------------------------------------------------------------------------
       
    59 // From MLcVideoPlayer
       
    60 // -----------------------------------------------------------------------------
       
    61 //
       
    62 MLcVideoPlayer::TLcVideoPlayerState 
       
    63 CMusEngRemoteVideoPlayer::LcVideoPlayerState() const
       
    64     {
       
    65     return iState;
       
    66     }
       
    67 
       
    68 // -----------------------------------------------------------------------------
       
    69 // From MLcVideoPlayer
       
    70 // -----------------------------------------------------------------------------
       
    71 //
       
    72 TBool CMusEngRemoteVideoPlayer::LcIsPlayingL()
       
    73     {
       
    74     return ETrue;
       
    75     }