37
|
1 |
/*
|
|
2 |
* Copyright (c) 2007-2008 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 class for MPEEngineInfo of the PhoneEngine
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
#ifndef MPEENGINEINFO_H
|
|
21 |
#define MPEENGINEINFO_H
|
|
22 |
|
|
23 |
// INCLUDES
|
|
24 |
#include <pevirtualengine.h>
|
|
25 |
#include "mpecallsettersif.h"
|
|
26 |
|
|
27 |
// CONSTANTS
|
|
28 |
// None
|
|
29 |
|
|
30 |
// FORWARD DECLARATIONS
|
|
31 |
class MPEClientInformation;
|
|
32 |
|
|
33 |
// DATA TYPES
|
|
34 |
// None
|
|
35 |
|
|
36 |
// CLASS DECLARATION
|
|
37 |
|
|
38 |
/**
|
|
39 |
* Offers engine info interface to phone application
|
|
40 |
*
|
|
41 |
* @lib phoneengine.lib
|
|
42 |
* @since Series 60 4.0
|
|
43 |
*/
|
|
44 |
NONSHARABLE_CLASS( MPEEngineInfo ) : public MPECallSettersIF
|
|
45 |
{
|
|
46 |
|
|
47 |
public:
|
|
48 |
/**
|
|
49 |
* Gets active als line of the phone from TPEBasicInfo-structure
|
|
50 |
* @return active als line of the phone
|
|
51 |
*/
|
|
52 |
virtual const CCCECallParameters::TCCELineType& ALSLine() const = 0;
|
|
53 |
|
|
54 |
/**
|
|
55 |
* Gets ALS support of the phone from TPEBasicInfo-structure
|
|
56 |
* @return ETrue if als is supported.
|
|
57 |
*/
|
|
58 |
virtual const TBool& ALSLineSupport() const = 0;
|
|
59 |
|
|
60 |
/**
|
|
61 |
* Gets group ids which are active to play ring tone
|
|
62 |
* @return contact group id
|
|
63 |
*/
|
|
64 |
virtual const TArray< TContactItemId > AlertForGroup() const = 0;
|
|
65 |
|
|
66 |
/**
|
|
67 |
* Gets audio mute value
|
|
68 |
* @return audio mute value
|
|
69 |
*/
|
|
70 |
virtual const TBool& AudioMute() const = 0;
|
|
71 |
|
|
72 |
/**
|
|
73 |
* Gets audio volume value
|
|
74 |
* @return audio volume value
|
|
75 |
*/
|
|
76 |
virtual const TInt& AudioVolume() const = 0;
|
|
77 |
|
|
78 |
/**
|
|
79 |
* Gets current audio output path
|
|
80 |
* @return audio output path
|
|
81 |
*/
|
|
82 |
virtual const TPEAudioOutput& AudioOutput() const = 0;
|
|
83 |
|
|
84 |
/**
|
|
85 |
* Gets phone audio route parameters
|
|
86 |
* @return phone audio route parameters.
|
|
87 |
*/
|
|
88 |
virtual const TPEPhoneAudioRouteParameters& RouteParameters() const = 0;
|
|
89 |
|
|
90 |
/**
|
|
91 |
* Gets audio output path availability
|
|
92 |
* @return audio output path availability status
|
|
93 |
*/
|
|
94 |
virtual TBool AudioOutputAvailable(
|
|
95 |
const TPEAudioOutput aOutput ) const = 0;
|
|
96 |
|
|
97 |
/**
|
|
98 |
* Gets line information for the specified call
|
|
99 |
* @param aCallId is the call identification number
|
|
100 |
* @return line information for the specified call
|
|
101 |
*/
|
|
102 |
virtual CCCECallParameters::TCCELineType CallALSLine( const TInt aCallId ) const = 0;
|
|
103 |
|
|
104 |
/**
|
|
105 |
* Gets phone client information of the specified call
|
|
106 |
* @param aCallId is the call identification number
|
|
107 |
* @return client information of the specified call
|
|
108 |
*/
|
|
109 |
virtual const MPEClientInformation& CallClientInformation( const TInt aCallId ) const = 0;
|
|
110 |
|
|
111 |
/**
|
|
112 |
* Gets call direction of the specified call
|
|
113 |
* @param aCallId is the call identification number
|
|
114 |
* @return call direction of the specified call
|
|
115 |
*/
|
|
116 |
virtual RMobileCall::TMobileCallDirection CallDirection(
|
|
117 |
const TInt aCallId ) const = 0;
|
|
118 |
|
|
119 |
/**
|
|
120 |
* Gets duration of the last call to go idle
|
|
121 |
* @return call duration of the last active call
|
|
122 |
*/
|
|
123 |
virtual const TInt& CallDuration() const = 0;
|
|
124 |
|
|
125 |
/**
|
|
126 |
* Gets call duration of the ongoing or last active call with specified id
|
|
127 |
* @param aCallId is the call identification number
|
|
128 |
* @return call duration of the ongoing or last active call
|
|
129 |
*/
|
|
130 |
virtual TTimeIntervalSeconds CallDuration( const TInt aCallId ) const = 0;
|
|
131 |
|
|
132 |
/**
|
|
133 |
* Get caller image
|
|
134 |
* @param aCallId is the call identification number.
|
|
135 |
* @return caller image
|
|
136 |
*/
|
|
137 |
virtual const TPtrC CallerImage( const TInt aCallId ) const = 0;
|
|
138 |
|
|
139 |
/**
|
|
140 |
* Get caller text
|
|
141 |
* @param aCallId is the call identification number.
|
|
142 |
* @return caller text
|
|
143 |
*/
|
|
144 |
virtual const TPtrC CallerText( const TInt aCallId ) const = 0;
|
|
145 |
|
|
146 |
/**
|
|
147 |
* Get caller thumbnail
|
|
148 |
* @param aCallId is the call identification number.
|
|
149 |
* @return pointer to thumbnail data
|
|
150 |
*/
|
|
151 |
virtual CFbsBitmap* CallerThumbnail(
|
|
152 |
const TInt aCallId ) const = 0;
|
|
153 |
|
|
154 |
/**
|
|
155 |
* Get caller thumbnail status
|
|
156 |
* @return ETrue if has thumbnail, otherwise EFalse.
|
|
157 |
*/
|
|
158 |
virtual TBool HasCallerThumbnail( const TInt aCallId ) const = 0;
|
|
159 |
|
|
160 |
/**
|
|
161 |
* Gets identification number of a call
|
|
162 |
*
|
|
163 |
* This value is used for determining the target for a command message
|
|
164 |
* that requires such information
|
|
165 |
* @return identification number of a call
|
|
166 |
*/
|
|
167 |
virtual const TInt& CallId() const = 0;
|
|
168 |
|
|
169 |
/**
|
|
170 |
* Gets start time of the call
|
|
171 |
* @param aCallTime is the start time of the call
|
|
172 |
* @param aCallId is the call identification number
|
|
173 |
* @return None.
|
|
174 |
*/
|
|
175 |
virtual const TTime& CallStartTime( const TInt aCallId ) const = 0;
|
|
176 |
|
|
177 |
/**
|
|
178 |
* Gets call state of a specified call
|
|
179 |
* @param aCallId is the call identification number
|
|
180 |
* @return call state of a specified call
|
|
181 |
*/
|
|
182 |
virtual TPEState CallState( const TInt aCallId ) const = 0;
|
|
183 |
|
|
184 |
/**
|
|
185 |
* Gets type of the specified call
|
|
186 |
* @param aCallId is the call identification number.
|
|
187 |
* @return call type of a specified call
|
|
188 |
*/
|
|
189 |
virtual TPECallType CallType( const TInt aCallId ) const = 0;
|
|
190 |
|
|
191 |
/**
|
|
192 |
* Gets last set call type information
|
|
193 |
* @return call type information
|
|
194 |
*/
|
|
195 |
virtual const TPECallType& CallTypeCommand() const = 0;
|
|
196 |
|
|
197 |
/**
|
|
198 |
* Gets secure status from call info
|
|
199 |
* @return TBool the secure status (on/off)
|
|
200 |
*/
|
|
201 |
virtual TBool IsSecureCall( const TInt aCallId ) const = 0;
|
|
202 |
|
|
203 |
/**
|
|
204 |
* Gets call state of a conference call
|
|
205 |
* @return call state
|
|
206 |
*/
|
|
207 |
virtual TPEState ConferenceCallState() const = 0;
|
|
208 |
|
|
209 |
/**
|
|
210 |
* Get user group ids this contact is assigned to
|
|
211 |
* @param aCallId is the call identification number.
|
|
212 |
* @return array for group ids
|
|
213 |
*/
|
|
214 |
virtual const TArray< TContactItemId > ContactGroups(
|
|
215 |
const TInt aCallId ) const = 0;
|
|
216 |
|
|
217 |
/**
|
|
218 |
* Get remote contact link packet. See virtual phonebook API.
|
|
219 |
* @param aCallId is the call identification number.
|
|
220 |
* @return Virtual phonebook contact link packet.
|
|
221 |
*/
|
|
222 |
virtual const TDesC8& ContactLink( const TInt aCallId ) const = 0;
|
|
223 |
|
|
224 |
/**
|
|
225 |
* Gets the name of data port currently on-loan.
|
|
226 |
* Data port loaning is handled by CSPlugin and happens when a data
|
|
227 |
* call goes into connected state. The dataport is released when VT components
|
|
228 |
* indicate it can be released, i.e. video call hangup.
|
|
229 |
* @return data port name
|
|
230 |
*/
|
|
231 |
virtual const TName& DataPortName() const = 0;
|
|
232 |
|
|
233 |
/**
|
|
234 |
* Gets dtmf string
|
|
235 |
* @return dtmf string
|
|
236 |
*/
|
|
237 |
virtual const TPEDtmfString& DtmfString() const = 0;
|
|
238 |
|
|
239 |
/**
|
|
240 |
* Gets error code and cause values for the latest error
|
|
241 |
* @return error code and cause values for the latest error
|
|
242 |
*/
|
|
243 |
virtual const TPEErrorInfo& ErrorInfo() const = 0;
|
|
244 |
|
|
245 |
/**
|
|
246 |
* Gets key code of the last key press
|
|
247 |
* @return key code of the last key press
|
|
248 |
*/
|
|
249 |
virtual const TChar& KeyCode() const = 0;
|
|
250 |
|
|
251 |
/**
|
|
252 |
* Gets keypad volume value
|
|
253 |
* @return keypad volume value
|
|
254 |
*/
|
|
255 |
virtual const TInt& KeypadVolume() const = 0;
|
|
256 |
|
|
257 |
/**
|
|
258 |
* Gets lifetimer data
|
|
259 |
* @return lifetime data (TDes8&)
|
|
260 |
*/
|
|
261 |
virtual const TPELifeTimeData& LifeTimerData() const = 0;
|
|
262 |
|
|
263 |
/**
|
|
264 |
* Gets a logging indicator
|
|
265 |
* @param aCallId, call identification number
|
|
266 |
* @return continuous logging indicator
|
|
267 |
*/
|
|
268 |
virtual TBool LoggingIndicator( const TInt aCallId ) const = 0;
|
|
269 |
|
|
270 |
/**
|
|
271 |
* Get missed call indicator
|
|
272 |
* @param aCallId, call identification number
|
|
273 |
* @return missed call indicator
|
|
274 |
*/
|
|
275 |
virtual TBool MissedCall( const TInt aCallId ) const = 0;
|
|
276 |
|
|
277 |
/**
|
|
278 |
* Gets network registration status
|
|
279 |
* @return TNWNetworkRegistrationStatus Network registration status
|
|
280 |
*/
|
|
281 |
virtual const TNWNetworkRegistrationStatus& NetworkRegistrationStatus() const = 0;
|
|
282 |
|
|
283 |
/**
|
|
284 |
* Get ringing tone
|
|
285 |
* Returns a ringing tone defined for one of the user groups
|
|
286 |
* if personal tone is not found
|
|
287 |
* @param aCallId, call identification number
|
|
288 |
* @return ringing tone file path
|
|
289 |
*/
|
|
290 |
virtual const TPEContactFileName& PersonalRingingTone(
|
|
291 |
const TInt aCallId ) const = 0;
|
|
292 |
|
|
293 |
/**
|
|
294 |
* Gets personal tone status
|
|
295 |
* @return personal tone status
|
|
296 |
*/
|
|
297 |
virtual const TBool& PersonalToneStatus() const = 0;
|
|
298 |
|
|
299 |
/**
|
|
300 |
* Gets phone identity parameters
|
|
301 |
* @return phone identity parameters.
|
|
302 |
*/
|
|
303 |
virtual const TPEPhoneIdentityParameters& PhoneIdentityParameters() const = 0;
|
|
304 |
|
|
305 |
/**
|
|
306 |
* Gets phone number
|
|
307 |
* @return Reference to TPEPhoneNumber, containing the phone number of the remote party.
|
|
308 |
*/
|
|
309 |
virtual const TPEPhoneNumber& PhoneNumber() const = 0;
|
|
310 |
|
|
311 |
/**
|
|
312 |
* Gets phone number parsing result
|
|
313 |
* @return ETrue if phone number is a service code
|
|
314 |
*/
|
|
315 |
virtual const TBool& PhoneNumberIsServiceCode() const = 0;
|
|
316 |
|
|
317 |
/**
|
|
318 |
* Gets profile id
|
|
319 |
* @return profile id
|
|
320 |
*/
|
|
321 |
virtual const TInt& ProfileId() const = 0;
|
|
322 |
|
|
323 |
/**
|
|
324 |
* Gets profile name
|
|
325 |
* @return profile name.
|
|
326 |
*/
|
|
327 |
virtual const TPEProfileName& ProfileName() const = 0;
|
|
328 |
|
|
329 |
/**
|
|
330 |
* Gets contact company name
|
|
331 |
* @param aCallId, call identification number
|
|
332 |
* @return company name
|
|
333 |
*/
|
|
334 |
virtual const TPEContactCompany& RemoteCompanyName(
|
|
335 |
const TInt aCallId ) const = 0;
|
|
336 |
|
|
337 |
/**
|
|
338 |
* Gets remote party identity
|
|
339 |
* @param aCallId is the Call identification number
|
|
340 |
* @return remote party identity
|
|
341 |
*/
|
|
342 |
virtual RMobileCall::TMobileCallRemoteIdentityStatus RemoteIdentity (
|
|
343 |
const TInt aCallId ) const = 0;
|
|
344 |
|
|
345 |
/**
|
|
346 |
* Gets contact name
|
|
347 |
* Depending on user selected language may be in order:
|
|
348 |
* first + last name OR last + first name
|
|
349 |
* @param aCallId, call identification number
|
|
350 |
* @return contact name
|
|
351 |
*/
|
|
352 |
virtual const TPEContactName& RemoteName( const TInt aCallId ) const = 0;
|
|
353 |
|
|
354 |
/**
|
|
355 |
* Gets remote end phone number
|
|
356 |
* @param aCallId, call identification number
|
|
357 |
* @return phone number
|
|
358 |
*/
|
|
359 |
virtual const TPEPhoneNumber& RemotePhoneNumber(
|
|
360 |
const TInt aCallId ) const = 0;
|
|
361 |
|
|
362 |
/**
|
|
363 |
* Gets remote end phone number type
|
|
364 |
* @param aCallId, call identification number
|
|
365 |
* @return phone number type
|
|
366 |
*/
|
|
367 |
virtual const TPEPhoneNumberIdType& RemotePhoneNumberType(
|
|
368 |
const TInt aCallId ) const = 0;
|
|
369 |
|
|
370 |
/**
|
|
371 |
* Gets text to speech text for this contact. Used in
|
|
372 |
* text to speech ringing tone.
|
|
373 |
* @param aCallId, call identification number
|
|
374 |
* @return descriptor, ownership passed.
|
|
375 |
*/
|
|
376 |
virtual const TPtrC RemoteTextToSpeechText(
|
|
377 |
const TInt aCallId ) const = 0;
|
|
378 |
|
|
379 |
/**
|
|
380 |
* Gets remote predefined dtmf strings
|
|
381 |
* @param aCallId, call identification number
|
|
382 |
* @return reference to string array
|
|
383 |
*/
|
|
384 |
virtual const CDesCArray& RemotePredefinedDtmfStrings(
|
|
385 |
const TInt aCallId ) const = 0;
|
|
386 |
|
|
387 |
/**
|
|
388 |
* Gets ringing type
|
|
389 |
* @return ringing type
|
|
390 |
*/
|
|
391 |
virtual const TProfileRingingType& RingingType() const = 0;
|
|
392 |
|
|
393 |
/**
|
|
394 |
* Gets ringing tone name
|
|
395 |
* @param aCallId, call identification number
|
|
396 |
* @return name of the current ringing tone
|
|
397 |
*/
|
|
398 |
virtual const TPEContactFileName& RingingTone( const TInt& aCallId ) const = 0;
|
|
399 |
|
|
400 |
/**
|
|
401 |
* Gets current ringing volume
|
|
402 |
* @return the current ringing volume
|
|
403 |
*/
|
|
404 |
virtual const TInt& RingingVolume() const = 0;
|
|
405 |
|
|
406 |
/**
|
|
407 |
* Gets text-to-speech preference setting value
|
|
408 |
* @return text-to-speech status (EFalse/ETrue)
|
|
409 |
*/
|
|
410 |
virtual const TBool& TextToSpeech() const = 0;
|
|
411 |
|
|
412 |
/**
|
|
413 |
* Gets VoiceMailBoxNumber for Line 1 information from TPEBasicInfo-structure
|
|
414 |
* @return line 1 VoiceMailBoxNumber information
|
|
415 |
*/
|
|
416 |
virtual const TPEPhoneNumber& VoiceMailBoxNumberLine1() const = 0;
|
|
417 |
|
|
418 |
/**
|
|
419 |
* Gets VoiceMailBoxNumber for Line 2 information from TPEBasicInfo-structure
|
|
420 |
* @return line 2 VoiceMailBoxNumber information
|
|
421 |
*/
|
|
422 |
virtual const TPEPhoneNumber& VoiceMailBoxNumberLine2() const = 0;
|
|
423 |
|
|
424 |
/**
|
|
425 |
* Sets audio mute command to TPEBasicInfo-structure
|
|
426 |
* @param aAudioMute is audio mute
|
|
427 |
* @return None.
|
|
428 |
*/
|
|
429 |
virtual void SetAudioMuteCommand( const TInt& aAudioMute ) = 0;
|
|
430 |
|
|
431 |
/**
|
|
432 |
* Sets audio output command to TPEBasicInfo-structure
|
|
433 |
* @param aOutput is audio output path
|
|
434 |
* @param aShowNote is audio note value
|
|
435 |
* @return None.
|
|
436 |
*/
|
|
437 |
virtual void SetAudioOutputCommand(
|
|
438 |
const TPEAudioOutput& aOutput,
|
|
439 |
const TBool aShowNote ) = 0;
|
|
440 |
|
|
441 |
/**
|
|
442 |
* Sets audio volume command to TPEBasicInfo-structure
|
|
443 |
* @param aAudioVolume is audio volume
|
|
444 |
* @return None.
|
|
445 |
*/
|
|
446 |
virtual void SetAudioVolumeCommand( const TInt& aAudioVolume ) = 0;
|
|
447 |
|
|
448 |
/**
|
|
449 |
* Sets CallId value to TPECallCommandInfo-structure
|
|
450 |
* @param aCallId is the call id number.
|
|
451 |
* @return None.
|
|
452 |
*/
|
|
453 |
virtual void SetCallId( const TInt& aCallId ) = 0;
|
|
454 |
|
|
455 |
/**
|
|
456 |
* Sets call type information for following command message
|
|
457 |
* Used for specifying the call type of the next attempted call
|
|
458 |
* @param aCallType is the call type of the next attempted call
|
|
459 |
*/
|
|
460 |
virtual void SetCallTypeCommand( const TPECallType& aCallType ) = 0;
|
|
461 |
|
|
462 |
/**
|
|
463 |
* Sets dtmf string value to TPEBasicInfo-structure
|
|
464 |
* @param aDtmfString is the dtmf string to be sent.
|
|
465 |
* @return None.
|
|
466 |
*/
|
|
467 |
virtual void SetDtmfStringCommand( const TPEDtmfString& aDtmfString ) = 0;
|
|
468 |
|
|
469 |
/**
|
|
470 |
* Sets key code value to TPEBasicInfo-structure
|
|
471 |
* @param aKeyCode is the key code value.
|
|
472 |
* @return None.
|
|
473 |
*/
|
|
474 |
virtual void SetKeyCode( const TChar& aKeyCode ) = 0;
|
|
475 |
|
|
476 |
/**
|
|
477 |
* Sets phone number to TPECallCommandInfo-structure
|
|
478 |
* @param aPhoneNumber is the phone number
|
|
479 |
* @return None.
|
|
480 |
*/
|
|
481 |
virtual void SetPhoneNumber( const TPEPhoneNumber& aPhoneNumber ) = 0;
|
|
482 |
|
|
483 |
/**
|
|
484 |
* Gets two digit support status value
|
|
485 |
* @return two digit support status (EFalse/ETrue)
|
|
486 |
*/
|
|
487 |
virtual const TBool& TwoDigitSupportStatus() const = 0;
|
|
488 |
|
|
489 |
/**
|
|
490 |
* Returns the service-id used for the command.
|
|
491 |
* @return TUint32 ServiceId
|
|
492 |
*/
|
|
493 |
virtual TUint32 ServiceIdCommand() const = 0;
|
|
494 |
|
|
495 |
/**
|
|
496 |
* SetServiceIdCommand
|
|
497 |
* @return None
|
|
498 |
*/
|
|
499 |
virtual void SetServiceIdCommand( TUint32 aServiceId ) = 0;
|
|
500 |
|
|
501 |
/**
|
|
502 |
* Gets ServiceId
|
|
503 |
* @return ServiceId
|
|
504 |
*/
|
|
505 |
virtual TUint32 ServiceId( const TInt aCallId ) const = 0;
|
|
506 |
|
|
507 |
/**
|
|
508 |
* Gets active forwarding information from TPEBasicInfo-structure
|
|
509 |
* @return deflect information
|
|
510 |
*/
|
|
511 |
virtual const TPEActiveForwardInfo& ActiveForwardingInfo() const = 0;
|
|
512 |
|
|
513 |
/**
|
|
514 |
* Gets barring information from TPEBasicInfo-structure
|
|
515 |
* @return barring information
|
|
516 |
*/
|
|
517 |
virtual const TPEBarringInfo& BarringInfo() const = 0;
|
|
518 |
|
|
519 |
/**
|
|
520 |
* Gets conference value from TPECallInfo-structure
|
|
521 |
* @param aCallId is the call identification number
|
|
522 |
* @return call conference value
|
|
523 |
*/
|
|
524 |
virtual TInt CallConference( const TInt aCallId ) const = 0;
|
|
525 |
|
|
526 |
/**
|
|
527 |
* Gets call control caps from the TPECallInfo-structure
|
|
528 |
* @param aCallId is the call identification number
|
|
529 |
* @return call control capabilities
|
|
530 |
*/
|
|
531 |
virtual TPECallControlCaps CallControlCaps( const TInt aCallId ) const = 0;
|
|
532 |
|
|
533 |
/**
|
|
534 |
* Gets forwarded value from TPECallInfo-structure
|
|
535 |
* @param aCallId is the call identification number
|
|
536 |
* @return is call forwarded or not
|
|
537 |
*/
|
|
538 |
virtual TBool CallForwarded( const TInt aCallId ) const = 0;
|
|
539 |
|
|
540 |
/**
|
|
541 |
* Gets Service information from TPECallInfo-structure
|
|
542 |
* @param aCallId is the call identification number.
|
|
543 |
* @return mobile call service type
|
|
544 |
*/
|
|
545 |
virtual RMobilePhone::TMobileService CallService( const TInt aCallId ) const = 0;
|
|
546 |
|
|
547 |
/**
|
|
548 |
* Gets Conference call capabilities
|
|
549 |
* @param aCallId is the call identification number
|
|
550 |
* @return conference call capabilities
|
|
551 |
*/
|
|
552 |
virtual TUint32 ConferenceCallCaps( const TInt aCallId ) const = 0;
|
|
553 |
|
|
554 |
/**
|
|
555 |
* Gets Conference call capabilities
|
|
556 |
* @param aCallId is the call identification number
|
|
557 |
* @return conference call member name
|
|
558 |
*/
|
|
559 |
virtual const TName& ConferenceMemberName( const TInt aCallId ) const = 0;
|
|
560 |
|
|
561 |
/**
|
|
562 |
* Gets Conference call capabilities
|
|
563 |
* @param aCallId is the call identification number
|
|
564 |
* @return conference call member id
|
|
565 |
*/
|
|
566 |
virtual TInt IsConferenceMemberId( const TInt aCallId ) const = 0;
|
|
567 |
|
|
568 |
/**
|
|
569 |
* Gets emergency number to be checked for validity
|
|
570 |
* @return emergency number to be checked for validity
|
|
571 |
*/
|
|
572 |
virtual const TPEPhoneNumber& EmergencyNumber() const = 0;
|
|
573 |
|
|
574 |
/**
|
|
575 |
* Gets number of the conference members
|
|
576 |
* @param aCallId is the call identification number
|
|
577 |
* @return number of conference members
|
|
578 |
*/
|
|
579 |
virtual TInt NumberOfConferenceMembers( const TInt aCallId ) const = 0;
|
|
580 |
|
|
581 |
/**
|
|
582 |
* Get remote end connected phone number
|
|
583 |
* @param aCallId, call identification number
|
|
584 |
* @return phone number
|
|
585 |
*/
|
|
586 |
virtual const TPEPhoneNumber& RemoteColpNumber(
|
|
587 |
const TInt aCallId ) const = 0;
|
|
588 |
|
|
589 |
/**
|
|
590 |
* Gets Sim state
|
|
591 |
* @return current Sim state
|
|
592 |
*/
|
|
593 |
virtual const TPESimState& SimState() const = 0;
|
|
594 |
|
|
595 |
/**
|
|
596 |
* Gets secure specified status
|
|
597 |
* @return ETrue if secure specified
|
|
598 |
*/
|
|
599 |
virtual TBool SecureSpecified( ) const = 0;
|
|
600 |
|
|
601 |
/**
|
|
602 |
* Gets the last suplementary services string command information
|
|
603 |
* @return Suplementary Services command information.
|
|
604 |
*/
|
|
605 |
virtual const TPESSCommandInfo& SSCommandInfo() const = 0;
|
|
606 |
|
|
607 |
/**
|
|
608 |
* Sets emergency numbers of the phone to TPEBasicInfo-structure
|
|
609 |
* @param aEmergencyNumber for emergency number checking.
|
|
610 |
* @return None.
|
|
611 |
*/
|
|
612 |
virtual void SetEmergencyNumber( const TPEPhoneNumber& aEmergencyNumbers ) = 0;
|
|
613 |
|
|
614 |
/**
|
|
615 |
* Gets remote party name. Contains possible recieved CNAP name or
|
|
616 |
* received skype identification
|
|
617 |
* @param aCallId, Call identification number.
|
|
618 |
* @return Name of the remote party detemined by network.
|
|
619 |
*/
|
|
620 |
virtual const TPEContactName& RemotePartyName( const TInt aCallId ) const = 0;
|
|
621 |
|
|
622 |
/**
|
|
623 |
* Returns transfer target from the last received unattended transfer
|
|
624 |
* request or KNullDesC if transfer target is not available.
|
|
625 |
*
|
|
626 |
* @return Transfer target.
|
|
627 |
*/
|
|
628 |
virtual const TPEPhoneNumber& UnattendedTransferTarget(
|
|
629 |
TInt aCallId ) const = 0;
|
|
630 |
|
|
631 |
/**
|
|
632 |
* Sets transfer target from the last received unattended transfer request.
|
|
633 |
*
|
|
634 |
* @param aTarget Transfer target to set.
|
|
635 |
* @param aCallId Call identification number.
|
|
636 |
*/
|
|
637 |
virtual void SetUnattendedTransferTarget(
|
|
638 |
const TPEPhoneNumber& aTarget, TInt aCallId ) = 0;
|
|
639 |
|
|
640 |
/**
|
|
641 |
* Returns address choices from received call forward request
|
|
642 |
* or NULL if addresses are not available.
|
|
643 |
*
|
|
644 |
* @param aCallId Call identification number.
|
|
645 |
* @return Address array.
|
|
646 |
*/
|
|
647 |
virtual const CDesC8Array* ForwardAddressChoices( TInt aCallId ) const = 0;
|
|
648 |
|
|
649 |
/**
|
|
650 |
* Sets address choices from received call forward request.
|
|
651 |
*
|
|
652 |
* @param aArray Address array.
|
|
653 |
* @param aCallId Call identification number.
|
|
654 |
*/
|
|
655 |
virtual void SetForwardAddressChoices( const CDesC8Array* aArray,
|
|
656 |
TInt aCallId ) = 0;
|
|
657 |
|
|
658 |
/**
|
|
659 |
* Sets array index for user selected address.
|
|
660 |
*
|
|
661 |
* @param aIndex Array index for selected address.
|
|
662 |
*/
|
|
663 |
virtual void SetForwardAddressIndex( TInt aIndex ) = 0;
|
|
664 |
|
|
665 |
/**
|
|
666 |
* Returns array index for user selected address.
|
|
667 |
* Address is used for call forwarding.
|
|
668 |
*
|
|
669 |
* @return Array index for selected address.
|
|
670 |
*/
|
|
671 |
virtual TInt ForwardAddressIndex() = 0;
|
|
672 |
|
|
673 |
/**
|
|
674 |
* Sets transfer target address for unattended transfer
|
|
675 |
* @param aTransferTarget Target address for unattended transfer
|
|
676 |
*/
|
|
677 |
virtual void SetTransferTargetCommand( const TPEPhoneNumber& aTransferTarget ) = 0;
|
|
678 |
|
|
679 |
/**
|
|
680 |
* Returns transfer target address
|
|
681 |
* @return Transfer target address set with SetTransferTargetCommand
|
|
682 |
*/
|
|
683 |
virtual const TPEPhoneNumber& TransferTargetCommand() const = 0;
|
|
684 |
|
|
685 |
/**
|
|
686 |
* Returns switch to operation status.
|
|
687 |
*/
|
|
688 |
virtual TBool IsSwitchToOperationOngoing() const = 0;
|
|
689 |
|
|
690 |
/**
|
|
691 |
* Checks if given state can be found.
|
|
692 |
* @param aCallState state to be checked.
|
|
693 |
*/
|
|
694 |
virtual TBool CheckIfCallStateExists( const TPEState& aCallState )= 0;
|
|
695 |
|
|
696 |
/**
|
|
697 |
* Returns call origin for the call
|
|
698 |
* @param aOrigin indicates if the call is phone, client or SAT originated
|
|
699 |
*/
|
|
700 |
virtual TPECallOrigin CallOrigin( const TInt aCallId ) const = 0;
|
|
701 |
|
|
702 |
/**
|
|
703 |
* Returns Phonebook contact identifier.
|
|
704 |
*/
|
|
705 |
virtual TInt ContactId2 () const = 0;
|
|
706 |
|
|
707 |
}; // MPEEngineInfo
|
|
708 |
|
|
709 |
#endif //MPEENGINEINFO_H
|
|
710 |
|
|
711 |
// End of File
|
|
712 |
|