author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 06 Jul 2010 14:15:47 +0300 | |
changeset 46 | bc5a64e5bc3c |
parent 45 | 6b911d05207e |
child 51 | f39ed5e045e0 |
child 74 | d1c62c765e48 |
permissions | -rw-r--r-- |
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 a logging indicator |
|
259 |
* @param aCallId, call identification number |
|
260 |
* @return continuous logging indicator |
|
261 |
*/ |
|
262 |
virtual TBool LoggingIndicator( const TInt aCallId ) const = 0; |
|
263 |
||
264 |
/** |
|
265 |
* Get missed call indicator |
|
266 |
* @param aCallId, call identification number |
|
267 |
* @return missed call indicator |
|
268 |
*/ |
|
269 |
virtual TBool MissedCall( const TInt aCallId ) const = 0; |
|
270 |
||
271 |
/** |
|
272 |
* Gets network registration status |
|
273 |
* @return TNWNetworkRegistrationStatus Network registration status |
|
274 |
*/ |
|
275 |
virtual const TNWNetworkRegistrationStatus& NetworkRegistrationStatus() const = 0; |
|
276 |
||
277 |
/** |
|
278 |
* Get ringing tone |
|
279 |
* Returns a ringing tone defined for one of the user groups |
|
280 |
* if personal tone is not found |
|
281 |
* @param aCallId, call identification number |
|
282 |
* @return ringing tone file path |
|
283 |
*/ |
|
284 |
virtual const TPEContactFileName& PersonalRingingTone( |
|
285 |
const TInt aCallId ) const = 0; |
|
286 |
||
287 |
/** |
|
288 |
* Gets personal tone status |
|
289 |
* @return personal tone status |
|
290 |
*/ |
|
291 |
virtual const TBool& PersonalToneStatus() const = 0; |
|
292 |
||
293 |
/** |
|
294 |
* Gets phone number |
|
295 |
* @return Reference to TPEPhoneNumber, containing the phone number of the remote party. |
|
296 |
*/ |
|
297 |
virtual const TPEPhoneNumber& PhoneNumber() const = 0; |
|
298 |
||
299 |
/** |
|
300 |
* Gets phone number parsing result |
|
301 |
* @return ETrue if phone number is a service code |
|
302 |
*/ |
|
303 |
virtual const TBool& PhoneNumberIsServiceCode() const = 0; |
|
304 |
||
305 |
/** |
|
306 |
* Gets profile id |
|
307 |
* @return profile id |
|
308 |
*/ |
|
309 |
virtual const TInt& ProfileId() const = 0; |
|
310 |
||
311 |
/** |
|
312 |
* Gets profile name |
|
313 |
* @return profile name. |
|
314 |
*/ |
|
315 |
virtual const TPEProfileName& ProfileName() const = 0; |
|
316 |
||
317 |
/** |
|
318 |
* Gets contact company name |
|
319 |
* @param aCallId, call identification number |
|
320 |
* @return company name |
|
321 |
*/ |
|
322 |
virtual const TPEContactCompany& RemoteCompanyName( |
|
323 |
const TInt aCallId ) const = 0; |
|
324 |
||
325 |
/** |
|
326 |
* Gets remote party identity |
|
327 |
* @param aCallId is the Call identification number |
|
328 |
* @return remote party identity |
|
329 |
*/ |
|
330 |
virtual RMobileCall::TMobileCallRemoteIdentityStatus RemoteIdentity ( |
|
331 |
const TInt aCallId ) const = 0; |
|
332 |
||
333 |
/** |
|
334 |
* Gets contact name |
|
335 |
* Depending on user selected language may be in order: |
|
336 |
* first + last name OR last + first name |
|
337 |
* @param aCallId, call identification number |
|
338 |
* @return contact name |
|
339 |
*/ |
|
340 |
virtual const TPEContactName& RemoteName( const TInt aCallId ) const = 0; |
|
341 |
||
342 |
/** |
|
343 |
* Gets remote end phone number |
|
344 |
* @param aCallId, call identification number |
|
345 |
* @return phone number |
|
346 |
*/ |
|
347 |
virtual const TPEPhoneNumber& RemotePhoneNumber( |
|
348 |
const TInt aCallId ) const = 0; |
|
349 |
||
350 |
/** |
|
351 |
* Gets remote end phone number type |
|
352 |
* @param aCallId, call identification number |
|
353 |
* @return phone number type |
|
354 |
*/ |
|
355 |
virtual const TPEPhoneNumberIdType& RemotePhoneNumberType( |
|
356 |
const TInt aCallId ) const = 0; |
|
357 |
||
358 |
/** |
|
359 |
* Gets text to speech text for this contact. Used in |
|
360 |
* text to speech ringing tone. |
|
361 |
* @param aCallId, call identification number |
|
362 |
* @return descriptor, ownership passed. |
|
363 |
*/ |
|
364 |
virtual const TPtrC RemoteTextToSpeechText( |
|
365 |
const TInt aCallId ) const = 0; |
|
366 |
||
367 |
/** |
|
368 |
* Gets remote predefined dtmf strings |
|
369 |
* @param aCallId, call identification number |
|
370 |
* @return reference to string array |
|
371 |
*/ |
|
372 |
virtual const CDesCArray& RemotePredefinedDtmfStrings( |
|
373 |
const TInt aCallId ) const = 0; |
|
374 |
||
375 |
/** |
|
376 |
* Gets ringing type |
|
377 |
* @return ringing type |
|
378 |
*/ |
|
379 |
virtual const TProfileRingingType& RingingType() const = 0; |
|
380 |
||
381 |
/** |
|
382 |
* Gets ringing tone name |
|
383 |
* @param aCallId, call identification number |
|
384 |
* @return name of the current ringing tone |
|
385 |
*/ |
|
386 |
virtual const TPEContactFileName& RingingTone( const TInt& aCallId ) const = 0; |
|
387 |
||
388 |
/** |
|
389 |
* Gets current ringing volume |
|
390 |
* @return the current ringing volume |
|
391 |
*/ |
|
392 |
virtual const TInt& RingingVolume() const = 0; |
|
393 |
||
394 |
/** |
|
395 |
* Gets text-to-speech preference setting value |
|
396 |
* @return text-to-speech status (EFalse/ETrue) |
|
397 |
*/ |
|
398 |
virtual const TBool& TextToSpeech() const = 0; |
|
399 |
||
400 |
/** |
|
401 |
* Gets VoiceMailBoxNumber for Line 1 information from TPEBasicInfo-structure |
|
402 |
* @return line 1 VoiceMailBoxNumber information |
|
403 |
*/ |
|
404 |
virtual const TPEPhoneNumber& VoiceMailBoxNumberLine1() const = 0; |
|
405 |
||
406 |
/** |
|
407 |
* Gets VoiceMailBoxNumber for Line 2 information from TPEBasicInfo-structure |
|
408 |
* @return line 2 VoiceMailBoxNumber information |
|
409 |
*/ |
|
410 |
virtual const TPEPhoneNumber& VoiceMailBoxNumberLine2() const = 0; |
|
411 |
||
412 |
/** |
|
413 |
* Sets audio mute command to TPEBasicInfo-structure |
|
414 |
* @param aAudioMute is audio mute |
|
415 |
* @return None. |
|
416 |
*/ |
|
417 |
virtual void SetAudioMuteCommand( const TInt& aAudioMute ) = 0; |
|
418 |
||
419 |
/** |
|
420 |
* Sets audio output command to TPEBasicInfo-structure |
|
421 |
* @param aOutput is audio output path |
|
422 |
* @param aShowNote is audio note value |
|
423 |
* @return None. |
|
424 |
*/ |
|
425 |
virtual void SetAudioOutputCommand( |
|
426 |
const TPEAudioOutput& aOutput, |
|
427 |
const TBool aShowNote ) = 0; |
|
428 |
||
429 |
/** |
|
430 |
* Sets audio volume command to TPEBasicInfo-structure |
|
431 |
* @param aAudioVolume is audio volume |
|
432 |
* @return None. |
|
433 |
*/ |
|
434 |
virtual void SetAudioVolumeCommand( const TInt& aAudioVolume ) = 0; |
|
435 |
||
436 |
/** |
|
437 |
* Sets CallId value to TPECallCommandInfo-structure |
|
438 |
* @param aCallId is the call id number. |
|
439 |
* @return None. |
|
440 |
*/ |
|
441 |
virtual void SetCallId( const TInt& aCallId ) = 0; |
|
442 |
||
443 |
/** |
|
444 |
* Sets call type information for following command message |
|
445 |
* Used for specifying the call type of the next attempted call |
|
446 |
* @param aCallType is the call type of the next attempted call |
|
447 |
*/ |
|
448 |
virtual void SetCallTypeCommand( const TPECallType& aCallType ) = 0; |
|
449 |
||
450 |
/** |
|
451 |
* Sets dtmf string value to TPEBasicInfo-structure |
|
452 |
* @param aDtmfString is the dtmf string to be sent. |
|
453 |
* @return None. |
|
454 |
*/ |
|
455 |
virtual void SetDtmfStringCommand( const TPEDtmfString& aDtmfString ) = 0; |
|
456 |
||
457 |
/** |
|
458 |
* Sets key code value to TPEBasicInfo-structure |
|
459 |
* @param aKeyCode is the key code value. |
|
460 |
* @return None. |
|
461 |
*/ |
|
462 |
virtual void SetKeyCode( const TChar& aKeyCode ) = 0; |
|
463 |
||
464 |
/** |
|
465 |
* Sets phone number to TPECallCommandInfo-structure |
|
466 |
* @param aPhoneNumber is the phone number |
|
467 |
* @return None. |
|
468 |
*/ |
|
469 |
virtual void SetPhoneNumber( const TPEPhoneNumber& aPhoneNumber ) = 0; |
|
470 |
||
471 |
/** |
|
472 |
* Gets two digit support status value |
|
473 |
* @return two digit support status (EFalse/ETrue) |
|
474 |
*/ |
|
475 |
virtual const TBool& TwoDigitSupportStatus() const = 0; |
|
476 |
||
477 |
/** |
|
478 |
* Returns the service-id used for the command. |
|
479 |
* @return TUint32 ServiceId |
|
480 |
*/ |
|
481 |
virtual TUint32 ServiceIdCommand() const = 0; |
|
482 |
||
483 |
/** |
|
484 |
* SetServiceIdCommand |
|
485 |
* @return None |
|
486 |
*/ |
|
487 |
virtual void SetServiceIdCommand( TUint32 aServiceId ) = 0; |
|
488 |
||
489 |
/** |
|
490 |
* Gets ServiceId |
|
491 |
* @return ServiceId |
|
492 |
*/ |
|
493 |
virtual TUint32 ServiceId( const TInt aCallId ) const = 0; |
|
494 |
||
495 |
/** |
|
496 |
* Gets active forwarding information from TPEBasicInfo-structure |
|
497 |
* @return deflect information |
|
498 |
*/ |
|
499 |
virtual const TPEActiveForwardInfo& ActiveForwardingInfo() const = 0; |
|
500 |
||
501 |
/** |
|
502 |
* Gets barring information from TPEBasicInfo-structure |
|
503 |
* @return barring information |
|
504 |
*/ |
|
505 |
virtual const TPEBarringInfo& BarringInfo() const = 0; |
|
506 |
||
507 |
/** |
|
508 |
* Gets conference value from TPECallInfo-structure |
|
509 |
* @param aCallId is the call identification number |
|
510 |
* @return call conference value |
|
511 |
*/ |
|
512 |
virtual TInt CallConference( const TInt aCallId ) const = 0; |
|
513 |
||
514 |
/** |
|
515 |
* Gets call control caps from the TPECallInfo-structure |
|
516 |
* @param aCallId is the call identification number |
|
517 |
* @return call control capabilities |
|
518 |
*/ |
|
519 |
virtual TPECallControlCaps CallControlCaps( const TInt aCallId ) const = 0; |
|
520 |
||
521 |
/** |
|
522 |
* Gets forwarded value from TPECallInfo-structure |
|
523 |
* @param aCallId is the call identification number |
|
524 |
* @return is call forwarded or not |
|
525 |
*/ |
|
526 |
virtual TBool CallForwarded( const TInt aCallId ) const = 0; |
|
527 |
||
528 |
/** |
|
529 |
* Gets Service information from TPECallInfo-structure |
|
530 |
* @param aCallId is the call identification number. |
|
531 |
* @return mobile call service type |
|
532 |
*/ |
|
533 |
virtual RMobilePhone::TMobileService CallService( const TInt aCallId ) const = 0; |
|
534 |
||
535 |
/** |
|
536 |
* Gets Conference call capabilities |
|
537 |
* @param aCallId is the call identification number |
|
538 |
* @return conference call capabilities |
|
539 |
*/ |
|
540 |
virtual TUint32 ConferenceCallCaps( const TInt aCallId ) const = 0; |
|
541 |
||
542 |
/** |
|
543 |
* Gets Conference call capabilities |
|
544 |
* @param aCallId is the call identification number |
|
545 |
* @return conference call member name |
|
546 |
*/ |
|
547 |
virtual const TName& ConferenceMemberName( const TInt aCallId ) const = 0; |
|
548 |
||
549 |
/** |
|
550 |
* Gets Conference call capabilities |
|
551 |
* @param aCallId is the call identification number |
|
552 |
* @return conference call member id |
|
553 |
*/ |
|
554 |
virtual TInt IsConferenceMemberId( const TInt aCallId ) const = 0; |
|
555 |
||
556 |
/** |
|
557 |
* Gets emergency number to be checked for validity |
|
558 |
* @return emergency number to be checked for validity |
|
559 |
*/ |
|
560 |
virtual const TPEPhoneNumber& EmergencyNumber() const = 0; |
|
561 |
||
562 |
/** |
|
563 |
* Gets number of the conference members |
|
564 |
* @param aCallId is the call identification number |
|
565 |
* @return number of conference members |
|
566 |
*/ |
|
567 |
virtual TInt NumberOfConferenceMembers( const TInt aCallId ) const = 0; |
|
568 |
||
569 |
/** |
|
570 |
* Get remote end connected phone number |
|
571 |
* @param aCallId, call identification number |
|
572 |
* @return phone number |
|
573 |
*/ |
|
574 |
virtual const TPEPhoneNumber& RemoteColpNumber( |
|
575 |
const TInt aCallId ) const = 0; |
|
576 |
||
577 |
/** |
|
578 |
* Gets Sim state |
|
579 |
* @return current Sim state |
|
580 |
*/ |
|
581 |
virtual const TPESimState& SimState() const = 0; |
|
582 |
||
583 |
/** |
|
584 |
* Gets secure specified status |
|
585 |
* @return ETrue if secure specified |
|
586 |
*/ |
|
587 |
virtual TBool SecureSpecified( ) const = 0; |
|
588 |
||
589 |
/** |
|
590 |
* Gets the last suplementary services string command information |
|
591 |
* @return Suplementary Services command information. |
|
592 |
*/ |
|
593 |
virtual const TPESSCommandInfo& SSCommandInfo() const = 0; |
|
594 |
||
595 |
/** |
|
596 |
* Sets emergency numbers of the phone to TPEBasicInfo-structure |
|
597 |
* @param aEmergencyNumber for emergency number checking. |
|
598 |
* @return None. |
|
599 |
*/ |
|
600 |
virtual void SetEmergencyNumber( const TPEPhoneNumber& aEmergencyNumbers ) = 0; |
|
601 |
||
602 |
/** |
|
603 |
* Gets remote party name. Contains possible recieved CNAP name or |
|
604 |
* received skype identification |
|
605 |
* @param aCallId, Call identification number. |
|
606 |
* @return Name of the remote party detemined by network. |
|
607 |
*/ |
|
608 |
virtual const TPEContactName& RemotePartyName( const TInt aCallId ) const = 0; |
|
609 |
||
610 |
/** |
|
611 |
* Returns transfer target from the last received unattended transfer |
|
612 |
* request or KNullDesC if transfer target is not available. |
|
613 |
* |
|
614 |
* @return Transfer target. |
|
615 |
*/ |
|
616 |
virtual const TPEPhoneNumber& UnattendedTransferTarget( |
|
617 |
TInt aCallId ) const = 0; |
|
618 |
||
619 |
/** |
|
620 |
* Sets transfer target from the last received unattended transfer request. |
|
621 |
* |
|
622 |
* @param aTarget Transfer target to set. |
|
623 |
* @param aCallId Call identification number. |
|
624 |
*/ |
|
625 |
virtual void SetUnattendedTransferTarget( |
|
626 |
const TPEPhoneNumber& aTarget, TInt aCallId ) = 0; |
|
627 |
||
628 |
/** |
|
629 |
* Returns address choices from received call forward request |
|
630 |
* or NULL if addresses are not available. |
|
631 |
* |
|
632 |
* @param aCallId Call identification number. |
|
633 |
* @return Address array. |
|
634 |
*/ |
|
635 |
virtual const CDesC8Array* ForwardAddressChoices( TInt aCallId ) const = 0; |
|
636 |
||
637 |
/** |
|
638 |
* Sets address choices from received call forward request. |
|
639 |
* |
|
640 |
* @param aArray Address array. |
|
641 |
* @param aCallId Call identification number. |
|
642 |
*/ |
|
643 |
virtual void SetForwardAddressChoices( const CDesC8Array* aArray, |
|
644 |
TInt aCallId ) = 0; |
|
645 |
||
646 |
/** |
|
647 |
* Sets array index for user selected address. |
|
648 |
* |
|
649 |
* @param aIndex Array index for selected address. |
|
650 |
*/ |
|
651 |
virtual void SetForwardAddressIndex( TInt aIndex ) = 0; |
|
652 |
||
653 |
/** |
|
654 |
* Returns array index for user selected address. |
|
655 |
* Address is used for call forwarding. |
|
656 |
* |
|
657 |
* @return Array index for selected address. |
|
658 |
*/ |
|
659 |
virtual TInt ForwardAddressIndex() = 0; |
|
660 |
||
661 |
/** |
|
662 |
* Sets transfer target address for unattended transfer |
|
663 |
* @param aTransferTarget Target address for unattended transfer |
|
664 |
*/ |
|
665 |
virtual void SetTransferTargetCommand( const TPEPhoneNumber& aTransferTarget ) = 0; |
|
666 |
||
667 |
/** |
|
668 |
* Returns transfer target address |
|
669 |
* @return Transfer target address set with SetTransferTargetCommand |
|
670 |
*/ |
|
671 |
virtual const TPEPhoneNumber& TransferTargetCommand() const = 0; |
|
672 |
||
673 |
/** |
|
674 |
* Returns switch to operation status. |
|
675 |
*/ |
|
676 |
virtual TBool IsSwitchToOperationOngoing() const = 0; |
|
677 |
||
678 |
/** |
|
679 |
* Checks if given state can be found. |
|
680 |
* @param aCallState state to be checked. |
|
681 |
*/ |
|
682 |
virtual TBool CheckIfCallStateExists( const TPEState& aCallState )= 0; |
|
683 |
||
684 |
/** |
|
685 |
* Returns call origin for the call |
|
686 |
* @param aOrigin indicates if the call is phone, client or SAT originated |
|
687 |
*/ |
|
688 |
virtual TPECallOrigin CallOrigin( const TInt aCallId ) const = 0; |
|
689 |
||
690 |
/** |
|
691 |
* Returns Phonebook contact identifier. |
|
692 |
*/ |
|
693 |
virtual TInt ContactId2 () const = 0; |
|
45
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
694 |
|
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
695 |
/** |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
696 |
* Sets the protocol spesific error code |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
697 |
* @param aError is the error code from protocol. |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
698 |
* @return None. |
6b911d05207e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
699 |
*/ |
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
700 |
virtual void SetProtocolError( TInt aError, TInt aCallId ) = 0; |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
701 |
|
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
702 |
/** |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
703 |
* Returns the protocol spesific error code |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
704 |
* @return Error code. |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
705 |
*/ |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
706 |
virtual TInt ProtocolError( TInt aCallId ) = 0; |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
707 |
|
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
708 |
/** |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
709 |
* Returns flag if the outgoing barring is activated. |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
710 |
* @return ETrue if barring activated. |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
711 |
*/ |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
712 |
virtual TBool IsOutgoingCallBarringActivated() = 0; |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
713 |
|
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
714 |
/** |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
715 |
* Sets the flag if the outgoing barring is activated. |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
716 |
* @return ETrue if barring activated. |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
717 |
*/ |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
718 |
virtual void SetOutgoingCallBarringActivated( |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
719 |
TBool aActivated ) = 0; |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
720 |
|
37 | 721 |
}; // MPEEngineInfo |
722 |
||
723 |
#endif //MPEENGINEINFO_H |
|
724 |
||
725 |
// End of File |
|
726 |