|
1 /* |
|
2 * Copyright (c) 2004-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: Video telephony engine events |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef VTENGEVENTS_H |
|
21 #define VTENGEVENTS_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32def.h> |
|
25 |
|
26 // CONSTANTS |
|
27 |
|
28 const TInt KVtEngEventNone = -1; |
|
29 |
|
30 const TInt KVtEngEventBase = 0; |
|
31 |
|
32 /** |
|
33 * Engine configuration events |
|
34 */ |
|
35 const TInt KVtEngConfigureEventBase = KVtEngEventBase + 100; // 100 |
|
36 const TInt KVtEngDurationSettingChanged = KVtEngConfigureEventBase + 1; |
|
37 const TInt KVtEngInitializationProblem = KVtEngConfigureEventBase + 2; |
|
38 |
|
39 /** |
|
40 * Engine media events |
|
41 */ |
|
42 const TInt KVtEngMediaEventBase = KVtEngConfigureEventBase + 100; // 200 |
|
43 const TInt KVtEngCameraChanged = KVtEngMediaEventBase + 1; |
|
44 const TInt KVtEngSourceChanged = KVtEngMediaEventBase + 2; |
|
45 const TInt KVtEngRemoteVideoPaused = KVtEngMediaEventBase + 3; |
|
46 const TInt KVtEngRemoteVideoResumed = KVtEngMediaEventBase + 4; |
|
47 const TInt KVtEngRemoteAudioPaused = KVtEngMediaEventBase + 5; |
|
48 const TInt KVtEngRemoteAudioResumed = KVtEngMediaEventBase + 6; |
|
49 const TInt KVtEngAudioMuted = KVtEngMediaEventBase + 7; |
|
50 const TInt KVtEngAudioUnmuted = KVtEngMediaEventBase + 8; |
|
51 const TInt KVtEngRemoteVideoStarted = KVtEngMediaEventBase + 10; |
|
52 const TInt KVtEngRemoteVideoStopped = KVtEngMediaEventBase + 11; |
|
53 const TInt KVtEngRemoteAudioStarted = KVtEngMediaEventBase + 12; |
|
54 const TInt KVtEngRemoteRenderingProblem = KVtEngMediaEventBase + 14; |
|
55 const TInt KVtEngLocalRenderingProblem = KVtEngMediaEventBase + 15; |
|
56 const TInt KVtEngSourceCapsChanged = KVtEngMediaEventBase + 16; |
|
57 const TInt KVtEngRemoteRenderStopped = KVtEngMediaEventBase + 17; |
|
58 const TInt KVtEngViewFinderStopped = KVtEngMediaEventBase + 18; |
|
59 const TInt KVtEngResolutionToSQCIF = KVtEngMediaEventBase + 19; |
|
60 const TInt KVtEngResolutionToQCIF = KVtEngMediaEventBase + 20; |
|
61 |
|
62 // Problems in starting negotiation with remote end |
|
63 const TInt KVtEngNegotiationProblem = KVtEngMediaEventBase + 21; |
|
64 |
|
65 // Initializing media component failed |
|
66 const TInt KVtEngMediaInitFailure = KVtEngMediaEventBase + 22; |
|
67 |
|
68 // Begin initialization of image sharing (convert, scale, etc.) |
|
69 const TInt KVtEngShareImageInitializeBegin = KVtEngMediaEventBase + 23; |
|
70 |
|
71 // End initialization of image sharing (convert, scale, etc.) |
|
72 const TInt KVtEngShareImageInitializeEnd = KVtEngMediaEventBase + 24; |
|
73 |
|
74 // Informs status change in outgoing video channel. |
|
75 const TInt KVtEngMediaOutgoingVideoChannelStatusChanged = |
|
76 KVtEngMediaEventBase + 25; |
|
77 |
|
78 // Informs status change in outgoing audio channel. |
|
79 const TInt KVtEngMediaOutgoingAudioChannelStatusChanged = |
|
80 KVtEngMediaEventBase + 26; |
|
81 |
|
82 // Informs UI that decoding error happened during image share |
|
83 const TInt KVtEngShareImageDecodingError = KVtEngMediaEventBase + 27; |
|
84 |
|
85 // Informs UI that volume is already maximum |
|
86 const TInt KVtEngAudioVolumeMax = KVtEngMediaEventBase + 28; |
|
87 |
|
88 // Informs UI that volume is already minimum |
|
89 const TInt KVtEngAudioVolumeMin = KVtEngMediaEventBase + 29; |
|
90 |
|
91 // Informs UI that Locvid layoutchange has been done |
|
92 const TInt KVtEngLCHProviderSwitchDone = KVtEngMediaEventBase + 30; |
|
93 |
|
94 /** |
|
95 * Engine audio events |
|
96 */ |
|
97 const TInt KVtEngAudioEventBase = KVtEngMediaEventBase + 100; // 300 |
|
98 const TInt KVtEngAudioOutputVolumeChanged = KVtEngAudioEventBase + 1; |
|
99 const TInt KVtEngAudioRoutingChanged = KVtEngAudioEventBase + 2; |
|
100 const TInt KVtEngAudioRoutingAvailabilityChanged = KVtEngAudioEventBase + 3; |
|
101 const TInt KVtEngAudioRoutingIHFActivated = KVtEngAudioEventBase + 4; |
|
102 const TInt KVtEngAudioRoutingIHFDeactivated = KVtEngAudioEventBase + 5; |
|
103 |
|
104 /** |
|
105 * Engine session events |
|
106 */ |
|
107 const TInt KVtEngSessionEventBase = KVtEngAudioEventBase + 100; // 400 |
|
108 const TInt KVtEngSessionStateChanged = KVtEngSessionEventBase + 1; |
|
109 const TInt KVtEngSessionAnswerPossible = KVtEngSessionEventBase + 2; |
|
110 const TInt KVtEngSessionWaitingCallActive = KVtEngSessionEventBase + 3; |
|
111 const TInt KVtEngSessionWaitingCallInactive = KVtEngSessionEventBase + 4; |
|
112 const TInt KVtEngCLIAvailable = KVtEngSessionEventBase + 5; |
|
113 |
|
114 /** |
|
115 * General events |
|
116 */ |
|
117 const TInt KVtEngGeneralEventBase = KVtEngSessionEventBase + 100; // 500 |
|
118 const TInt KVtEngResourceMemAllocFailure = KVtEngGeneralEventBase + 1; |
|
119 const TInt KVtEngDtmfFailure = KVtEngGeneralEventBase + 2; |
|
120 /** |
|
121 * Remote supports UII DTMF. |
|
122 */ |
|
123 const TInt KVtEngRemoteUIIDtmfSupport = KVtEngGeneralEventBase + 13; |
|
124 /** |
|
125 * Remote supports UII basic string. |
|
126 */ |
|
127 const TInt KVtEngRemoteUIIBasicStringSupport = KVtEngGeneralEventBase + 14; |
|
128 /** |
|
129 * Remote supports UII IA5 string. |
|
130 */ |
|
131 const TInt KVtEngRemoteUIIIA5StringSupport = KVtEngGeneralEventBase + 15; |
|
132 /** |
|
133 * Remote supports UII general string. |
|
134 */ |
|
135 const TInt KVtEngRemoteUIIGeneralStringSupport = KVtEngGeneralEventBase + 6; |
|
136 |
|
137 |
|
138 // Device is locked or unlocked (autolock feature) |
|
139 const TInt KVtEngDeviceLockOn = KVtEngGeneralEventBase + 3; |
|
140 const TInt KVtEngDeviceLockOff = KVtEngGeneralEventBase + 4; |
|
141 |
|
142 // Remote disconnected |
|
143 const TInt KVtEngRemoteDisconnect = KVtEngGeneralEventBase + 5; |
|
144 |
|
145 #endif // VTENGEVENTS_H |
|
146 |
|
147 // End of File |