mmsharing/livecommsui/lcui/tsrc/dummymusengineplugin/src/musenglocalvideoplayer.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 // 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     }
       
    33 
       
    34 // -----------------------------------------------------------------------------
       
    35 //
       
    36 // -----------------------------------------------------------------------------
       
    37 //
       
    38 CMusEngLocalVideoPlayer::~CMusEngLocalVideoPlayer()
       
    39     {
       
    40     }
       
    41 
       
    42 // -----------------------------------------------------------------------------
       
    43 // From MLcVideoPlayer
       
    44 // -----------------------------------------------------------------------------
       
    45 //
       
    46 MLcVideoPlayer::TLcVideoPlayerState 
       
    47 CMusEngLocalVideoPlayer::LcVideoPlayerState() const
       
    48     {
       
    49     return MLcVideoPlayer::EPlaying;
       
    50     }
       
    51 
       
    52 
       
    53 // -----------------------------------------------------------------------------
       
    54 // From MLcWindow
       
    55 // -----------------------------------------------------------------------------
       
    56 //
       
    57 void CMusEngLocalVideoPlayer::SetLcWindowRectL( TRect aRect )
       
    58     {
       
    59     iDisplayHandler.SetSecondaryRectL( aRect );
       
    60     }
       
    61 
       
    62 // -----------------------------------------------------------------------------
       
    63 // From MLcWindow
       
    64 // -----------------------------------------------------------------------------
       
    65 //
       
    66 TRect CMusEngLocalVideoPlayer::LcWindowRect()
       
    67     {
       
    68     return iDisplayHandler.SecondaryRect();
       
    69     }