vtuis/lcvtplugin/inc/control/clcvtlocalvideoplayer.h
branchRCL_3
changeset 35 779871d1e4f4
parent 34 f15ac8e65a02
child 37 590f6f022902
equal deleted inserted replaced
34:f15ac8e65a02 35:779871d1e4f4
     1 /*
       
     2 * Copyright (c) 2008 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:  LiveComm Videotelephony's Local Video Player
       
    15 *
       
    16 */
       
    17 #ifndef LCVTLOCALVIDEOPLAYER_H
       
    18 #define LCVTLOCALVIDEOPLAYER_H
       
    19 
       
    20 #include <e32base.h>
       
    21 #include "clcvtvideoplayerbase.h"
       
    22 
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class CLcVtSession;
       
    26 class TVtCameraHandler;
       
    27 class MLcWindow;
       
    28 class MLcAudioControl;
       
    29 
       
    30 class CLcVtLocalVideoPlayer : public CLcVtVideoPlayerBase
       
    31     {
       
    32 public: // Constructors and destructor
       
    33     
       
    34     static CLcVtLocalVideoPlayer* NewL( 
       
    35         CLcVtSession* avtSession,
       
    36         MLcAudioControl& aLcAudioControl,
       
    37         TVtCameraHandler& aCameraHandler);
       
    38     
       
    39     ~CLcVtLocalVideoPlayer();
       
    40     
       
    41 public: // from CLcVtVideoPlayerBase
       
    42     
       
    43     TLcVideoPlayerState LcVideoPlayerState() const;
       
    44     
       
    45     TBool LcIsPlayingL();
       
    46     
       
    47     void LcPlayL( TLcVideoPlayerSource aSource=ECameraSource );
       
    48     
       
    49     void LcPauseL();
       
    50 
       
    51     MLcCameraControl* LcCameraControl();
       
    52     
       
    53     MLcZoomControl* LcZoomControl();
       
    54 
       
    55     MLcBrightnessControl* LcBrightnessControl();
       
    56     
       
    57     void SetLcWindowRectL( TRect aRect );
       
    58     
       
    59     void SetLcWindowOrientationL( 
       
    60         TLcWindowOrientation aOrientation );
       
    61 
       
    62 public:
       
    63     TBool IsOrientationChanged();
       
    64     
       
    65 private: // Constructors
       
    66     
       
    67     CLcVtLocalVideoPlayer(
       
    68         CLcVtSession* avtSession,
       
    69         MLcAudioControl& aLcAudioControl,
       
    70         TVtCameraHandler& aCameraHandler);
       
    71     
       
    72     void ConstructL();
       
    73     
       
    74 private: // Data
       
    75     
       
    76     TVtCameraHandler& iCameraHandler;
       
    77     TBool           iOrientationChanged;
       
    78     
       
    79     };
       
    80 
       
    81 
       
    82 #endif //LCVTLOCALVIDEOPLAYER_H