equal
deleted
inserted
replaced
|
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 #ifndef TVTENGRENDERCONFIG_H |
|
21 #define TVTENGRENDERCONFIG_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 |
|
28 class MVtEngFrameObserver; |
|
29 class RWsSession; |
|
30 class CWsScreenDevice; |
|
31 class RWindowBase; |
|
32 class RWindow; |
|
33 |
|
34 |
|
35 // CLASS DECLARATION |
|
36 |
|
37 /** |
|
38 * Configuration for representation of local or remote video. |
|
39 * Used only internally. |
|
40 * |
|
41 * @lib videoteleng |
|
42 * @since 2.6 |
|
43 */ |
|
44 struct TVtEngRenderConfig |
|
45 { |
|
46 public: // enumerations |
|
47 |
|
48 /** |
|
49 * Indication of type of rendering specified by configuration. |
|
50 * EWsRender fields applicable for window server are valid |
|
51 * EDsaRender fields applicable for DSA are valid |
|
52 */ |
|
53 enum TRenderType |
|
54 { |
|
55 EWsRender, |
|
56 EDsaRender, |
|
57 EDpRender, |
|
58 ENgaRender |
|
59 }; |
|
60 |
|
61 public: // data |
|
62 RWindow* iRemoteWindow; |
|
63 |
|
64 RWsSession* iWsSession; |
|
65 CWsScreenDevice* iWsSreenDevice; |
|
66 RWindowBase* iWindow; |
|
67 |
|
68 MVtEngFrameObserver* iObserver; |
|
69 TRect iRect; |
|
70 TRect iClipRect; |
|
71 TPoint iOffset; |
|
72 TRenderType iType; |
|
73 }; |
|
74 |
|
75 #endif // TVTENGRENDERCONFIG_H |
|
76 |
|
77 // End of File |