vtengines/videoteleng/Inc/Media/MVtEngFrameObserver.h
changeset 0 ed9695c8bcbe
equal deleted inserted replaced
-1:000000000000 0:ed9695c8bcbe
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Observer interface for video frames.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MVTENGFRAMEOBSERVER_H
       
    21 #define MVTENGFRAMEOBSERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32def.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CFbsBitmap;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  Observer interface for video frames.
       
    33 *
       
    34 *  @lib videoteleng
       
    35 *  @since 2.6
       
    36 */
       
    37 class MVtEngFrameObserver
       
    38     {
       
    39     public:
       
    40 
       
    41         enum TFrameType
       
    42             {
       
    43             ELocalVideoFrame,
       
    44             ERemoteVideoFrame
       
    45             };
       
    46 
       
    47         virtual void vtHandleFrameL( TFrameType aType,
       
    48             CFbsBitmap* aBitmap ) = 0;
       
    49 
       
    50         /**
       
    51         * Sets last drawn frame. This frame will be stored by UI
       
    52         * and will be drawn when DSA is temporarily disabled (e.g.
       
    53         * when a menu is opened)
       
    54         */
       
    55         virtual void vtSetFrame( TFrameType aType,
       
    56             CFbsBitmap* aBitmap ) = 0;
       
    57 
       
    58     };
       
    59 
       
    60 #endif      // MVTENGFRAMEOBSERVER_H
       
    61 
       
    62 // End of File