|
1 /* |
|
2 * Copyright (c) 2004 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: Interface for controlling a video window |
|
15 * for Video Telephone application. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef MVTUIVIDEOWINDOW_H |
|
22 #define MVTUIVIDEOWINDOW_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32base.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CFbsBitmap; |
|
29 |
|
30 // CLASS DECLARATION |
|
31 |
|
32 /** |
|
33 * Interface for controlling a video window (uplink / downlink) for Video |
|
34 * Telephone application. |
|
35 * |
|
36 * @since Series 60 2.6 |
|
37 */ |
|
38 class MVtUiVideoWindow |
|
39 { |
|
40 public: // New functions |
|
41 |
|
42 /** |
|
43 * Resets blind, stream bitmap and waiting image statuses. |
|
44 */ |
|
45 virtual void Reset() = 0; |
|
46 |
|
47 /** |
|
48 * Changes blind status. |
|
49 * @param aStatus new status, ETrue - on, EFalse - off. |
|
50 */ |
|
51 virtual void SetBlind( TBool aStatus ) = 0; |
|
52 |
|
53 /** |
|
54 * Sets stream bitmap. |
|
55 * @param aStreamBitmap bitmap. Ownership not transferred. |
|
56 */ |
|
57 virtual void SetStreamBitmap( CFbsBitmap* aStreamBitmap ) = 0; |
|
58 |
|
59 /** |
|
60 * Sets stream bitmap for reserve, when Draw() routine is called. |
|
61 * (e.g. when opening and closing menu) |
|
62 * @param aStreamBitmap bitmap. Ownership not transferred. |
|
63 */ |
|
64 virtual void SetStreamBitmapReserve( CFbsBitmap* aStreamBitmap ) = 0; |
|
65 |
|
66 /** |
|
67 * Sets waiting image status. |
|
68 * @param aShowWaitingText ETrue if waiting text should be shown. |
|
69 */ |
|
70 virtual void SetWaiting( TBool aShowWaitingText ) = 0; |
|
71 |
|
72 /** |
|
73 * Redraws image. |
|
74 */ |
|
75 virtual void Redraw() = 0; |
|
76 |
|
77 /** |
|
78 * Set remote video control |
|
79 */ |
|
80 virtual void SetRemoteVideoControl( CCoeControl* aRemoteControl ) = 0; |
|
81 |
|
82 /** |
|
83 * Layout the postion and the size of the remote video control |
|
84 */ |
|
85 virtual void LayoutRemoteVideo() = 0; |
|
86 |
|
87 /** |
|
88 * Returns pointer to remote video control or NULL if no remote video control is present. |
|
89 */ |
|
90 virtual CCoeControl * RemoteVideoControl() = 0; |
|
91 |
|
92 }; |
|
93 |
|
94 #endif // CVTUICONTEXTCONTROL_H |
|
95 |
|
96 // End of File |