mmsharing/livecommsui/lcui/tsrc/ipvtengine/inc/musenglivevideoplayer.h
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 #ifndef MUSHENGLIVEVIDEOPLAYER_H
       
    20 #define MUSHENGLIVEVIDEOPLAYER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include "musenglocalvideoplayer.h"
       
    24 #include "lcdestinationfilecontrol.h"
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CMceSession;
       
    28 class TMusEngCameraHandler;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 class CMusEngLiveVideoPlayer : 
       
    32     public CMusEngLocalVideoPlayer,
       
    33     public MLcDestinationFileControl
       
    34     {
       
    35     public: // Constructors and destructor
       
    36         
       
    37         static CMusEngLiveVideoPlayer* NewL( 
       
    38             MMusEngDisplayHandler& aDisplayHandler,
       
    39             TMusEngCameraHandler& aCameraHandler,
       
    40             MLcAudioControl& aLcAudioControl );
       
    41         
       
    42         ~CMusEngLiveVideoPlayer();
       
    43         
       
    44     public: // From MLcVideoPlayer
       
    45         
       
    46         TBool LcIsPlayingL();
       
    47         
       
    48         void LcPlayL();
       
    49         
       
    50         void LcPauseL();
       
    51 
       
    52         MLcCameraControl* LcCameraControl();
       
    53         
       
    54         MLcDestinationFileControl* LcDestinationFileControl();
       
    55             
       
    56         MLcZoomControl* LcZoomControl();
       
    57     
       
    58         MLcBrightnessControl* LcBrightnessControl(); 
       
    59         
       
    60     public: // From MLcDestinationFileControl
       
    61 
       
    62         void SetLcFileNameL( const TFileName& aFileName );
       
    63         
       
    64         TFileName& LcFileName();
       
    65 
       
    66         void LcRecordL( TBool aRecord );
       
    67 
       
    68         TBool LcIsRecording();
       
    69         
       
    70     private: // Constructors
       
    71         
       
    72         CMusEngLiveVideoPlayer(
       
    73             MMusEngDisplayHandler& aDisplayHandler,
       
    74             TMusEngCameraHandler& aCameraHandler,
       
    75             MLcAudioControl& aLcAudioControl );
       
    76         
       
    77     private: // Data
       
    78         
       
    79         TFileName iFileName;
       
    80         TMusEngCameraHandler& iCameraHandler;
       
    81     };
       
    82 
       
    83 #endif // MUSHENGLIVEVIDEOPLAYER_H