mmsharing/livecommsui/lcui/tsrc/dummymusengineplugin/inc/musenglivesession.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 MUSHENGLIVESESSION_H
       
    20 #define MUSHENGLIVESESSION_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 CMusEngLiveSession : public CMusEngMceSession
       
    36     {    
       
    37     public:
       
    38         /**
       
    39         * Creates new MultimediaSharing Live session.
       
    40         * @return CMusEngLiveSession* New instanse of specified class
       
    41         */
       
    42         static CMusEngLiveSession* NewL();
       
    43 
       
    44 
       
    45     public:
       
    46 
       
    47         /**
       
    48         * Destructor
       
    49         */
       
    50         ~CMusEngLiveSession();
       
    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     public:
       
    63         
       
    64         /**
       
    65         * Sets both remote (receiving video) and local (viewfinder) rects.
       
    66         * 
       
    67         */
       
    68         void SetRectsL( const TRect& aRemoteRect,
       
    69                         const TRect& aLocalRect );
       
    70         
       
    71     private:
       
    72 
       
    73         /**
       
    74         * Constructor
       
    75         */
       
    76         CMusEngLiveSession();
       
    77 
       
    78         /**
       
    79         * Second-phase constructor
       
    80         */
       
    81         void ConstructL();
       
    82 
       
    83     };
       
    84 
       
    85 #endif
       
    86