diff -r 000000000000 -r ed9695c8bcbe vtengines/videoteleng/Inc/Media/TVtEngRenderConfigDSA.inl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vtengines/videoteleng/Inc/Media/TVtEngRenderConfigDSA.inl Mon Nov 23 14:47:47 2009 +0200 @@ -0,0 +1,70 @@ +/* +* Copyright (c) 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: Local and remote video rendering configuration. +* +*/ + + + +// ============================ MEMBER FUNCTIONS =============================== + +// ----------------------------------------------------------------------------- +// TVtEngRenderConfigDSA::TVtEngRenderConfigDSA +// C++ constructor +// ----------------------------------------------------------------------------- +// +inline TVtEngRenderConfigDSA::TVtEngRenderConfigDSA() + { + Mem::FillZ( this, sizeof( TVtEngRenderConfigDSA ) ); + iType = EDsaRender; + } + +// ----------------------------------------------------------------------------- +// TVtEngRenderConfigDSA::TVtEngRenderConfigDSA +// C++ constructor +// ----------------------------------------------------------------------------- +// +inline TVtEngRenderConfigDSA::TVtEngRenderConfigDSA( + const TVtEngRenderingOptionsDSA& aOptions ) + { + iType = EDsaRender; + iWsSession = &aOptions.iWs; + iWsSreenDevice = &aOptions.iWsSD; + iWindow = &aOptions.iWindow; + iObserver = aOptions.iObserver; + iRect = aOptions.iRect; + iClipRect = aOptions.iClipRect; + } + + +// ----------------------------------------------------------------------------- +// TVtEngRenderConfigDSA::operator= +// C++ constructor +// ----------------------------------------------------------------------------- +// +inline TVtEngRenderConfigDSA& TVtEngRenderConfigDSA::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; + return *this; + } + +// End of File