|
1 /* |
|
2 * Copyright (c) 2005 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: Implementation. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __MCETESTUIENGINECONSTANTS_H |
|
22 #define __MCETESTUIENGINECONSTANTS_H |
|
23 |
|
24 #include <e32base.h> |
|
25 |
|
26 // USER NOTIFICATIONS |
|
27 |
|
28 // Profile |
|
29 _LIT( KUserNotificationProfileRegistered, "Profile registered" ); |
|
30 _LIT( KUserNotificationProfileDeregistered, "Profile unregistered" ); |
|
31 _LIT( KUserNotificationProfileUpdated, "Profile updated" ); |
|
32 _LIT( KUserNotificationProfileUnknownEvent, "Unknown profile event occurred" ); |
|
33 |
|
34 // Session |
|
35 _LIT( KUserNotificationSessionCreated, "Session created" ); |
|
36 _LIT( KUserNotificationSessionCannotCreate, "Session can't be created" ); |
|
37 _LIT( KUserNotificationSessionStateChanged, "Session state changed"); |
|
38 _LIT( KUserNotificationSessionFailed, "Session failed"); |
|
39 |
|
40 // Event |
|
41 _LIT(KUserNotificationEventCreated, "Event created"); |
|
42 _LIT( KUserNotificationEventCannotCreate, "Event can't be created"); |
|
43 _LIT( KUserNotificationEventStateChanged, "Event state changed"); |
|
44 _LIT( KUserNotificationEventFailed, "Event failed"); |
|
45 _LIT( KUserNotificationNotifyReceived, "Notify Received"); |
|
46 |
|
47 // USER QUESTIONS |
|
48 |
|
49 // Profile |
|
50 _LIT( KUserQuestionSelectProfile, "Select profile" ); |
|
51 |
|
52 // Session |
|
53 _LIT( KUserQuestionSelectUsedProfile, "Select used profile" ); |
|
54 _LIT( KUserQuestionInputRecipient, "Recipient:" ); |
|
55 _LIT( KUserQuestionSelectDirection, "Select direction" ); |
|
56 _LIT( KUserQuestionOptionSendOnly, "SendOnly" ); |
|
57 _LIT( KUserQuestionOptionReceiveOnly, "RecvOnly" ); |
|
58 _LIT( KUserQuestionOptionSendReceive, "SendRecv" ); |
|
59 _LIT( KUserQuestionOptionNoStreams, "No streams" ); |
|
60 _LIT( KUserQuestionNewIncomingSession, "New incoming session" ); |
|
61 _LIT( KUserQuestionOptionAccept, "Accept" ); |
|
62 _LIT( KUserQuestionOptionAcceptWithCustomReason, "Accept (custom)" ); |
|
63 _LIT( KUserQuestionOptionReject, "Reject" ); |
|
64 _LIT( KUserQuestionOptionRejectWithCustomReason, "Reject (custom)" ); |
|
65 _LIT( KUserQuestionOptionHandleLater, "Handle later" ); |
|
66 _LIT( KUserQuestionOptionEstablish, "Establish"); |
|
67 _LIT( KUserQuestionOptionEstalishWithValues, "Establish with values"); |
|
68 _LIT( KUserQuestionOptionUpdate, "Update"); |
|
69 _LIT( KUserQuestionOptionUpdateWithValues,"Update with values"); |
|
70 _LIT( KUserQuestionSendInfo,"Send INFO"); |
|
71 _LIT( KUserQuestionSendInfoDTMF,"Send INFO with DTMF"); |
|
72 _LIT( KUserQuestionSendInfoResponse, "Send INFO response" ); |
|
73 _LIT( KUserQuestionSendInfoResponseCaption, "Select transaction ID" ); |
|
74 _LIT( KUserQuestionSendInfoNoTransactions, "No received INFOs" ); |
|
75 |
|
76 //Event |
|
77 _LIT( KUserQuestionInputEventHeader,"EventHeader:"); |
|
78 _LIT( KUserQuestionInputEventContentType,"Content type:"); |
|
79 _LIT( KUserQuestionInputEventContent,"Content:"); |
|
80 // COMMAND CAPTIONS |
|
81 |
|
82 // Profile |
|
83 |
|
84 _LIT( KCommandCaptionRegister, "Register" ); |
|
85 _LIT( KCommandCaptionSelectProfile, "Select profile" ); |
|
86 _LIT( KCommandCaptionUnregister, "Unregister" ); |
|
87 _LIT( KCommandCaptionDisplayProfileUser, "Display user" ); |
|
88 |
|
89 // Session |
|
90 _LIT( KCommandCaptionCreateCustomSession, "Create custom session using profile" ); |
|
91 _LIT( KCommandCaptionCreateCustomSessionAPList, "Create session using APList selection" ); |
|
92 _LIT( KCommandCaptionCreateCustomSessionAPNumber, "Create session using access point number" ); |
|
93 _LIT( KCommandCaptionCreatePoCSession, "Create PoC session" ); |
|
94 _LIT( KCommandCaptionCreateVoIPSession, "Create VoIP session" ); |
|
95 _LIT( KCommandCaptionCreate2WayVideoSession, "Create 2-way video session" ); |
|
96 _LIT( KCommandCaptionDeleteSession, "Delete session" ); |
|
97 _LIT( KCommandCaptionEstablish, "Establish" ); |
|
98 _LIT( KCommandCaptionAnswerSession, "Answer session" ); |
|
99 _LIT( KCommandCaptionAcceptSession, "Accept session" ); |
|
100 _LIT( KCommandCaptionRespondSession, "Respond session" ); |
|
101 _LIT( KCommandCaptionRejectSession, "Reject session" ); |
|
102 _LIT( KCommandCaptionUpdateSession, "Update" ); |
|
103 _LIT( KCommandCaptionHoldSession, "Hold / Unhold call" ); |
|
104 _LIT( KCommandCaptionTerminateSession, "Terminate session" ); |
|
105 _LIT( KCommandCaptionRingingSession, "Ringing "); |
|
106 _LIT( KCommandCaptionCancelSession, "Cancel Session "); |
|
107 _LIT (KCommandCaptionSendFCSession, "Send FC Message"); |
|
108 _LIT (KCommandCaptionWriteSdpToFile, "Write SDP to File"); |
|
109 _LIT (KCommandCaptionSessionEnableVideo, "Enable Video"); |
|
110 _LIT (KCommandCaptionSessionDisableVideo, "Disable Video"); |
|
111 // Stream |
|
112 _LIT( KCommandCaptionEnableStream, "Enable " ); |
|
113 _LIT( KCommandCaptionDisableStream, "Disable " ); |
|
114 _LIT( KCommandCaptionRemoveStream, "Remove Stream " ); |
|
115 _LIT( KCommandCaptionEnableSource, "Enable (Locally)" ); |
|
116 _LIT( KCommandCaptionDisableSource, "Disable (Locally)" ); |
|
117 _LIT( KCommandCaptionEnableSink, "Enable (Locally)" ); |
|
118 _LIT( KCommandCaptionDisableSink, "Disable (Locally)" ); |
|
119 _LIT( KCommandCaptionDeleteAudioCodec, "Delete Audio codec"); |
|
120 _LIT( KCommandCaptionDeleteVideoCodec, "Delete Video codec"); |
|
121 |
|
122 //Event |
|
123 _LIT( KCommandCaptionSubscribeEvent, "Subscribe Event"); |
|
124 _LIT( KCommandCaptionCreateEvent, "Create Event"); |
|
125 _LIT( KCommandCaptionTerminateEvent, "Terminate Event"); |
|
126 _LIT( KCommandCaptionDeleteEvent, "Delete Event"); |
|
127 _LIT( KCommandCaptionAcceptEvent, "Accept Event"); |
|
128 _LIT( KCommandCaptionRejectEvent, "Reject Event"); |
|
129 _LIT( KCommandCaptionNotifyEvent, "Notify Event"); |
|
130 _LIT( KCommandCaptionUpdateEvent, "Update Event"); |
|
131 _LIT( KUserNotificationEventNotifyReceived,"Event Notify Received"); |
|
132 |
|
133 //Refer |
|
134 _LIT( KUserNotificationReferCreated, "Refer created"); |
|
135 _LIT( KCommandCaptionCreateRefer, "Create Refer"); |
|
136 _LIT( KUserNotificationReferCannotCreate, "Cannot create"); |
|
137 _LIT( KCommandCaptionDeleteRefer, "Delete Refer"); |
|
138 _LIT( KCommandCaptionAcceptRefer, "Accept Refer"); |
|
139 _LIT( KCommandCaptionRejectRefer, "Reject Refer"); |
|
140 _LIT( KCommandCaptionRespondRefer, "Respond Refer"); |
|
141 _LIT( KCommandCaptionRefer, "Refer"); |
|
142 _LIT( KUserNotificationReferStateChanged,"Refer state changed"); |
|
143 _LIT( KUserNotificationReferFailed, "Refer Failed "); |
|
144 _LIT (KCommandCaptionCreateSessionFromRefer, "Create Session from Refer"); |
|
145 |
|
146 |
|
147 // SESSION STATES |
|
148 |
|
149 _LIT( KSessionStateIdle, "Idle" ); |
|
150 _LIT( KSessionStateOffering, "Offering" ); |
|
151 _LIT( KSessionStateIncoming, "Incoming" ); |
|
152 _LIT( KSessionStateReserving, "Reserving" ); |
|
153 _LIT( KSessionStateAnswering, "Answering" ); |
|
154 _LIT( KSessionStateProceeding, "Proceeding" ); |
|
155 _LIT( KSessionStateEstablished, "Established" ); |
|
156 _LIT( KSessionStateCancelling, "Cancelling" ); |
|
157 _LIT( KSessionStateTerminating, "Terminating" ); |
|
158 _LIT( KSessionStateTerminated, "Terminated" ); |
|
159 _LIT( KSessionStateUnknown, "Unknown state" ); |
|
160 |
|
161 // EVENT STATES |
|
162 _LIT( KEventStateIdle, "Idle" ); |
|
163 _LIT( KEventStatePending, "Pending " ); |
|
164 _LIT( KEventStateActive, "Active " ); |
|
165 _LIT( KEventStateTerminated, "Terminated" ); |
|
166 _LIT( KEventStateUnknown, "Unknown state" ); |
|
167 |
|
168 //REFER STATES |
|
169 |
|
170 _LIT( KReferStateIdle,"Idle"); |
|
171 _LIT( KReferStatePending,"Pending"); |
|
172 _LIT( KReferStateAccepted,"Accepted"); |
|
173 _LIT( KReferStateTerminated,"Terminated"); |
|
174 _LIT( KReferStateUnknown,"Unknown state"); |
|
175 |
|
176 // SESSION DIRECTIONS |
|
177 |
|
178 _LIT( KSessionDirectionSendRecv, "SR" ); |
|
179 _LIT( KSessionDirectionRecvOnly, "ROnly" ); |
|
180 _LIT( KSessionDirectionSendOnly, "SOnly" ); |
|
181 _LIT( KSessionDirectionNotSpesified, " NA " ); |
|
182 |
|
183 // STREAM STATES |
|
184 _LIT( KStreamStateEnabled, "Enabled" ); |
|
185 _LIT( KStreamStateDisabled, "Disabled" ); |
|
186 _LIT( KStreamUninitialized, "Uninitialized"); |
|
187 _LIT( KStreamInitialized,"Initialized"); |
|
188 _LIT( KStreamBuffering,"Buffering"); |
|
189 _LIT( KStreamIdle,"Idle"); |
|
190 _LIT( KStreamStreaming,"Streaming"); |
|
191 _LIT( KStreamDisabled,"Disabled"); |
|
192 _LIT( KStreamNoResources,"NoResources"); |
|
193 _LIT( KStreamTranscodingRequired,"TranscodingRequired"); |
|
194 _LIT( KStreamTranscoding,"Transcoding"); |
|
195 _LIT( KUserNotificationStreamStateChanged,"Stream state changed"); |
|
196 |
|
197 // STREAM DIRECTIONS |
|
198 _LIT( KStreamDirectionUpLink, "UpLink" ); |
|
199 _LIT( KStreamDirectionDownLink, "DownLink" ); |
|
200 _LIT( KStreamDirectionNotSpesified, " NA " ); |
|
201 |
|
202 |
|
203 // SOURCE STATES |
|
204 _LIT( KSourceStateEnabled, "Enabled" ); |
|
205 _LIT( KSourceStateDisabled, "Disabled" ); |
|
206 |
|
207 // SINK STATES |
|
208 _LIT( KSinkStateEnabled, "Enabled" ); |
|
209 _LIT( KSinkStateDisabled, "Disabled" ); |
|
210 |
|
211 |
|
212 // MISC |
|
213 _LIT( KSpace, " "); |
|
214 _LIT( KMiscIncomingSession, "Incoming session" ); |
|
215 _LIT( KMiscIncomingVoIPSession, "Incoming VoIP session" ); |
|
216 _LIT( KMiscIncomingEvent,"Incoming Event"); |
|
217 _LIT8( KAcceptContactMCETestUI, "Accept-Contact : *;MCETESTUI" ); |
|
218 _LIT( KRecipent, "sip:a@"); |
|
219 _LIT( KNone, "None"); |
|
220 _LIT( KContentType, "application/sdp"); |
|
221 _LIT( KNotifyContentType, "message/sipfrag;version=2.0"); /* 0*/ |
|
222 _LIT( KNotifyContent, "SIP/2.0 200 OK"); |
|
223 _LIT( KUserNotificationSRReceived,"SR Received"); |
|
224 _LIT( KUserNotificationRRReceived, "RR Received"); |
|
225 _LIT( KLeftParenthesis, " (" ); |
|
226 _LIT( KRightParenthesis, ")" ); |
|
227 _LIT( KOutSession, "OutSession: " ); |
|
228 _LIT( KInSession, "InSession: " ); |
|
229 _LIT( KSession, "Session" ); |
|
230 _LIT( KProfileId, "PrId:" ); |
|
231 _LIT( KAudioStream, "AudioStream " ); |
|
232 _LIT( KVideoStream, "VideoStream " ); |
|
233 _LIT(KLabelRTPSource, "RtpSource "); |
|
234 _LIT(KLabelFileSource, "FileSource "); |
|
235 _LIT(KLabelMicSource, "MicSource"); |
|
236 _LIT(KLabelRTPSink, "RtpSink"); |
|
237 _LIT(KLabelSpeakerSink, "SpeakerSink"); |
|
238 _LIT(KLabelDisplaySink, "DisplaySink"); |
|
239 _LIT(KLabelFileSink, "FileSink"); |
|
240 _LIT(KLabelCamSource, "CameraSource"); |
|
241 _LIT( KTab, "\t" ); |
|
242 _LIT( KSource, "Source " ); |
|
243 _LIT( KSink, "Sink " ); |
|
244 _LIT( KCodec, "Codec " ); |
|
245 _LIT( KMCEManager, "MCEManager" ); |
|
246 _LIT( KProfile, "Profile: " ); |
|
247 _LIT( KSessionCount, "Sessions:" ); |
|
248 _LIT( KRegistered, "Registered" ); |
|
249 _LIT( KOutEvent, "OutEvent: " ); |
|
250 _LIT( KInEvent, "InEvent: " ); |
|
251 _LIT( KEventCount, "Events:" ); |
|
252 _LIT( KOutRefer, "OutRefer: " ); |
|
253 _LIT( KInRefer, "InRefer: " ); |
|
254 _LIT( KReferCount, "Refers:" ); |
|
255 _LIT( KNotRegistered, "Not registered" ); |
|
256 _LIT( KLeaveMessage, "Command left with value: " ); |
|
257 _LIT( KStream, "Stream" ); |
|
258 _LIT8( KMceCodecAMR, "AMR" ); |
|
259 _LIT8( KMceCodecPCMA, "PCMA" ); |
|
260 _LIT8( KMceCodecPCMU, "PCMU" ); |
|
261 _LIT8( KSDPNameiLBC, "iLBC"); |
|
262 _LIT( KEventHeader, "Presence"); |
|
263 _LIT( KMiscIncomingRefer,"Incoming Refer "); |
|
264 _LIT (KUserQuestionInputReferTo,"Refer To"); |
|
265 _LIT( KFCMessageReceived,"FCMessage Received"); |
|
266 _LIT( KCallStateActivated,"CS Call activated"); |
|
267 _LIT( KCallStateDeActivated,"CS Call deactivated"); |
|
268 _LIT( KFCMessageErrorOccured,"FCMessage Error Occured"); |
|
269 _LIT (KCommandCaptionCreateMceSettings, "Settings"); |
|
270 _LIT (KCommandCaptionCreateMceValueSettings, "Constants"); |
|
271 _LIT8(KFCMessage, "Here is some FC Message"); |
|
272 _LIT( KUserInactivityTimeoutReceived,"Inactivitytimeout received"); |
|
273 _LIT (KUserActivityTimeReceived, "ACtivitytime received"); |
|
274 _LIT( KCommandCaptionEnableRtpSourceInActivityTimer, "Enable Inactivity Timer"); |
|
275 _LIT(KCommandCaptionSendRR, "Send RR"); |
|
276 _LIT(KCommandCaptionSendSR, "Send SR"); |
|
277 _LIT(KCommandCaptionSetAudioRouting, "Set AudioRouting"); |
|
278 _LIT(KCommandCaptionSetGain,"SetGain"); |
|
279 _LIT(KUserQuestionInputTranscodeFileName,"Transcode FileName"); |
|
280 _LIT(KCommandCaptionTranscode,"Transcode File"); |
|
281 _LIT(KCommandCaptionCancelTranscode,"Cancel Transcode"); |
|
282 _LIT(KDefaultTranscodeFile,"c:\\.3gp"); |
|
283 _LIT(KDefaultAcceptContactValue,"Accept-Contact:*;+g.3gpp.cs-voice"); |
|
284 _LIT(KUpdateFailed,"Update Failed"); |
|
285 _LIT(KCommandCaptionDTMFStart,"Start DTMF Tone"); |
|
286 _LIT(KCommandCaptionDTMFStop,"Stop DTMF Tone"); |
|
287 _LIT(KCommandCaptionDTMFSendTone,"Send DTMF Tone"); |
|
288 _LIT(KCommandCaptionDTMFSendSequence,"Send DTMF Tone Sequence"); |
|
289 _LIT(KNotifyDTMFFailed,"DTMF Failed"); |
|
290 _LIT(KRequestFailed,"Sending Request Failed"); |
|
291 _LIT(KDtmfToneReceived,"DTMF Tone Received:"); |
|
292 _LIT(KDtmfEventReceived,"DTMF Event Received:"); |
|
293 _LIT(KDtmfStarted,"Started"); |
|
294 _LIT(KDtmfCompleted,"Completed"); |
|
295 _LIT(KDtmfErrorOccured,"DTMF Error Occured!"); |
|
296 _LIT(KCommandCaptionCurrentCryptoContext,"Current CryptoContext"); |
|
297 _LIT(KCommandCaptionSupportedCryptoContext,"Supported CryptoContext"); |
|
298 _LIT(KCommandCaptionSetCryptoContext,"Set CryptoConext"); |
|
299 _LIT(KCommandCaptionAddCodec, "Add Codec"); |
|
300 _LIT(KUserNotificationReferActiveConnectionStateChangedReceived,"Active Refer Connection State Received"); |
|
301 _LIT(KUserNotificationReferNotActiveConnectionStateChangedReceived,"Not Active Refer Connection State Received"); |
|
302 _LIT(KUserNotificationEventActiveConnectionStateChangedReceived,"Active Event Connection State Received"); |
|
303 _LIT(KUserNotificationEventNotActiveConnectionStateChangedReceived,"Not Active Event Connection State Received"); |
|
304 _LIT(KCommandCaptionStandByVideoCodec,"StandBy"); |
|
305 _LIT(KCommandCaptionEnableVideoCodec,"Enable"); |
|
306 _LIT(KCommandCaptionDisableVideoCodec,"Disable"); |
|
307 _LIT(KCodecStateEnabled,"Enabled"); |
|
308 _LIT(KCodecStateDisabled,"Disabled"); |
|
309 _LIT(KCodecStateStandBy,"StandBy"); |
|
310 _LIT(KResponseReceived,"ResponseReceived"); |
|
311 _LIT(KTransactionFailed,"TransactionFailed"); |
|
312 _LIT(KRequestReceived,"RequestReceived"); |
|
313 _LIT(KResponseSent,"ResponseSent"); |
|
314 |
|
315 const TUint32 KMceTestUiAvcEncoderUid = 0x20001c13; |
|
316 |
|
317 #endif // __MCETESTUIENGINECONSTANTS_H |
|
318 |
|
319 |
|
320 |
|
321 |
|
322 |