vtengines/videoteleng/Inc/Media/TVtEngRenderConfigNGA.inl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 23 Nov 2009 14:47:47 +0200
changeset 0 ed9695c8bcbe
child 24 f15ac8e65a02
permissions -rw-r--r--
Revision: 200948

/*
* Copyright (c) 2004-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Inline implementation for TVtEngRenderConfigNGA.
*
*/


// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// TVtEngRenderConfigNGA::TVtEngRenderConfigNGA
// C++ constructor
// -----------------------------------------------------------------------------
//
inline TVtEngRenderConfigNGA::TVtEngRenderConfigNGA()
    {
    Mem::FillZ( this, sizeof( TVtEngRenderConfigNGA ) );
    iType = ENgaRender;
    }

// -----------------------------------------------------------------------------
// TVtEngRenderConfigDP::TVtEngRenderConfigNGA
// C++ constructor
// -----------------------------------------------------------------------------
//
inline TVtEngRenderConfigNGA::TVtEngRenderConfigNGA(
    const TVtEngRenderingOptionsNGA& aOptions )
    {
    iType = ENgaRender;
    iWsSession = &aOptions.iWs;
    //iWsSreenDevice = &aOptions.iWsSD;
   // iWindow = &aOptions.iWindow;
    iObserver = aOptions.iObserver;
    //iRect = aOptions.iRect;
    //iClipRect = aOptions.iClipRect;
    //iOffset = aOptions.iOffset;
    iRemoteWindow = &aOptions.iWindow;
    }

// -----------------------------------------------------------------------------
// TVtEngRenderConfigDP::operator=
//
// -----------------------------------------------------------------------------
//
inline TVtEngRenderConfigNGA& TVtEngRenderConfigNGA::operator=(
    const TVtEngRenderConfig& aConfig )
    {
    iWsSession = aConfig.iWsSession;
   // iWsSreenDevice = aConfig.iWsSreenDevice;
   // iWindow = aConfig.iWindow;
    iObserver = aConfig.iObserver;
   // iRect = aConfig.iRect;
    //iClipRect = aConfig.iClipRect;
   // iOffset = aConfig.iOffset;
    iType = aConfig.iType;
    iRemoteWindow = aConfig.iRemoteWindow;
    return *this;
    }

// End of File