vtengines/videoteleng/Inc/Media/TVtEngRenderConfigNGA.inl
changeset 0 ed9695c8bcbe
child 24 f15ac8e65a02
equal deleted inserted replaced
-1:000000000000 0:ed9695c8bcbe
       
     1 /*
       
     2 * Copyright (c) 2004-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:  Inline implementation for TVtEngRenderConfigNGA.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // ============================ MEMBER FUNCTIONS ===============================
       
    20 
       
    21 // -----------------------------------------------------------------------------
       
    22 // TVtEngRenderConfigNGA::TVtEngRenderConfigNGA
       
    23 // C++ constructor
       
    24 // -----------------------------------------------------------------------------
       
    25 //
       
    26 inline TVtEngRenderConfigNGA::TVtEngRenderConfigNGA()
       
    27     {
       
    28     Mem::FillZ( this, sizeof( TVtEngRenderConfigNGA ) );
       
    29     iType = ENgaRender;
       
    30     }
       
    31 
       
    32 // -----------------------------------------------------------------------------
       
    33 // TVtEngRenderConfigDP::TVtEngRenderConfigNGA
       
    34 // C++ constructor
       
    35 // -----------------------------------------------------------------------------
       
    36 //
       
    37 inline TVtEngRenderConfigNGA::TVtEngRenderConfigNGA(
       
    38     const TVtEngRenderingOptionsNGA& aOptions )
       
    39     {
       
    40     iType = ENgaRender;
       
    41     iWsSession = &aOptions.iWs;
       
    42     //iWsSreenDevice = &aOptions.iWsSD;
       
    43    // iWindow = &aOptions.iWindow;
       
    44     iObserver = aOptions.iObserver;
       
    45     //iRect = aOptions.iRect;
       
    46     //iClipRect = aOptions.iClipRect;
       
    47     //iOffset = aOptions.iOffset;
       
    48     iRemoteWindow = &aOptions.iWindow;
       
    49     }
       
    50 
       
    51 // -----------------------------------------------------------------------------
       
    52 // TVtEngRenderConfigDP::operator=
       
    53 //
       
    54 // -----------------------------------------------------------------------------
       
    55 //
       
    56 inline TVtEngRenderConfigNGA& TVtEngRenderConfigNGA::operator=(
       
    57     const TVtEngRenderConfig& aConfig )
       
    58     {
       
    59     iWsSession = aConfig.iWsSession;
       
    60    // iWsSreenDevice = aConfig.iWsSreenDevice;
       
    61    // iWindow = aConfig.iWindow;
       
    62     iObserver = aConfig.iObserver;
       
    63    // iRect = aConfig.iRect;
       
    64     //iClipRect = aConfig.iClipRect;
       
    65    // iOffset = aConfig.iOffset;
       
    66     iType = aConfig.iType;
       
    67     iRemoteWindow = aConfig.iRemoteWindow;
       
    68     return *this;
       
    69     }
       
    70 
       
    71 // End of File