comparison src/aci2/bmi/ATBWapAUI.h @ 3:93999a60b835

src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 00:29:36 +0000
parents
children
comparison
equal deleted inserted replaced
2:c41a534f33c6 3:93999a60b835
1 /*******************************************************************************
2
3 CONDAT (UK)
4
5 ********************************************************************************
6
7 This software product is the property of Condat (UK) Ltd and may not be
8 disclosed to any third party without the express permission of the owner.
9
10 ********************************************************************************
11
12 $Project name:
13 $Project code:
14 $Module:
15 $File: ATBWapAUI.h
16 $Revision:
17
18 $Author: Condat(UK)
19 $Date:
20
21 ********************************************************************************
22
23 Description:
24 Contains definitions and prototypes for the ATB.
25
26
27 ********************************************************************************
28
29 $History: ATBWapAUI.h
30
31 xreddymn Jun-29-2005 MMI-ENH-32467:
32 Handling of animated GIF images
33
34
35 xrashmic 29 Jun, 2005 MMI-SPR-32462
36 Patch given by Kyle for display of table border
37
38 Apr 28 2005 REF: MMI-SPR-30400 x0012849
39 To display the contents of Drop down menu correctly when a page is browsed through D sample.
40
41 xreddymn Mar-25-2005 MMI-SPR-26144
42 Added changes to display progress information when sending MMS
43
44 xreddymn Mar-22-2005 MMI-SPR-29767
45 Modified behaviour of SL push message handling in MMI
46
47 xreddymn Mar-25-2005 MMI-SPR-26144
48 Added changes to display progress information when sending MMS
49
50 Dec 22, 2004 REF: CRR MFW-SPR-27847 xnkulkar
51 Description: MFW memory size variable changed from U16 -> U32
52 Solution: The use of variable U16 has been replaced with U32
53
54 Dec-10-2003 MMI-SPR-26159 - xreddymn: Prevent duplicate entries in History List
55
56 14/05/2003 - SPR#1983 - SH - Updated to latest from 1.6.3 version.
57
58 $End
59
60 *******************************************************************************/
61 #include "MmiResources.h"
62
63 //#define CO_UDP_IP temp till xml file ready
64
65 /* FUNCTIONS FOR TRACING */
66
67 #if defined(TRACE_ATBWAPAUI) || defined(TRACE_ATBWAPACI)
68 void ATB_trace_string(char *String, USHORT length);
69 void ATB_trace_ushort_string(USHORT *String, USHORT length);
70 #endif
71
72 /* SPR#1437 - SH - All display constants stored here, except checkbox sizes
73 * which are in wap_types.h */
74
75 #define WAP_CHAR_HEIGHT (LINE_HEIGHT) /* Height of a line of text */
76 #define WAP_CHAR_WIDTH (CHAR_WIDTH) /* Width of a character */
77 #define WAP_TOTAL_WIDTH SCREEN_SIZE_X /* Total width of screen */
78 #define WAP_TOTAL_HEIGHT SCREEN_SIZE_Y /* Total height of screen */
79 #define WAP_LEFT_BORDER 0 /* Border at left of screen */
80 #define WAP_RIGHT_BORDER 4 /* Border at right of screen */
81 #define WAP_TOP_BORDER (Mmi_layout_TitleHeight()) /* Border at top of screen (title) */
82 #define WAP_BOTTOM_BORDER (Mmi_layout_softkeyHeight()) /* Border at bottom of screen (softkeys) */
83 #define WAP_SCREEN_RIGHT (WAP_TOTAL_WIDTH - WAP_RIGHT_BORDER)
84 #define WAP_SCREEN_BOTTOM (WAP_TOTAL_HEIGHT - WAP_BOTTOM_BORDER)
85 #define WAP_SCREEN_WIDTH (WAP_TOTAL_WIDTH - WAP_LEFT_BORDER - WAP_RIGHT_BORDER) /* No of pixels available to the wap browser in width... */
86 #define WAP_SCREEN_HEIGHT (WAP_TOTAL_HEIGHT - WAP_TOP_BORDER - WAP_BOTTOM_BORDER) /* and height (not including title & softkeys) */
87 #define WAP_PAGE_SCROLL (WAP_SCREEN_HEIGHT-WAP_CHAR_HEIGHT) /* Long scrolling size */
88 #define WAP_TEXT_LOWEST (WAP_SCREEN_HEIGHT-WAP_CHAR_HEIGHT) /* Lowest point we can draw text */
89 #define WAP_VSCROLLBAR_WIDTH 3 /* Total width of the vertical scrollbar */
90 #define WAP_HSCROLLBAR_WIDTH 4 /* Total width of the horizontal scrollbar */
91 #define WAP_SOFTKEY_SPACING 2 /* Minimum spacing between softkey texts */
92 #define WAP_SOFTKEY_MIN_LENGTH 5 /* Minimum length for softkey text (including two dots for truncated strings) */
93
94 /*******************************************************************************
95
96 $Function: ATB_wap_start
97
98 $Description: Starts the WAP application
99
100 $Returns:
101
102 $Arguments: parameter - a dummy parameter
103
104 *******************************************************************************/
105
106 #ifdef CO_UDP_IP
107 void ATB_wap_start(T_MMI_WAP_START_IND *parameter);
108 #else
109 void ATB_wap_start(T_MMI_WAP_START_USER_AGENT_REQ *parameter);
110 #endif
111
112
113
114 /*******************************************************************************
115
116 $Function: ATB_wap_new_view
117
118 $Description: Starts a new view, defining the graphical size of the screen to
119 be handled.
120
121 $Returns: Pointer to the data structure of the new view
122
123 $Arguments: parameter - width and height of the WAP view
124 UIdata - Optional generic pointer, for use by the user
125 interface. This can point to window information, etc,
126 but is not used by ATB.
127
128 *******************************************************************************/
129 T_WAP_VIEW* ATB_wap_new_view(T_MMI_WAP_NEW_VIEW_IND *parameter, void* UIdata);
130 #ifdef FF_GPF_TCPIP
131 T_WAP_VIEW* ATB_wap_new_view_invisible(UBYTE object_id); /* SPR#2086 */
132 #endif
133
134 /*******************************************************************************
135
136 $Function: ATB_wap_get_view
137
138 $Description: Returns a pointer to a view, given its object_id
139
140 $Returns: Pointer to the data structure of the specified view
141
142 $Arguments: object_id - the id of the view
143
144 *******************************************************************************/
145
146 T_WAP_VIEW* ATB_wap_get_view(UBYTE object_id);
147
148
149 /*******************************************************************************
150
151 $Function: ATB_wap_terminate
152
153 $Description: Closes the WAP application and frees all the memory allocated
154
155 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
156
157 $Arguments:
158
159 *******************************************************************************/
160 // Dec 22, 2004 REF: CRR MFW-SPR-27847 xnkulkar
161 // Description: MFW memory size variable changed from U16 -> U32
162 // Solution: The use of variable U16 has been replaced with U32
163
164 T_WAP_RES ATB_wap_terminate();
165 T_WAP_RES ATB_wap_config_int(T_WAP_VIEW *View, USHORT param, U32 value);
166 T_WAP_RES ATB_wap_config_str(T_WAP_VIEW *View, USHORT param, char *string, U32 length);
167 T_WAP_RES ATB_wap_conn_config_int(T_WAP_VIEW *View, USHORT param, U32 value);
168 T_WAP_RES ATB_wap_conn_config_str(T_WAP_VIEW *View, USHORT param, char *string, U32 length);
169
170 #ifdef FF_GPF_TCPIP
171 /*******************************************************************************
172
173 $Function: ATB_wap_config_int
174
175 $Description: SPR#1921 - SH - Added
176 Sends integer configuration information to the browser
177
178 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
179
180 $Arguments: View - The current view
181 param - ID of the configuration
182 value - Integer value of the configuration
183
184 *******************************************************************************/
185 // Dec 22, 2004 REF: CRR MFW-SPR-27847 xnkulkar
186 // Description: MFW memory size variable changed from U16 -> U32
187 // Solution: The use of variable U16 has been replaced with U32
188
189 T_WAP_RES ATB_wap_config_int(T_WAP_VIEW *View, USHORT param, U32 value);
190
191
192 /*******************************************************************************
193
194 $Function: ATB_wap_config_str
195
196 $Description: SPR#1921 - SH - Added
197 Sends string configuration information to the browser
198
199 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
200
201 $Arguments: View - The current view
202 param - ID of the configuration
203 value - Integer value of the configuration
204 string - String value of the configuration
205 length - Length of the string value
206
207 *******************************************************************************/
208 // Dec 22, 2004 REF: CRR MFW-SPR-27847 xnkulkar
209 // Description: MFW memory size variable changed from U16 -> U32
210 // Solution: The use of variable U16 has been replaced with U32
211
212 T_WAP_RES ATB_wap_config_str(T_WAP_VIEW *View, USHORT param, char *string, U32 length);
213
214
215 /*******************************************************************************
216
217 $Function: ATB_wap_conn_config_int
218
219 $Description: SPR#1921 - SH - Added
220 Sends integer configuration information to the browser
221
222 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
223
224 $Arguments: View - The current view
225 param - ID of the configuration
226 value - Integer value of the configuration
227
228 *******************************************************************************/
229 // Dec 22, 2004 REF: CRR MFW-SPR-27847 xnkulkar
230 // Description: MFW memory size variable changed from U16 -> U32
231 // Solution: The use of variable U16 has been replaced with U32
232
233 T_WAP_RES ATB_wap_conn_config_int(T_WAP_VIEW *View, USHORT param, U32 value);
234
235
236 /*******************************************************************************
237
238 $Function: ATB_wap_conn_config_str
239
240 $Description: SPR#1921 - SH - Added
241 Sends string configuration information to the browser
242
243 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
244
245 $Arguments: View - The current view
246 param - ID of the configuration
247 value - Integer value of the configuration
248 string - String value of the configuration
249 length - Length of the string value
250
251 *******************************************************************************/
252 // Dec 22, 2004 REF: CRR MFW-SPR-27847 xnkulkar
253 // Description: MFW memory size variable changed from U16 -> U32
254 // Solution: The use of variable U16 has been replaced with U32
255
256 T_WAP_RES ATB_wap_conn_config_str(T_WAP_VIEW *View, USHORT param, char *string, U32 length);
257
258
259 /*******************************************************************************
260
261 $Function: ATB_wap_destroy
262
263 $Description: Destroys the wap application, including all views (calls ATB_wap_terminate)
264
265 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
266
267 $Arguments:
268
269
270 *******************************************************************************/
271 #endif
272 T_WAP_RES ATB_wap_destroy();
273
274
275 /*******************************************************************************
276
277 $Function: ATB_wap_UIdata
278
279 $Description: Returns the UI pointer, for use by AUI
280
281 $Returns: The void pointer
282
283 $Arguments:
284
285
286 *******************************************************************************/
287
288 void *ATB_wap_UIdata();
289 T_WAP_RES ATB_wap_download_url(T_WAP_VIEW *View, char *URL, BOOL reload);
290
291
292 /*******************************************************************************
293
294 $Function: ATB_wap_stop_download
295
296 $Description: Requests the WAP browser to stop downloading a particular URL
297
298 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
299
300 $Arguments: View - the current view
301
302 *******************************************************************************/
303
304 T_WAP_RES ATB_wap_stop_download(T_WAP_VIEW *View);
305
306
307 /*******************************************************************************
308
309 $Function: ATB_wap_card_refresh
310
311 $Description: Requests the WAP browser to refresh the current card from the network
312
313 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
314
315 $Arguments:
316
317 *******************************************************************************/
318
319 T_WAP_RES ATB_wap_card_refresh(T_WAP_VIEW *View);
320
321
322 /*******************************************************************************
323
324 $Function: ATB_wap_card_display
325
326 $Description: Requests the WAP browser to redisplay a card held in the cache
327
328 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
329
330 $Arguments: View - the current view
331
332 *******************************************************************************/
333
334 T_WAP_RES ATB_wap_card_display(T_WAP_VIEW *View);
335
336
337 /*******************************************************************************
338
339 $Function: ATB_wap_card_go_back
340
341 $Description: Requests the WAP browser to go to the previous card
342
343 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
344
345 $Arguments: View - the current view
346
347 *******************************************************************************/
348
349 T_WAP_RES ATB_wap_card_go_back(T_WAP_VIEW *View);
350
351
352 /*******************************************************************************
353
354 $Function: ATB_wap_card_key_event
355
356 $Description: Requests the WAP browser react to a key event, up/down etc.
357
358 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
359
360 $Arguments: View - the current view
361
362 *******************************************************************************/
363
364 T_WAP_RES ATB_wap_card_key_event(T_WAP_VIEW *View, WAP_CONTROL_TYPES keyType);
365
366
367 /*******************************************************************************
368
369 $Function: ATB_wap_key_selected
370
371 $Description: Send the id of the selected WAP key to the AUS browser.
372
373 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
374
375 $Arguments: View - the current view
376 keyId - Key identifier
377
378 *******************************************************************************/
379
380 T_WAP_RES ATB_wap_key_selected(T_WAP_VIEW *View, USHORT keyId);
381
382
383 /*******************************************************************************
384
385 $Function: ATB_wap_card scroll
386
387 $Description: Scroll to a y position on the current card
388
389 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
390
391 $Arguments: scrollPos - Y position on card to which to scroll
392
393 *******************************************************************************/
394
395 T_WAP_RES ATB_wap_card_scroll(T_WAP_VIEW *View, SHORT scrollPos);
396
397
398 #ifdef FF_GPF_TCPIP
399 /*******************************************************************************
400
401 $Function: AUI_wap_input_dialog_open
402
403 $Description: Prompts the MMI to open an input dialog given a particular format and
404 string.
405
406 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
407
408 $Arguments: Dialog - Dialog information
409 View - The current view
410
411 *******************************************************************************/
412
413 T_WAP_RES AUI_wap_input_dialog_open(T_WAP_MMI_INPUT_DIALOG_REQ *Dialog, T_WAP_VIEW *View);
414 #endif
415
416 /*******************************************************************************
417
418 $Function: ATB_wap_input_dialog_closed
419
420 $Description: Provides the answer of an input dialog.
421
422 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
423
424 $Arguments:
425 DialogCnf - Dialog confirmation information
426
427 *******************************************************************************/
428
429
430 T_WAP_RES ATB_wap_input_dialog_closed(T_MMI_WAP_INPUT_DIALOG_CNF *DialogCnf);
431
432
433 #ifdef FF_GPF_TCPIP
434 /*******************************************************************************
435
436 $Function: AUI_wap_password_dialog_open
437
438 $Description: Prompts the MMI to open a password dialog.
439
440 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
441
442 $Arguments:
443 Dialog - Dialog information
444
445 *******************************************************************************/
446
447 T_WAP_RES AUI_wap_password_dialog_open(T_WAP_MMI_PASSWORD_DIALOG_REQ *Dialog, T_WAP_VIEW *View);
448 #endif
449
450 /*******************************************************************************
451
452 $Function: ATB_wap_password_dialog_closed
453
454 $Description: Provides the answer of a password dialog.
455
456 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
457
458 $Arguments:
459 DialogCnf - Dialog confirmation information
460
461 *******************************************************************************/
462
463 T_WAP_RES ATB_wap_password_dialog_closed(T_MMI_WAP_PASSWORD_DIALOG_CNF *DialogCnf);
464
465
466 #ifdef FF_GPF_TCPIP
467 /*******************************************************************************
468
469 $Function: AUI_wap_confirm_dialog_open
470
471 $Description: Prompts the MMI to open a confirmation dialog.
472
473 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
474
475 $Arguments:
476 Dialog - Dialog information
477
478 *******************************************************************************/
479
480 T_WAP_RES AUI_wap_confirm_dialog_open(T_WAP_MMI_CONFIRM_DIALOG_REQ *Dialog, T_WAP_VIEW *View);
481 #endif
482
483 /*******************************************************************************
484
485 $Function: ATB_wap_confirm_dialog_closed
486
487 $Description: Provides the answer of a confirmation dialog.
488
489 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
490
491 $Arguments:
492 DialogCnf - Dialog confirmation information
493
494 *******************************************************************************/
495
496 T_WAP_RES ATB_wap_confirm_dialog_closed(T_MMI_WAP_CONFIRM_DIALOG_CNF *DialogCnf);
497
498
499 #ifdef FF_GPF_TCPIP
500 /*******************************************************************************
501
502 $Function: AUI_wap_info_dialog_open
503
504 $Description: Prompts the MMI to open an info dialog.
505
506 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
507
508 $Arguments:
509 Dialog - Dialog information
510
511 *******************************************************************************/
512
513 T_WAP_RES AUI_wap_info_dialog_open(T_WAP_MMI_INFO_DIALOG_REQ *Dialog, T_WAP_VIEW *View);
514 #endif
515
516 /*******************************************************************************
517
518 $Function: ATB_wap_info_dialog_closed
519
520 $Description: Provides the answer of an info dialog.
521
522 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
523
524 $Arguments:
525 DialogCnf - Dialog confirmation information
526
527 *******************************************************************************/
528
529 T_WAP_RES ATB_wap_info_dialog_closed(T_MMI_WAP_INFO_DIALOG_CNF *DialogCnf);
530
531
532 /*******************************************************************************
533
534 $Function: ATB_wap_update_display_cnf
535
536 $Description: The WAP AUI will ask the ATB to finally display the card.
537
538 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
539
540 $Arguments:
541
542 *******************************************************************************/
543
544 T_WAP_RES ATB_wap_update_display_cnf();
545
546 #ifdef FF_GPF_TCPIP
547 /*******************************************************************************
548
549 $Function: AUI_wap_options_menu_open
550
551 $Description: The ATB will send to the AUI the contents of the menu list
552
553 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
554
555 $Arguments: contextType - the context, to specify the first item in the menu
556
557 *******************************************************************************/
558
559 T_WAP_RES AUI_wap_options_menu_open(UBYTE contextType);
560
561
562 /*******************************************************************************
563
564 $Function: AUI_wap_options_menu_select
565
566 $Description: The AUI will notify to the WAP.ATB the id of the selected item
567
568 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
569
570 $Arguments:
571
572 *******************************************************************************/
573
574 T_WAP_RES AUI_wap_options_menu_select();
575 #endif
576
577 /*******************************************************************************
578
579 $Function: ATB_wap_options_menu_select
580
581 $Description: The AUI will notify to the WAP.ATB the id of the selected item
582
583 $Returns: WAP_OK if successful, WAP_FAIL if otherwise
584
585 $Arguments: View - the current view
586
587 *******************************************************************************/
588
589 T_WAP_RES ATB_wap_options_menu_select(T_WAP_VIEW *View);
590
591
592 /*******************************************************************************
593
594 $Function: ATB_wap_buffer_add_element
595
596 $Description: Add a new element to the element chain
597
598 $Returns: Pointer to the element
599
600 $Arguments: SPR#1721 - SH - Modified parameters slightly
601 View - the current view
602 type - the type of element (text, fieldset, image)
603
604 *******************************************************************************/
605
606 T_WAP_ELEMENT * ATB_wap_buffer_add_element(T_WAP_VIEW *View, WAP_ELEMENT_TYPE type);
607
608
609 /*******************************************************************************
610
611 $Function: ATB_wap_buffer_display
612
613 $Description: Displays the card from the buffer
614
615 $Returns:
616
617 $Arguments: View - the current view
618
619 *******************************************************************************/
620
621 void ATB_wap_buffer_display(T_WAP_VIEW *View);
622
623 #ifdef FF_GPF_TCPIP
624 /*******************************************************************************
625
626 $Function: ATB_wap_buffer_image_display
627
628 $Description: Trims an image to fit into the specified space, then displays it
629
630 $Returns:
631
632 $Arguments: View - pointer to the appropriate view
633
634 *******************************************************************************/
635
636 void ATB_wap_buffer_image_display(T_WAP_MMI_SEND_IMAGE_IND *image);
637
638
639 /*******************************************************************************
640
641 $Function: ATB_wap_buffer_text_draw
642
643 $Description: Draws text
644
645 $Returns:
646
647 $Arguments: pX, pY - position of text
648 pWidth, pHeight - dimensions of text
649 text_length - length of text
650 Text - text itself
651 type - type of text
652 invert - TRUE if text is highlighted
653 format - format of text
654 selected - TRUE if option is selected
655 is_link - TRUE if text is a link
656
657 *******************************************************************************/
658
659 void ATB_wap_buffer_text_draw(T_WAP_MMI_SEND_TEXT_IND *parameter);
660
661 //kyle 29 Jun, 2005 MMI-SPR-32462
662 static void ATB_wap_buffer_border_draw(T_WAP_MMI_DRAW_BORDER_IND *parameter);
663
664 /*******************************************************************************
665
666 $Function: ATB_wap_buffer_table_draw
667
668 $Description: Draws a table, or a fieldset
669
670 $Returns:
671
672 $Arguments: pX, pY - position of table
673 pWidth, pHeight - dimensions of table
674 title_length - length of title
675 Title - title text
676 noOfCols - number of columns (tables only)
677 noOfRows - number of rows (tables only)
678 ColWidth - list of column widths (tables only)
679 RowHeight - list of row heights (tables only)
680
681 *******************************************************************************/
682
683 void ATB_wap_buffer_table_draw(T_WAP_MMI_SEND_TABLE_IND *parameter);
684
685
686 /*******************************************************************************
687
688 $Function: ATB_wap_buffer_line_draw
689
690 $Description: Draws a line, making sure it fits on-screen
691
692 $Returns:
693
694 $Arguments: x1,y1 - Coordinates of the start of the line
695 x2,y2 - Coordinates of the end of the line
696
697 *******************************************************************************/
698
699 void ATB_wap_buffer_line_draw(SHORT x1, SHORT y1, SHORT x2, SHORT y2);
700
701
702 /*******************************************************************************
703
704 $Function: ATB_wap_buffer_onscreen
705
706 $Description: Returns TRUE if the point supplied is on-screen
707
708 $Returns:
709
710 $Arguments: x,y - coordinates of the point
711 deltaX, deltaY - returns offset from screen
712
713 *******************************************************************************/
714
715 static BOOL ATB_wap_buffer_onscreen(SHORT x, SHORT y, SHORT *deltaX, SHORT *deltaY);
716
717
718 /*******************************************************************************
719
720 $Function: ATB_wap_buffer_clear
721
722 $Description: Clears the element buffer
723
724 $Returns:
725
726 $Arguments: View - the current view
727
728 *******************************************************************************/
729 #endif /* #ifdef FF_GPF_TCPIP */
730 void ATB_wap_buffer_clear(T_WAP_VIEW *View);
731
732
733 /*******************************************************************************
734
735 $Function: ATB_wap_buffer_identify_element
736
737 $Description: Identifies which element is selected (based on the invert property) and
738 returns an appropriate type.
739
740 $Returns: The type of the element that is selected, or NULL if none
741
742 $Arguments: View - pointer to the view
743
744 *******************************************************************************/
745
746 UBYTE ATB_wap_buffer_identify_element(T_WAP_VIEW *View);
747
748
749 /*******************************************************************************
750
751 $Function: ATB_wap_profile_create
752
753 $Description: Allocates memory for profile information in RAM
754
755 $Returns: Pointer to the newly created profile
756
757 $Arguments:
758
759 *******************************************************************************/
760
761 T_WAP_PROFILE* ATB_wap_profile_create();
762
763
764 /*******************************************************************************
765
766 $Function: ATB_wap_profile_destroy
767
768 $Description: Destroys a profile
769
770 $Returns:
771
772 $Arguments: Profile - pointer to the profile to destroy
773
774 *******************************************************************************/
775
776 void ATB_wap_profile_destroy(T_WAP_PROFILE *Profile);
777
778
779 /*******************************************************************************
780
781 $Function: ATB_wap_profile_read
782
783 $Description: Reads in the current profile (specified by a number in ProfileId)
784 from the flash.
785
786 $Returns:
787
788 $Arguments: View - Pointer to the current view
789 ProfileId - the id of the profile to read from the flash
790
791 *******************************************************************************/
792
793 T_WAP_RES ATB_wap_profile_read(T_WAP_VIEW *View, UBYTE ProfileId);
794
795
796 /*******************************************************************************
797
798 $Function: ATB_wap_profile_names_read
799
800 $Description: Reads in the names of all profiles stored in flash
801
802 $Returns:
803
804 $Arguments: Profile - Pointer to the current profile
805
806 *******************************************************************************/
807
808 T_WAP_RES ATB_wap_profile_names_read(T_WAP_VIEW *View);
809
810
811 /*******************************************************************************
812
813 $Function: ATB_wap_profiles_save
814
815 $Description: Store the current updated profile in flash
816
817 $Returns:
818
819 $Arguments: Profile - Pointer to the current profile
820
821 *******************************************************************************/
822
823 T_WAP_RES ATB_wap_profile_save(T_WAP_VIEW *View);
824
825 #ifdef FF_GPF_TCPIP
826 /*******************************************************************************
827
828 $Function: ATB_wap_profile_default_create
829
830 $Description: Creates a default profile in the flash if one isn't already there
831
832 $Returns:
833
834 $Arguments:
835
836 *******************************************************************************/
837
838 T_WAP_RES ATB_wap_profile_default_create();
839
840 //TISHMMS Project
841 T_WAP_RES ATB_mms_profile_default_create();
842
843
844
845 /*******************************************************************************
846
847 $Function: ATB_wap_profile_send
848
849 $Description: Reads the current profile and sends it to WAP task.
850
851 $Returns:
852
853 $Arguments: Profile - Pointer to the current selected profile.
854
855 *******************************************************************************/
856
857 #else /* #ifdef FF_GPF_TCPIP */
858 T_WAP_RES ATB_wap_profile_delete(T_WAP_VIEW *View, UBYTE ProfileId); /* SPR#2324 - SH - added */
859 T_WAP_RES ATB_wap_profile_default_create(UBYTE only_reset_profiles); /* SPR#2324 - SH - modified */
860 #endif
861 void ATB_wap_profile_default(UBYTE ProfileId); /* SPR#2324 - SH - added */
862 void ATB_wap_profile_send(T_WAP_VIEW *View);
863
864 /*******************************************************************************
865
866 $Function: ATB_wap_secondary_IP
867
868 $Description: SPR#1688 - SH - Added this function
869 If first IP address fails, try using secondary one.
870
871 $Returns: None.
872
873 $Arguments: View - the current view
874
875 *******************************************************************************/
876
877 void ATB_wap_secondary_IP(T_WAP_VIEW *View);
878
879
880 /*******************************************************************************
881
882 $Function: ATB_wap_entry_list_create
883
884 $Description: Creates an entries list
885 SPR#1816 - SH - Added unicode parameter
886
887 $Returns: Pointer to entry list
888
889 $Arguments: type - type of list
890 max_entries - maximum number of entries in list
891 entry_size - size of entries in characters
892 unicode - TRUE if entries are unicode
893
894 *******************************************************************************/
895
896 T_WAP_LIST * ATB_wap_entry_list_create(WAP_LIST_TYPE type, UBYTE max_entries, UBYTE entry_size, BOOL unicode);
897
898
899 /*******************************************************************************
900
901 $Function: ATB_wap_entry_list_destroy
902
903 $Description: Destroys an entries list
904
905 $Returns:
906
907 $Arguments: EntryList - pointer to entry list data
908
909 *******************************************************************************/
910
911 T_WAP_RES ATB_wap_entry_list_destroy(T_WAP_LIST *EntryList);
912
913
914 /*******************************************************************************
915
916 $Function: ATB_wap_entry_add
917
918 $Description: Adds an entry in the bookmarks or history list
919
920 $Returns:
921
922 $Arguments: Entrylist - Pointer to entries table
923 Entry - Entry to add
924
925 *******************************************************************************/
926
927 T_WAP_RES ATB_wap_entry_add(T_WAP_LIST *EntryList, char *Entry);
928
929 #ifdef FF_GPF_TCPIP
930 /*******************************************************************************
931
932 $Function: ATB_wap_entry_change
933
934 $Description: Changes an entry in an entry list, destroying the old entry and
935 creating a new one.
936
937 $Returns:
938
939 $Arguments: type - Type of entry list
940 Entrylist - Pointer to entries table
941 Entry - New entry text
942 entryIndex - Number of entry to change
943
944 *******************************************************************************/
945
946 T_WAP_RES ATB_wap_entry_change(WAP_LIST_TYPE type, T_WAP_LIST *EntryList, char *Entry, UBYTE entryIndex);
947
948
949 /*******************************************************************************
950
951 $Function: ATB_wap_entry_insert
952
953 $Description: Insert an entry into an entry list, shifting all subsequent entries up one.
954 If the maximum limit of the entry list is reached, the last entry is
955 deleted.
956
957 $Returns:
958
959 $Arguments: type - Type of entry list
960 Entrylist - Pointer to entries table
961 Entry - Entry to insert
962 entryIndex - Position at which to insert the new entry
963
964 *******************************************************************************/
965
966 T_WAP_RES ATB_wap_entry_insert(WAP_LIST_TYPE type, T_WAP_LIST *EntryList, char *Entry, UBYTE entryIndex);
967
968
969 /*******************************************************************************
970
971 $Function: ATB_wap_entry_remove
972
973 $Description: Removes an entry from the bookmarks or history list
974
975 $Returns:
976
977 $Arguments: Entrylist - Pointer to entries table
978 entryIndex - Number of the entry to delete
979
980 *******************************************************************************/
981
982 #else /* #ifdef FF_GPF_TCPIP */
983 T_WAP_RES ATB_wap_entry_change(T_WAP_LIST *EntryList, char *Entry, UBYTE entryIndex);
984 T_WAP_RES ATB_wap_entry_insert(T_WAP_LIST *EntryList, char *Entry, UBYTE entryIndex);
985 #endif
986
987 T_WAP_RES ATB_wap_entry_remove(T_WAP_LIST *EntryList, UBYTE entryIndex);
988
989
990 /*******************************************************************************
991
992 $Function: ATB_wap_entry_remove_all
993
994 $Description: Removes all entries from a Entry List
995
996 $Returns:
997
998 $Arguments: EntryList - Pointer to bookmarks table
999 string_size - Size of string for each entry
1000
1001 *******************************************************************************/
1002
1003 T_WAP_RES ATB_wap_entry_remove_all(T_WAP_LIST *EntryList);
1004
1005
1006 #ifdef FF_GPF_TCPIP
1007 /*******************************************************************************
1008
1009 $Function: ATB_wap_renumber_history
1010
1011 $Description: Renumber history list, changing prefixes to all entries
1012
1013 $Returns:
1014
1015 $Arguments: History - pointer to history list
1016
1017 *******************************************************************************/
1018
1019 int ATB_wap_renumber_history(T_WAP_LIST *History);
1020
1021
1022 /*******************************************************************************
1023
1024 $Function: AUI_wap_memory_alloc
1025
1026 $Description: Requests memory allocation through the AUI.
1027
1028 $Returns: address of the allocated block.
1029
1030 $Arguments: size - amount of memory to allocate.
1031
1032 *******************************************************************************/
1033 // Dec 22, 2004 REF: CRR MFW-SPR-27847 xnkulkar
1034 // Description: MFW memory size variable changed from U16 -> U32
1035 // Solution: The use of variable U16 has been replaced with U32
1036 U8* AUI_wap_memory_alloc(U32 size);
1037
1038
1039 /*******************************************************************************
1040
1041 $Function: AUI_wap_memory_free.
1042
1043 $Description: Requests AUI to free memory.
1044
1045 $Returns: error code.
1046
1047 $Arguments: address - address of the memory to be freed.
1048
1049 size - amount of memory to free.
1050
1051 *******************************************************************************/
1052 // Dec 22, 2004 REF: CRR MFW-SPR-27847 xnkulkar
1053 // Description: MFW memory size variable changed from U16 -> U32
1054 // Solution: The use of variable U16 has been replaced with U32
1055 U8 AUI_wap_memory_free(U8* address,U32 size);
1056
1057
1058 /*******************************************************************************
1059
1060 $Function: ATB_wap_card_show
1061
1062 $Description: Called by the WAP.ATB to show the and/or create the card window.
1063
1064 $Returns:
1065
1066 $Arguments: View - The current view
1067
1068
1069 *******************************************************************************/
1070
1071 void AUI_wap_card_show_req(T_WAP_VIEW *View);
1072
1073
1074 /*******************************************************************************
1075
1076 $Function: AUI_wap_status_notify
1077
1078 $Description: Called by the WAP.ATB when a status flag has changed
1079 SPR#1574 - SH - Removed parameter
1080
1081 $Returns:
1082
1083 $Arguments: View - The current view
1084 status - New value of status
1085
1086 *******************************************************************************/
1087
1088
1089 void AUI_wap_status_notify(T_WAP_VIEW *View, USHORT status);
1090
1091 #else /* #ifdef FF_GPF_TCPIP */
1092 T_WAP_RES ATB_wap_renumber_history(T_WAP_LIST *History);
1093 #endif
1094
1095 /*******************************************************************************
1096
1097 $Function: ATB_wap_status_change
1098
1099 $Description: Called to change a status flag
1100 SPR#1574 - SH - Removed parameter
1101
1102 $Returns:
1103
1104 $Arguments: View - The current view
1105 status - New value of status
1106
1107 *******************************************************************************/
1108
1109
1110 void ATB_wap_status_change(T_WAP_VIEW *View, USHORT status);
1111
1112 /*******************************************************************************
1113
1114 $Function: ATB_wap_status_get
1115
1116 $Description:
1117
1118 $Returns: The status (TRUE/FALSE) of a particular flag
1119
1120 $Arguments: View - The current view
1121 flag - parameter which status has changed
1122
1123 *******************************************************************************/
1124
1125
1126 BOOL ATB_wap_status_get(T_WAP_VIEW *View, USHORT status);
1127
1128 #ifdef FF_GPF_TCPIP
1129 /*******************************************************************************
1130
1131 $Function: ATB_uc_text_len
1132
1133 $Description: SPR#1816 - SH - Added
1134 Returns length of unicode string
1135
1136 $Returns: Length of string
1137
1138 $Arguments: str - the string
1139
1140 *******************************************************************************/
1141
1142 USHORT ATB_uc_text_len(USHORT *str);
1143 #endif
1144
1145 /*******************************************************************************
1146
1147 $Function: ATB_uc_text_copy
1148
1149 $Description: SPR#1816 - SH - Added
1150 Copies src into dest
1151
1152 $Returns: Length of string copied
1153
1154 $Arguments: dest - the destination string
1155 src - the source string
1156 destlen - the maximum string length to copy
1157
1158 *******************************************************************************/
1159
1160 USHORT ATB_uc_text_copy(USHORT *dst, USHORT *src, USHORT destlen);
1161
1162
1163 /*******************************************************************************
1164
1165 $Function: ATB_uc_text_width
1166
1167 $Description: SPR#1816 - SH - Added
1168 Returns width of string in pixels
1169
1170 $Returns:
1171
1172 $Arguments: str - the string
1173 length - the length of string to measure
1174
1175 *******************************************************************************/
1176
1177 USHORT ATB_uc_text_width(USHORT *str, USHORT length);
1178
1179
1180 // Apr 28 2005 REF: MMI-SPR-30400 x0012849
1181 // Thos function is called to see that text is not displayed on the scroll bar space
1182 /*******************************************************************************
1183
1184 $Function: ATB_uc_text_cut
1185 $Description: To see that the displayed string wont appear on the scroll bar space.
1186
1187 $Returns: The number of characters that can be displayed
1188
1189 $Arguments: str - the string
1190 length - the original length
1191 width - the maximum permitted width in pixels of the string
1192
1193 *******************************************************************************/
1194
1195 USHORT ATB_uc_text_cut(USHORT *str, USHORT length, SHORT width);
1196 /*******************************************************************************
1197
1198 $Function: ATB_uc_text_crop
1199
1200 $Description: SPR#1816 - SH - Added
1201 Crops text if necessary to fit the supplied width
1202
1203 $Returns: The number of characters that can be displayed
1204
1205 $Arguments: str - the string
1206 length - the original length
1207 width - the maximum permitted width in pixels of the string
1208
1209 *******************************************************************************/
1210
1211 USHORT ATB_uc_text_crop(USHORT *str, USHORT length, SHORT width);
1212
1213
1214 /*******************************************************************************
1215
1216 $Function: ATB_text_convert
1217
1218 $Description: SPR#1816 - SH - Added
1219 Swap the upper and lower bytes of each unicode character in a string
1220
1221 $Returns: the string
1222
1223 $Arguments: str - the source/destination string
1224 strlen - the length of the string
1225
1226 *******************************************************************************/
1227
1228 USHORT* ATB_uc_text_convert (USHORT *str, USHORT strlen);
1229
1230
1231 /*******************************************************************************
1232
1233 $Function: ATB_uc_to_char
1234
1235 $Description: SPR#1816 - SH - Added
1236 Converts a MMI-converted unicode string to a char string
1237
1238 $Returns: Length of the copy
1239
1240 $Arguments: dst - the destination string
1241 src - the source string
1242 srclen - the length of the source string
1243
1244 *******************************************************************************/
1245
1246 USHORT ATB_uc_to_char(char *dst, USHORT *src, USHORT srclen);
1247
1248
1249 /*******************************************************************************
1250
1251 $Function: ATB_char_to_uc
1252
1253 $Description: SPR#1816 - SH - Added
1254 Converts a char string to a MMI-converted unicode string
1255
1256 $Returns: the length of the destination string
1257
1258 $Arguments: dst - the destination string
1259 src - the source string
1260
1261 *******************************************************************************/
1262
1263 USHORT ATB_char_to_uc (USHORT *dst, char *src);
1264
1265
1266 /*******************************************************************************
1267
1268 $Function: ATB_uc_text_copy
1269
1270 $Description: Compares unicode strings
1271
1272 $Returns: zero if strings match, non zero otherwise
1273
1274 $Arguments: dst - the destination string
1275 src - the source string
1276 len - Number of UCS2 characters to compare
1277
1278 xreddymn Dec-10-2004 for MMI-SPR-26159
1279 *******************************************************************************/
1280
1281 USHORT ATB_uc_text_compare(USHORT *dst, USHORT *src, USHORT len);
1282
1283 /*******************************************************************************
1284
1285 $Function: ATB_conv_str_to_IP
1286
1287 $Description: Converts a string IP address to a long type IP address
1288
1289 $Returns:
1290
1291 $Arguments: str - the string
1292 len - the original length
1293 ip - pointer to where the result will be placed
1294
1295 *******************************************************************************/
1296
1297 GLOBAL const void ATB_conv_str_to_IP(const char* str, USHORT len, ULONG* ip);
1298
1299 #ifdef FF_GPF_TCPIP
1300 void ATB_wap_data_call_connect(T_WAP_VIEW *View); /* SPR#2086 */
1301 void ATB_data_call_connected(T_WAP_VIEW *View); /* SPR#2086 */
1302 void ATB_wap_data_call_disconnected(T_WAP_VIEW *View); /* SPR#2086 */
1303
1304 #else
1305 void ATB_data_call_connected(void);
1306 #endif
1307 /*******************************************************************************
1308
1309 $Function: ATB_wap_cache_prepare
1310
1311 $Description: SPR#1824 - SH - Added
1312 WAP_CACHE_PREPARE
1313
1314 $Returns:
1315
1316 $Arguments:
1317
1318 *******************************************************************************/
1319
1320
1321 void ATB_wap_cache_prepare(void);
1322
1323 /*******************************************************************************
1324
1325 $Function: ATB_wap_start_done
1326
1327 $Description: Confirms that WAP_START has completed
1328
1329 $Returns:
1330
1331 $Arguments:
1332
1333 *******************************************************************************/
1334
1335 void ATB_wap_start_done(void);
1336 #ifdef FF_GPF_TCPIP
1337 void AUI_wap_start_done(void);
1338 #endif
1339
1340 /*******************************************************************************
1341
1342 $Function: ATB_wap_new_view_done
1343
1344 $Description: Confirms that WAP_NEW_VIEW has completed
1345
1346 $Returns:
1347
1348 $Arguments:
1349
1350 *******************************************************************************/
1351
1352 void ATB_wap_new_view_done(void);
1353 #ifdef FF_GPF_TCPIP
1354 void AUI_wap_new_view_done(void);
1355 #endif
1356
1357
1358 /*******************************************************************************
1359
1360 $Function: ATB_wap_terminate_done
1361
1362 $Description: Confirms that WAP_TERMINATE has completed
1363
1364 $Returns:
1365
1366 $Arguments:
1367
1368 *******************************************************************************/
1369
1370 void ATB_wap_terminate_done(void);
1371 #ifdef FF_GPF_TCPIP
1372 void AUI_wap_terminate_done(void);
1373 #endif
1374
1375 /*******************************************************************************
1376
1377 $Function: ATB_wap_close_view_done
1378
1379 $Description: Confirms that WAP_CLOSE_VIEW has completed
1380
1381 $Returns:
1382
1383 $Arguments:
1384
1385 *******************************************************************************/
1386
1387 void ATB_wap_close_view_done(void);
1388 #ifdef FF_GPF_TCPIP
1389 void AUI_wap_close_view_done(void);
1390 #endif
1391
1392
1393 /*******************************************************************************
1394
1395 $Function: ATB_wap_cache_prepare_done
1396
1397 $Description: SPR#1824 - SH - Added
1398 Confirms that WAP_CACHE_PREPARE has completed
1399
1400 $Returns:
1401
1402 $Arguments:
1403
1404 *******************************************************************************/
1405
1406 void ATB_wap_cache_prepare_done(void);
1407 #ifdef FF_GPF_TCPIP
1408 void AUI_wap_cache_prepare_done(void);
1409 #endif
1410
1411 /*******************************************************************************
1412
1413 $Function: ATB_wap_disconnect
1414
1415 $Description: SPR#1189 - SH - Added this function
1416 Informs WAP browser that a disconnection has occurred
1417
1418 $Returns:
1419
1420 $Arguments: View - the current View
1421
1422 *******************************************************************************/
1423
1424 void ATB_wap_disconnect(T_WAP_VIEW *View);
1425
1426 #ifdef FF_GPF_TCPIP
1427 /* SPR#2086 - SH - Prototypes for SAR functions */
1428
1429 T_WAP_RES ATB_wap_content_get(
1430 UBYTE urlID,
1431 char *Url,
1432 BOOL reload,
1433 char *acceptHeader);
1434
1435 void ATB_wap_content(
1436 UBYTE urlID,
1437 char *Data,
1438 ULONG data_length,
1439 BOOL moreData,
1440 char *ContentType,
1441 ULONG contentType_length,
1442 ULONG totalSize,
1443 SHORT errorNo);
1444
1445 void AUI_wap_content(
1446 UBYTE urlID,
1447 char *Data,
1448 ULONG data_length,
1449 BOOL moreData,
1450 char *ContentType,
1451 ULONG contentType_length,
1452 ULONG totalSize);
1453
1454 T_WAP_RES ATB_wap_content_post(
1455 UBYTE urlID,
1456 char *Url,
1457 BOOL reload,
1458 char *acceptHeader,
1459 char *Data,
1460 ULONG data_length,
1461 BOOL moreData,
1462 char *ContentType,
1463 UBYTE sendMode,
1464 char *ContentDisp,
1465 ULONG totalSize);
1466
1467 T_WAP_RES ATB_wap_content_post_more(
1468 UBYTE urlID,
1469 char *Data,
1470 ULONG data_length,
1471 BOOL moreData);
1472
1473 void ATB_wap_content_cancel(UBYTE urlID);
1474 void ATB_wap_change_view(UBYTE object_id);
1475 void AUI_wap_view_changed(T_WAP_VIEW *View);
1476
1477
1478 /* SPR#2086 - SH - PUSH functions */
1479 void ATB_wap_push_load_SI(T_WAP_VIEW *View, SHORT id);
1480 void ATB_wap_push_delete_SI(SHORT id, UBYTE selection);
1481 void ATB_wap_push_get_SI_info(SHORT id, UBYTE selection);
1482 void ATB_wap_push_save_to_flash(void);
1483
1484 void ATB_wap_push_SI_new(
1485 SHORT id,
1486 ULONG created,
1487 ULONG expires,
1488 USHORT *Message,
1489 ULONG message_length,
1490 BOOL expired,
1491 char *Url,
1492 ULONG url_length,
1493 UBYTE priority,
1494 char *InitURL,
1495 ULONG initURL_length,
1496 UBYTE applicationType,
1497 UBYTE newChannelId
1498 );
1499 void ATB_wap_push_SI_info(
1500 SHORT id,
1501 UBYTE status,
1502 ULONG created,
1503 ULONG expires,
1504 USHORT *Message,
1505 ULONG message_length,
1506 BOOL expired,
1507 char *Url,
1508 ULONG url_length,
1509 UBYTE priority,
1510 char *InitURL,
1511 ULONG initURL_length
1512 );
1513
1514 void ATB_wap_push_SMS_received(
1515 char *smsc,
1516 UBYTE tosca,
1517 char *number,
1518 UBYTE toa,
1519 char *Udh,
1520 ULONG udh_length,
1521 char *Data,
1522 ULONG data_length);
1523
1524 void ATB_wap_push_SMS_send(
1525 char *Smsc,
1526 ULONG smsc_length,
1527 char *Destination,
1528 ULONG destination_length,
1529 char *Data,
1530 ULONG data_length);
1531
1532 void ATB_wap_push_SMS_sent(void);
1533 void ATB_wap_push_SMS_error(UBYTE error);
1534
1535 void AUI_wap_push_show(
1536 USHORT *Text,
1537 USHORT text_length,
1538 SHORT identifier,
1539 char *Url,
1540 USHORT url_length);
1541
1542 void AUI_wap_push_info(
1543 USHORT *Text,
1544 USHORT text_length,
1545 SHORT id,
1546 char *Url,
1547 USHORT url_length,
1548 UBYTE status,
1549 ULONG created,
1550 BOOL expired,
1551 UBYTE priority);
1552
1553 // xreddymn Mar-16-2005 MMI-SPR-29767 - modified SL message handling in MMI
1554 void ATB_wap_push_SL_new(
1555 SHORT id,
1556 char *Url,
1557 ULONG url_length,
1558 UBYTE priority,
1559 char *InitURL,
1560 ULONG initURL_length,
1561 UBYTE applicationType,
1562 UBYTE newChannelId
1563 );
1564
1565 void AUI_wap_push_load_SL(SHORT identifier, char *Url, USHORT url_length);
1566 // xreddymn Mar-25-2005 MMI-SPR-26144: changes to display MMS send progress
1567
1568 void AUI_wap_net_send_ind(void);
1569
1570 UBYTE ATB_wap_profile_setting(UBYTE setting);
1571 void ATB_wap_profile_setting_change(UBYTE setting, UBYTE value);
1572 void ATB_wap_profile_add(T_WAP_PROFILE *p);
1573
1574 #else /* #ifdef FF_GPF_TCPIP */
1575
1576 /* INTERFACE WITH AUI */
1577 // Dec 22, 2004 REF: CRR MFW-SPR-27847 xnkulkar
1578 // Description: MFW memory size variable changed from U16 -> U32
1579 // Solution: The use of variable U16 has been replaced with U32
1580
1581 T_WAP_RES AUI_wap_input_dialog_open(T_WAP_MMI_INPUT_DIALOG_REQ *Dialog);
1582 T_WAP_RES AUI_wap_password_dialog_open(T_WAP_MMI_PASSWORD_DIALOG_REQ *Dialog);
1583 T_WAP_RES AUI_wap_confirm_dialog_open(T_WAP_MMI_CONFIRM_DIALOG_REQ *Dialog);
1584 T_WAP_RES AUI_wap_info_dialog_open(T_WAP_MMI_INFO_DIALOG_REQ *Dialog);
1585 UBYTE* AUI_wap_memory_alloc(U32 size);
1586 void AUI_wap_memory_free(UBYTE* address, U32 size);
1587
1588
1589 void AUI_wap_card_show_req(T_WAP_VIEW *View);
1590 void AUI_wap_status_notify(T_WAP_VIEW *View, USHORT status);
1591 void AUI_wap_change_soft_key(T_WAP_VIEW *View, USHORT *Label, USHORT length, USHORT keyId);
1592
1593 #endif /* !#ifdef FF_GPF_TCPIP */
1594 USHORT AUI_wap_stringID(USHORT *dest, USHORT destlen, USHORT stringID);
1595
1596 #ifdef CO_UDP_IP
1597 void AUI_wap_start_done(void);
1598 void AUI_wap_new_view_done(void);
1599 void AUI_wap_terminate_done(void);
1600 void AUI_wap_close_view_done(void);
1601 void AUI_wap_cache_prepare_done(void);
1602 void AUI_wap_end_call(SHORT cId);
1603
1604 void AUI_error_dialog(T_WAP_VIEW *View, SHORT errorCode);
1605 #endif
1606
1607 /*******************************************************************************
1608
1609 $Function: writeerrorFFS/writeflagFFS
1610
1611 $Description: SH - These functions are provided for debugging purposes
1612
1613 $Returns:
1614
1615 $Arguments:
1616 *******************************************************************************/
1617
1618 void writeerrorFFS(SHORT error);
1619 void writeflagFFS(UBYTE flag);
1620
1621 // xreddymn Jun-28-2005 MMI-SPR-32467
1622 void ATB_animated_GIF_clear(void);
1623