mmsharing/livecommsui/lcui/tsrc/ipvtengine/src/musenglocalvideoplayer.cpp
branchRCL_3
changeset 23 bc78a40cd63c
parent 22 73a1feb507fb
child 24 6c57ef9392d2
equal deleted inserted replaced
22:73a1feb507fb 23: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 // USER
       
    19 #include "musenglocalvideoplayer.h"
       
    20 #include "musengdisplayhandler.h"
       
    21 
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 //
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 CMusEngLocalVideoPlayer::CMusEngLocalVideoPlayer( 
       
    28     MMusEngDisplayHandler& aDisplayHandler,
       
    29     MLcAudioControl& aLcAudioControl ) :
       
    30     CMusEngVideoPlayerBase( aDisplayHandler, aLcAudioControl )
       
    31     {
       
    32     iState = EInit;
       
    33     }
       
    34 
       
    35 // -----------------------------------------------------------------------------
       
    36 //
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 CMusEngLocalVideoPlayer::~CMusEngLocalVideoPlayer()
       
    40     {
       
    41     }
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 // From MLcVideoPlayer
       
    45 // -----------------------------------------------------------------------------
       
    46 //
       
    47 MLcVideoPlayer::TLcVideoPlayerState 
       
    48 CMusEngLocalVideoPlayer::LcVideoPlayerState() const
       
    49     {
       
    50     return iState;
       
    51     }
       
    52 
       
    53 
       
    54 // -----------------------------------------------------------------------------
       
    55 // From MLcWindow
       
    56 // -----------------------------------------------------------------------------
       
    57 //
       
    58 void CMusEngLocalVideoPlayer::SetLcWindowRectL( TRect aRect )
       
    59     {
       
    60     iDisplayHandler.SetSecondaryRectL( aRect );
       
    61     }
       
    62 
       
    63 // -----------------------------------------------------------------------------
       
    64 // From MLcWindow
       
    65 // -----------------------------------------------------------------------------
       
    66 //
       
    67 TRect CMusEngLocalVideoPlayer::LcWindowRect()
       
    68     {
       
    69     return iDisplayHandler.SecondaryRect();
       
    70     }