128 const TSatCharacterSet aCharacterSet, |
127 const TSatCharacterSet aCharacterSet, |
129 unsigned int &aInkey, |
128 unsigned int &aInkey, |
130 //const TSatIconId &aIconId, |
129 //const TSatIconId &aIconId, |
131 const bool &aSelfExplanatory, |
130 const bool &aSelfExplanatory, |
132 unsigned int &aDuration, |
131 unsigned int &aDuration, |
133 const bool aImmediateDigitResponse ); |
132 const bool aImmediateDigitResponse); |
|
133 |
|
134 /** |
|
135 * Notification of the SAT Call Control command. |
|
136 * @param aRes The response. |
|
137 * @param aText The heading. |
|
138 * @param aAlphaIdStatus The alpha ID status. |
|
139 * |
|
140 */ |
|
141 void callControlEvent( |
|
142 const QString &aText, |
|
143 const TSatAlphaIdStatus aAlphaIdStatus); |
|
144 |
|
145 /** |
|
146 * Notification of the SAT Call Control command. |
|
147 * @param aRes The response. |
|
148 * @param aText The heading. |
|
149 * @param aAlphaIdStatus The alpha ID status. |
|
150 * |
|
151 */ |
|
152 void moSmControlEvent( |
|
153 const QString &aText, |
|
154 const TSatAlphaIdStatus aAlphaIdStatus); |
134 |
155 |
135 /** |
156 /** |
136 * Handles the SetUpMenu command. |
157 * Handles the SetUpMenu command. |
137 * @param aRes the out parameter. the result of the command. |
158 * @param aRes the out parameter. the result of the command. |
138 * @param aText The title text. |
159 * @param aText The title text. |
170 */ |
188 */ |
171 void selectItemEvent( |
189 void selectItemEvent( |
172 TSatUiResponse &aRes, |
190 TSatUiResponse &aRes, |
173 const QString &aText, |
191 const QString &aText, |
174 const QStringList &aMenuItems, |
192 const QStringList &aMenuItems, |
175 //const CArrayFixFlat<TSatAction>* aMenuItemNextActions, |
|
176 const int aDefaultItem, |
193 const int aDefaultItem, |
177 unsigned char &aSelection, |
194 unsigned char &aSelection, |
178 //const HbIcon &aIcon, |
|
179 //const CAknIconArray* aItemsIconArray, |
|
180 const bool aSelfExplanatoryItems, |
195 const bool aSelfExplanatoryItems, |
181 const bool aHelpIsAvailable); |
196 const bool aHelpIsAvailable); |
182 |
197 |
183 /** |
198 /** |
184 * Shows the confirmation note about the SAT Send SMS, Send SS or |
199 * Shows the confirmation note about the SAT Send SMS, Send SS or |
200 * @param aIconBitmapSendSM Sending dialog icon. |
215 * @param aIconBitmapSendSM Sending dialog icon. |
201 * @param aSelfExplanatoryIcon A flag indicating if only icon is shown. |
216 * @param aSelfExplanatoryIcon A flag indicating if only icon is shown. |
202 */ |
217 */ |
203 void showSmsWaitNoteEvent( |
218 void showSmsWaitNoteEvent( |
204 const QString &aText, |
219 const QString &aText, |
205 //const CFbsBitmap* aIconBitmapSendSM, |
220 const bool aSelfExplanatoryIcon); |
206 const bool aSelfExplanatoryIcon |
|
207 ); |
|
208 |
221 |
209 /** |
222 /** |
210 * Shows the confirmation not about SetUpCall. |
223 * Shows the confirmation not about SetUpCall. |
211 * @param aText The text to be displayed. |
224 * @param aText The text to be displayed. |
212 * @param aSimAppName The header to be displayed. |
225 * @param aSimAppName The header to be displayed. |
213 * @param aActionAccepted Indicates whether the command was accepted. |
226 * @param aActionAccepted Indicates whether the command was accepted. |
214 */ |
227 */ |
215 void showSetUpCallConfirmEvent( |
228 void showSetUpCallConfirmEvent( |
216 const QString &aText, |
229 const QString &aText, |
217 const QString &aSimAppName, |
230 const QString &aSimAppName, |
218 bool &aActionAccepted//, |
231 bool &aActionAccepted); |
219 //const CFbsBitmap* aIconBitmap, |
|
220 //const TBool aSelfExplanatory |
|
221 ); |
|
222 |
232 |
223 /** |
233 /** |
224 * Shows the wait note about the Send DTMF command. |
234 * Shows the wait note about the Send DTMF command. |
225 * @param aText The text to be displayed. |
235 * @param aText The text to be displayed. |
226 * @param aIconBitmapSendSM Sending dialog icon. |
236 * @param aIconBitmapSendSM Sending dialog icon. |
227 */ |
237 */ |
228 void showDtmfWaitNoteEvent( |
238 void showDtmfWaitNoteEvent( |
229 TSatUiResponse &aRes, |
239 TSatUiResponse &aRes, |
230 const QString &aText); |
240 const QString &aText); |
231 |
241 |
232 /** |
242 |
233 * Notification of the SAT Play Tone command. |
243 /** |
|
244 * Shows the wait note about the Send Ss or Ussd command. |
234 * @param aText The text to be displayed. |
245 * @param aText The text to be displayed. |
235 * @param aTone The tone to be played. |
246 * @param aIconBitmapSendSM Sending dialog icon. |
236 * @param aDuration The duration of the tone to be played. |
247 * @param aSelfExplanatoryIcon A flag indicating if only icon is shown. |
237 * @param aIconId The id of icon. |
248 */ |
238 * @param aRequestedIconDisplayed Informs if icon is not used. |
249 void showSsWaitNoteEvent( |
239 * @return The response of the UI to this command. |
250 const QString &aText, |
240 */ |
251 const bool aSelfExplanatoryIcon); |
241 // virtual TSatUiResponse PlayTone( |
252 |
242 // const TDesC &aText, |
253 /** |
243 // const TSatTone aTone, |
254 * Shows the wait note about Open Channel |
244 // const TTimeIntervalMicroSeconds aDuration, |
|
245 // const TSatIconId &aIconId, |
|
246 // TBool &aRequestedIconDisplayed ) = 0; |
|
247 |
|
248 /** |
|
249 * General confirmation request |
|
250 * @param aCommandId ID of the quering command |
|
251 * @param aAlphaIdStatus Alpha Identifier status |
|
252 * @param aText The text to be displayed. |
255 * @param aText The text to be displayed. |
253 * @param aAdditionalText Additional text to be used in queries. |
|
254 * @param aActionAccepted Indicates whether the command was accepted. |
256 * @param aActionAccepted Indicates whether the command was accepted. |
255 * @param aIconId The id of icon. |
257 */ |
256 * @param aRequestedIconDisplayed Informs if icon is not used. |
258 void showOpenChannelConfirmEvent( |
257 * @param aTerminatedByUser Informs if end key is used. |
259 const QString &aText, |
258 */ |
260 bool &aActionAccepted); |
259 // virtual void ConfirmCommand( |
261 |
260 // const TSatSQueryCommand aCommandId, |
|
261 // const TSatAlphaIdStatus aAlphaIdStatus, |
|
262 // const TDesC &aText, |
|
263 // const TDesC &aAdditionalText, |
|
264 // TBool &aActionAccepted, |
|
265 // const TSatIconId &aIconId, |
|
266 // TBool &aRequestedIconDisplayed, |
|
267 // TBool &aTerminatedByUser ) = 0; |
|
268 |
|
269 /** |
|
270 * General notification |
|
271 * @param aCommandId ID of the notifying command |
|
272 * @param aAlphaIdStatus Alpha Identifier status |
|
273 * @param aText Alpha Identifier |
|
274 * @param aIconId The id of icon. |
|
275 * @param aRequestedIconDisplayed Informs if icon is not used. |
|
276 * @param aControlResult Control result of the MoSm and CallControl |
|
277 * @return The response of the UI to this command. |
|
278 */ |
|
279 // virtual TSatUiResponse Notification( |
|
280 // const TSatSNotifyCommand aCommandId, |
|
281 // const TSatAlphaIdStatus aAlphaIdStatus, |
|
282 // const TDesC &aText, |
|
283 // const TSatIconId &aIconId, |
|
284 // TBool &aRequestedIconDisplayed, |
|
285 // const TSatControlResult aControlResult ) = 0; |
|
286 |
|
287 /** |
|
288 * General event notification. Used for example to tell UI that command |
|
289 * has completed its execution. |
|
290 * @param aEventId, identifies the event |
|
291 * @param aEventStatus, status of the event, used as additional info for |
|
292 * the event |
|
293 * @param aError, possible error code that may affect on event handling. |
|
294 * This is also used as additional info |
|
295 */ |
|
296 // virtual void EventNotification( |
|
297 // const TSatSEvent aEventId, |
|
298 // const TSatSEventStatus aEventStatus, |
|
299 // const TInt aError ) = 0; |
|
300 |
262 |
301 /*! |
263 /*! |
302 Removes Display Text Dialog from the screen. |
264 Removes Display Text Dialog from the screen. |
303 */ |
265 */ |
304 void clearScreenEvent(); |
266 void clearScreenEvent(); |
369 * @param aItemsIconArray Array of item icons |
344 * @param aItemsIconArray Array of item icons |
370 * @param aSelfExplanatoryItems Flag indicating if only icons are shown. |
345 * @param aSelfExplanatoryItems Flag indicating if only icons are shown. |
371 * @param aHelpIsAvailable A flag indicating if SAT help is available. |
346 * @param aHelpIsAvailable A flag indicating if SAT help is available. |
372 * @return Information of the operation result. |
347 * @return Information of the operation result. |
373 */ |
348 */ |
374 virtual TSatUiResponse SelectItemL( const TDesC &aText, |
349 virtual TSatUiResponse SelectItemL(const TDesC &aText, |
375 const MDesCArray &aMenuItems, |
350 const MDesCArray &aMenuItems, |
376 const CArrayFixFlat<TSatAction>* aMenuItemNextActions, |
351 const CArrayFixFlat<TSatAction>* aMenuItemNextActions, |
377 const TInt aDefaultItem, |
352 const TInt aDefaultItem, |
378 TUint8 &aSelection, |
353 TUint8 &aSelection, |
379 const CFbsBitmap* aIconBitmap, |
354 const CFbsBitmap *aIconBitmap, |
380 //const CAknIconArray* aItemsIconArray, |
|
381 const TBool aSelfExplanatoryItems, |
355 const TBool aSelfExplanatoryItems, |
382 const TBool aHelpIsAvailable ); |
356 const TBool aHelpIsAvailable); |
383 |
|
384 public: // from MSatUiActionImplementer and impletment by Symbian |
|
385 |
357 |
386 /** |
358 /** |
387 * Returns CoeEnv. |
359 * Returns CoeEnv. |
388 */ |
360 */ |
389 virtual CCoeEnv* CoeEnv() { return 0; }; |
361 virtual CCoeEnv* CoeEnv() { return 0; }; |
500 * @param aIconBitmapSendSM Sending dialog icon. |
469 * @param aIconBitmapSendSM Sending dialog icon. |
501 * @param aSelfExplanatoryIcon A flag indicating if only icon is shown. |
470 * @param aSelfExplanatoryIcon A flag indicating if only icon is shown. |
502 */ |
471 */ |
503 virtual void ShowSmsWaitNoteL( |
472 virtual void ShowSmsWaitNoteL( |
504 const TDesC &aText, |
473 const TDesC &aText, |
505 const CFbsBitmap* aIconBitmapSendSM, |
474 const CFbsBitmap *aIconBitmapSendSM, |
506 const TBool aSelfExplanatoryIcon); |
475 const TBool aSelfExplanatoryIcon); |
507 |
476 |
508 /** |
477 /** |
509 * Shows the wait note about the Send SS command. |
478 * Shows the wait note about the Send SS command. |
510 * @param aText The text to be displayed. |
479 * @param aText The text to be displayed. |
511 * @param aIconBitmap Sending dialog icon. |
480 * @param aIconBitmap Sending dialog icon. |
512 * @param aSelfExplanatoryIcon A flag indicating if only icon is shown. |
481 * @param aSelfExplanatoryIcon A flag indicating if only icon is shown. |
513 */ |
482 */ |
514 virtual void ShowSsWaitNoteL( |
483 virtual void ShowSsWaitNoteL( |
515 const TDesC &/*aText*/, |
484 const TDesC &aText, |
516 const CFbsBitmap* /*aIconBitmap*/, |
485 const CFbsBitmap */*aIconBitmap*/, |
517 const TBool /*aSelfExplanatoryIcon*/ ) {}; |
486 const TBool aSelfExplanatoryIcon); |
518 |
487 |
519 /** |
488 /** |
520 * Shows the confirmation note about the SAT Refresh command. |
489 * Shows the confirmation note about the SAT Refresh command. |
521 * @param aActionAccepted Indicates whether the command was accepted. |
490 * @param aActionAccepted Indicates whether the command was accepted. |
522 * @return Information of the operation result. |
491 * @return Information of the operation result. |
549 * @param aSelfExplanatory Flag indicating if icon is self-explanatory. |
515 * @param aSelfExplanatory Flag indicating if icon is self-explanatory. |
550 */ |
516 */ |
551 virtual void ConfirmLaunchBrowserL( |
517 virtual void ConfirmLaunchBrowserL( |
552 const TDesC &/*aText*/, |
518 const TDesC &/*aText*/, |
553 TBool &/*aActionAccepted*/, |
519 TBool &/*aActionAccepted*/, |
554 const CFbsBitmap* /*aIconBitmap*/, |
520 const CFbsBitmap */*aIconBitmap*/, |
555 const TBool /*aSelfExplanatory*/) {}; |
521 const TBool /*aSelfExplanatory*/) {}; |
556 |
522 |
557 /** |
523 /** |
558 * Notification of the SAT Mo Sm Control command. |
524 * Notification of the SAT Mo Sm Control command. |
559 * @param aText The text string to be displayed. |
525 * @param aText The text string to be displayed. |
560 * @param aAlphaIdStatus Alpha Identifier status |
526 * @param aAlphaIdStatus Alpha Identifier status |
561 * @param aControlResult Mo Sm control general result |
527 * @param aControlResult Mo Sm control general result |
562 * @return The response from the UI |
528 * @return The response from the UI |
563 */ |
529 */ |
564 virtual TSatUiResponse MoSmControlL( |
530 virtual TSatUiResponse MoSmControlL( |
565 const TDesC &/*aText*/, |
531 const TDesC &aText, |
566 const TSatAlphaIdStatus /*aAlphaIdStatus*/ ) |
532 const TSatAlphaIdStatus aAlphaIdStatus); |
567 { |
|
568 return ESatSuccess; |
|
569 }; |
|
570 |
533 |
571 /** |
534 /** |
572 * Shows the wait note while DTMF are being sent. |
535 * Shows the wait note while DTMF are being sent. |
573 * @param aText The text to be displayed. |
536 * @param aText The text to be displayed. |
574 * @param aIconBitmap The confirm note icon |
537 * @param aIconBitmap The confirm note icon |
575 * @param aSelfExplanatory Flag indicating if icon is self-explanatory. |
538 * @param aSelfExplanatory Flag indicating if icon is self-explanatory. |
576 * @return Information on the operation result. |
539 * @return Information on the operation result. |
577 */ |
540 */ |
578 virtual TSatUiResponse ShowDtmfWaitNoteL( |
541 virtual TSatUiResponse ShowDtmfWaitNoteL( |
579 const TDesC &aText, |
542 const TDesC &aText, |
580 const CFbsBitmap* aIconBitmap, |
543 const CFbsBitmap *aIconBitmap, |
581 const TBool aSelfExplanatoryIcon ); |
544 const TBool aSelfExplanatoryIcon); |
582 |
545 |
583 /** |
546 /** |
584 * Dispatch iWait to action implementer. |
547 * Dispatch iWait to action implementer. |
585 * @param aWait Timer. |
548 * @param aWait Timer. |
586 */ |
549 */ |
587 virtual void DispatchTimer(CActiveSchedulerWait &/*aWait*/) {}; |
550 virtual void DispatchTimer(CActiveSchedulerWait &/*aWait*/) {}; |
588 |
551 |
589 /** |
552 /** |
590 * Get flag which is indicating if end key is pressed. |
553 * Get flag which is indicating if end key is pressed. |
591 * @return A Boolean flag which is indicating if end key is pressed. |
554 * @return A Boolean flag which is indicating if end key is pressed. |
592 */ |
555 * EndKey not support, Open issue |
593 virtual TBool GetEndKey() |
556 */ |
594 { |
557 virtual TBool GetEndKey(){return EFalse;}; |
595 return EFalse; |
|
596 }; |
|
597 |
558 |
598 /** |
559 /** |
599 * Set a flag which is indicating if end key is pressed. |
560 * Set a flag which is indicating if end key is pressed. |
600 * @param aValue Status of end key |
561 * @param aValue Status of end key |
601 */ |
562 */ |
615 * @param aIconBitmap The tone playing note icon |
576 * @param aIconBitmap The tone playing note icon |
616 * @param aSelfExplanatory Flag indicating if icon is self-explanatory. |
577 * @param aSelfExplanatory Flag indicating if icon is self-explanatory. |
617 * @return Information on the operation result. |
578 * @return Information on the operation result. |
618 */ |
579 */ |
619 virtual TSatUiResponse PlayUserSelectedToneL( |
580 virtual TSatUiResponse PlayUserSelectedToneL( |
620 const TDesC &/*aText*/, |
581 const TDesC &aText, |
621 TTimeIntervalMicroSeconds /*aDuration*/, |
582 TTimeIntervalMicroSeconds aDuration, |
622 TSatTone /*aTone*/, |
583 TSatTone aTone, |
623 const CFbsBitmap* /*aIconBitmap*/, |
584 const CFbsBitmap *aIconBitmap, |
624 const TBool /*aSelfExplanatory*/ ) |
585 const TBool aSelfExplanatory); |
625 { |
|
626 return ESatSuccess; |
|
627 }; |
|
628 |
586 |
629 /** |
587 /** |
630 * Confirm user permission for Open Channel. |
588 * Confirm user permission for Open Channel. |
631 * @param aText The text to be displayed. |
589 * @param aText The text to be displayed. |
632 * @param aActionAccepted Indicates whether the command was accepted. |
590 * @param aActionAccepted Indicates whether the command was accepted. |
633 * @param aIconBitmapOpenChannel Icon for query dialog |
591 * @param aIconBitmapOpenChannel Icon for query dialog |
634 * @param aSelfExplanatory A flag indicating if icon is self-explanatory |
592 * @param aSelfExplanatory A flag indicating if icon is self-explanatory |
635 * @return Operation result |
593 * @return Operation result |
636 */ |
594 */ |
637 virtual TSatUiResponse ConfirmOpenChannelL( |
595 virtual TSatUiResponse ConfirmOpenChannelL( |
638 const TDesC &/*aText*/, |
596 const TDesC &aText, |
639 TBool &/*aActionAccepted*/, |
597 TBool &aActionAccepted, |
640 const CFbsBitmap* /*aIconBitmapOpenChannel*/, |
598 const CFbsBitmap */*aIconBitmapOpenChannel*/, |
641 const TBool /*aSelfExplanatory*/ ) |
599 const TBool aSelfExplanatory); |
642 { |
|
643 return ESatSuccess; |
|
644 }; |
|
645 |
600 |
646 /** |
601 /** |
647 * Shows the wait note while BIP packets are sent. |
602 * Shows the wait note while BIP packets are sent. |
648 * @param aCommand Command type. |
603 * @param aCommand Command type. |
649 * @param aText The text to be displayed. |
604 * @param aText The text to be displayed. |
650 * @param aIconBitmap Icon for query dialog |
605 * @param aIconBitmap Icon for query dialog |
651 * @param aSelfExplanatory A flag indicating if icon is self-explanatory |
606 * @param aSelfExplanatory A flag indicating if icon is self-explanatory |
652 */ |
607 */ |
653 virtual void ShowBIPNoteL( |
608 virtual void ShowBIPNoteL( |
654 TInt /*aCommand*/, |
609 TInt aCommand, |
655 const TDesC &/*aText*/, |
610 const TDesC &aText, |
656 const CFbsBitmap* /*aIconBitmap*/, |
611 const CFbsBitmap */*aIconBitmap*/, |
657 const TBool /*aSelfExplanatory*/) {}; |
612 const TBool /*aSelfExplanatory*/); |
658 |
613 |
659 /** |
614 /** |
660 * Confirm user permission for SetUpCall |
615 * Confirm user permission for SetUpCall |
661 * @param aText The text to be displayed. |
616 * @param aText The text to be displayed. |
662 * @param aSimAppName Header for th equery |
617 * @param aSimAppName Header for th equery |