|
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: Local and remote video rendering configuration. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // ============================ MEMBER FUNCTIONS =============================== |
|
21 |
|
22 // ----------------------------------------------------------------------------- |
|
23 // TVtEngRenderConfigDP::TVtEngRenderConfigDP |
|
24 // C++ constructor |
|
25 // ----------------------------------------------------------------------------- |
|
26 // |
|
27 inline TVtEngRenderConfigDP::TVtEngRenderConfigDP() |
|
28 { |
|
29 Mem::FillZ( this, sizeof( TVtEngRenderConfigDP ) ); |
|
30 iType = EDpRender; |
|
31 } |
|
32 |
|
33 // ----------------------------------------------------------------------------- |
|
34 // TVtEngRenderConfigDP::TVtEngRenderConfigDP |
|
35 // C++ constructor |
|
36 // ----------------------------------------------------------------------------- |
|
37 // |
|
38 inline TVtEngRenderConfigDP::TVtEngRenderConfigDP( |
|
39 const TVtEngRenderingOptionsDP& aOptions ) |
|
40 { |
|
41 iType = EDpRender; |
|
42 iWsSession = &aOptions.iWs; |
|
43 iWsSreenDevice = &aOptions.iWsSD; |
|
44 iWindow = &aOptions.iWindow; |
|
45 iObserver = aOptions.iObserver; |
|
46 iRect = aOptions.iRect; |
|
47 iClipRect = aOptions.iClipRect; |
|
48 iOffset = aOptions.iOffset; |
|
49 iBackGround = 0; |
|
50 } |
|
51 |
|
52 // ----------------------------------------------------------------------------- |
|
53 // TVtEngRenderConfigDP::operator= |
|
54 // |
|
55 // ----------------------------------------------------------------------------- |
|
56 // |
|
57 inline TVtEngRenderConfigDP& TVtEngRenderConfigDP::operator=( |
|
58 const TVtEngRenderConfig& aConfig ) |
|
59 { |
|
60 iWsSession = aConfig.iWsSession; |
|
61 iWsSreenDevice = aConfig.iWsSreenDevice; |
|
62 iWindow = aConfig.iWindow; |
|
63 iObserver = aConfig.iObserver; |
|
64 iRect = aConfig.iRect; |
|
65 iClipRect = aConfig.iClipRect; |
|
66 iOffset = aConfig.iOffset; |
|
67 iType = aConfig.iType; |
|
68 return *this; |
|
69 } |
|
70 |
|
71 // End of File |