|
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 // TVtEngRenderConfigDSA::TVtEngRenderConfigDSA |
|
24 // C++ constructor |
|
25 // ----------------------------------------------------------------------------- |
|
26 // |
|
27 inline TVtEngRenderConfigDSA::TVtEngRenderConfigDSA() |
|
28 { |
|
29 Mem::FillZ( this, sizeof( TVtEngRenderConfigDSA ) ); |
|
30 iType = EDsaRender; |
|
31 } |
|
32 |
|
33 // ----------------------------------------------------------------------------- |
|
34 // TVtEngRenderConfigDSA::TVtEngRenderConfigDSA |
|
35 // C++ constructor |
|
36 // ----------------------------------------------------------------------------- |
|
37 // |
|
38 inline TVtEngRenderConfigDSA::TVtEngRenderConfigDSA( |
|
39 const TVtEngRenderingOptionsDSA& aOptions ) |
|
40 { |
|
41 iType = EDsaRender; |
|
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 } |
|
49 |
|
50 |
|
51 // ----------------------------------------------------------------------------- |
|
52 // TVtEngRenderConfigDSA::operator= |
|
53 // C++ constructor |
|
54 // ----------------------------------------------------------------------------- |
|
55 // |
|
56 inline TVtEngRenderConfigDSA& TVtEngRenderConfigDSA::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 return *this; |
|
68 } |
|
69 |
|
70 // End of File |