vtuis/lcvtplugin/inc/control/clcvtvideoplayerbase.h
branchRCL_3
changeset 24 f15ac8e65a02
equal deleted inserted replaced
23:890b5dd735f8 24:f15ac8e65a02
       
     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 Video Player Base Class
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef LCVTPLAYERS_H
       
    19 #define LCVTPLAYERS_H
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 #include <lcvideoplayer.h>
       
    24 #include <lcwindow.h>
       
    25 #include <lcaudiocontrol.h>
       
    26 #include <lcsourcefilecontrol.h>
       
    27 #include <lcdestinationfilecontrol.h>
       
    28 #include "clcvtsession.h"
       
    29 
       
    30     
       
    31 class CLcVtVideoPlayerBase : public CBase, public MLcVideoPlayer, public MLcWindow
       
    32     {
       
    33     
       
    34 public: // Constructors and destructor
       
    35     
       
    36     ~CLcVtVideoPlayerBase();
       
    37     
       
    38 public: // from MLcVideoPlayer
       
    39     
       
    40     //TLcVideoPlayerState LcVideoPlayerState() const;
       
    41     
       
    42     //TBool LcIsPlayingL();
       
    43     
       
    44     void LcPlayL( TLcVideoPlayerSource aSource=ECameraSource );
       
    45     
       
    46     void LcPauseL();
       
    47 
       
    48     MLcWindow* LcWindow();
       
    49 
       
    50     MLcCameraControl* LcCameraControl();
       
    51     
       
    52     MLcSourceFileControl* LcSourceFileControl();
       
    53     
       
    54     MLcDestinationFileControl* LcDestinationFileControl();
       
    55     
       
    56     MLcAudioControl* LcAudioControl();
       
    57 
       
    58     MLcZoomControl* LcZoomControl();
       
    59 
       
    60     MLcBrightnessControl* LcBrightnessControl();
       
    61 
       
    62 
       
    63 public: // from MLcWindow
       
    64     
       
    65     void EnableLcWindowL( TBool aEnable );
       
    66     
       
    67     TBool IsLcWindowEnabled();        
       
    68     
       
    69     void SetLcWindowRectL( TRect aRect );
       
    70     
       
    71     TRect LcWindowRect();
       
    72     
       
    73     void SetLcWindowOrientationL( 
       
    74         TLcWindowOrientation aOrientation );
       
    75     
       
    76     TLcWindowOrientation LcWindowOrientationL();
       
    77     
       
    78 protected: // Constructors
       
    79     
       
    80     CLcVtVideoPlayerBase(
       
    81         CLcVtSession* avtSession,
       
    82         MLcAudioControl& aLcAudioControl );
       
    83     
       
    84 protected: // Data        
       
    85     
       
    86     CLcVtSession* ivtSession; // Not owned
       
    87     
       
    88     MLcAudioControl& iLcAudioControl;
       
    89 
       
    90     TBool iIsWindowEnabled;
       
    91     
       
    92     TRect iWindowRect;
       
    93     
       
    94     MLcWindow::TLcWindowOrientation iWindowOrientation;
       
    95     };
       
    96    
       
    97 
       
    98 #endif // LCVTPLAYERS_H
       
    99 
       
   100 // end of file