vtengines/videoteleng/Inc/Media/TVtEngRenderConfigNGA.inl
changeset 0 ed9695c8bcbe
child 24 f15ac8e65a02
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vtengines/videoteleng/Inc/Media/TVtEngRenderConfigNGA.inl	Mon Nov 23 14:47:47 2009 +0200
@@ -0,0 +1,71 @@
+/*
+* 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