mmsharing/livecommsui/lcui/tsrc/ipvtengine/inc/musengtwowaysession.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     1 /*
       
     2 * Copyright (c) 2005 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 MUSHENGTWOWAYSESSION_H
       
    20 #define MUSHENGTWOWAYSESSION_H
       
    21 
       
    22 // USER
       
    23 #include "musengmcesession.h"
       
    24 
       
    25 // SYSTEM
       
    26 #include <ecam.h>
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 class MMusEngLiveSessionObserver;
       
    30 class CMceDisplaySink;
       
    31 class MMusEngTwoWaySessionObserver;
       
    32 class CMusEngRemoteVideoPlayer;
       
    33 
       
    34 
       
    35 class CMusEngTwoWaySession : public CMusEngMceSession
       
    36     {    
       
    37     public:
       
    38         /**
       
    39         * Creates new MultimediaSharing Live session.
       
    40         * @return CMusEngTwoWaySession* New instanse of specified class
       
    41         */
       
    42         static CMusEngTwoWaySession* NewL();
       
    43 
       
    44 
       
    45     public:
       
    46 
       
    47         /**
       
    48         * Destructor
       
    49         */
       
    50         ~CMusEngTwoWaySession();
       
    51 
       
    52     public:
       
    53         
       
    54         void EnableDisplayL( TBool aEnable );
       
    55 
       
    56         void SetOrientationL( MMusEngDisplayHandler::TDisplayOrientation aOrientation );
       
    57 
       
    58         void EstablishLcSessionL();
       
    59         
       
    60         void TerminateLcSessionL();        
       
    61 
       
    62 				void UpdateLcSessionL();
       
    63         
       
    64     public:
       
    65         
       
    66         /**
       
    67         * Sets both remote (receiving video) and local (viewfinder) rects.
       
    68         * 
       
    69         */
       
    70         void SetRectsL( const TRect& aRemoteRect,
       
    71                         const TRect& aLocalRect );
       
    72         
       
    73     private:
       
    74 
       
    75         /**
       
    76         * Constructor
       
    77         */
       
    78         CMusEngTwoWaySession();
       
    79 
       
    80         /**
       
    81         * Second-phase constructor
       
    82         */
       
    83         void ConstructL();
       
    84 
       
    85     };
       
    86 
       
    87 #endif
       
    88