comparison src/ui/bmi/AUIWapext.h @ 3:67bfe9f274f6

src/ui: import of src/ui3 from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:33:10 +0000
parents
children
comparison
equal deleted inserted replaced
2:3a14ee9a9843 3:67bfe9f274f6
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: AUIWapext.h
16 $Revision:
17
18 $Author: Condat(UK)
19 $Date:
20
21 ********************************************************************************
22
23 Description:
24 External prototypes for AUI WAP.
25
26
27 ********************************************************************************
28
29 $History: AUIWapext.h
30
31 15/05/2003 - SPR#1983 - SH - Updated to latest from 1.6.3 version.
32
33 $End
34
35 *******************************************************************************/
36 #ifdef FF_GPF_TCPIP
37 typedef enum
38 {
39 WAP_BROWSER,
40
41 WAP_PUSH,
42
43 #ifdef FF_MMI_MMS
44 WAP_MMS,
45 #endif
46 WAP_DOWNLOAD
47 }
48 T_WAP_APPLICATION;
49
50 typedef void (*T_WAP_CB) (UBYTE result);
51
52 void AUI_wap_init(void);
53 void AUI_wap_start(T_WAP_APPLICATION application, T_WAP_CB callback);
54 void AUI_wap_connect_URL (char *URL); /* SPR#2086 - modified */
55 /* WAP TEST */
56 int AUI_download(MfwMnu* menu, MfwMnuItem* item);
57 #endif /* #ifdef FF_GPF_TCPIP */
58 int AUI_menu(MfwMnu* menu, MfwMnuItem* item);
59 int AUI_homepage(MfwMnu* menu, MfwMnuItem* item);
60 int AUI_goto_www(MfwMnu* menu, MfwMnuItem* item);
61 int AUI_goto_wap(MfwMnu* menu, MfwMnuItem* item);
62 int AUI_goto_other(MfwMnu* menu, MfwMnuItem* item);
63 int AUI_bookmarks_add(MfwMnu* menu, MfwMnuItem* item);
64 int AUI_bookmarks_add_www(MfwMnu* menu, MfwMnuItem* item);
65 int AUI_bookmarks_add_wap(MfwMnu* menu, MfwMnuItem* item);
66 int AUI_bookmarks_add_other(MfwMnu* menu, MfwMnuItem* item);
67 int AUI_bookmarks_list(MfwMnu* menu, MfwMnuItem* item);
68 int AUI_bookmarks_goto(MfwMnu* menu, MfwMnuItem* item);
69 int AUI_bookmarks_edit(MfwMnu* menu, MfwMnuItem* item);
70 int AUI_bookmarks_edit_url(MfwMnu* menu, MfwMnuItem* item);
71 int AUI_bookmarks_delete(MfwMnu* menu, MfwMnuItem* item);
72 int AUI_bookmarks_sendSMS(MfwMnu* menu, MfwMnuItem* item);
73 int AUI_history_list(MfwMnu* menu, MfwMnuItem* item);
74 int AUI_history_goto(MfwMnu* menu, MfwMnuItem* item);
75 int AUI_history_edit(MfwMnu* menu, MfwMnuItem* item);
76 int AUI_history_edit_url(MfwMnu* menu, MfwMnuItem* item);
77 int AUI_history_delete(MfwMnu* menu, MfwMnuItem* item);
78 int AUI_history_clear(MfwMnu* menu, MfwMnuItem* item);
79 int AUI_history_addbook(MfwMnu* menu, MfwMnuItem* item);
80 int AUI_history_sendSMS(MfwMnu* menu, MfwMnuItem* item);
81
82 #ifdef FF_GPF_TCPIP
83 int AUI_profiles_list(MfwMnu* menu, MfwMnuItem* item);
84 #else
85 /* SPR#2324 - SH - Removed AUI_profiles_list */
86 #endif
87 int AUI_profile_change(MfwMnu* menu, MfwMnuItem* item); /* SPR#2324 - SH - Added */
88 int AUI_profile_delete(MfwMnu* menu, MfwMnuItem* item); /* SPR#2324 - SH - Added */
89 int AUI_profile_new(MfwMnu* menu, MfwMnuItem* item); /* SPR#2324 - SH - Added */
90 int AUI_profile_reset(MfwMnu* menu, MfwMnuItem* item); /* SPR#2324 - SH - Added */
91 /* SPR#2324 - SH - Removed AUI_profiles_list */
92 int AUI_profiles_setup(MfwMnu* menu, MfwMnuItem* item);
93 int AUI_profile_name_edit(MfwMnu* menu, MfwMnuItem* item);
94 int AUI_profile_select(MfwMnu* menu, MfwMnuItem* item); /* SPR#2324 - SH - Added *///liuyu
95
96 int AUI_homepage_edit(MfwMnu* menu, MfwMnuItem* item);
97 int AUI_connectionType(MfwMnu* menu, MfwMnuItem* item);
98 int AUI_connectionType_set(MfwMnu* menu, MfwMnuItem* item);
99 int AUI_connectionSpeed(MfwMnu* menu, MfwMnuItem* item);
100 int AUI_connectionSpeed_set(MfwMnu* menu, MfwMnuItem* item);
101 //xpradipg - Aug 4:changes for WAP2.0 Menu
102 #ifdef FF_GPF_TCPIP
103 int AUI_WirelessProfiledHTTP_set(MfwMnu* menu, MfwMnuItem* item);
104 int AUI_PPGAuthentication_set(MfwMnu* menu, MfwMnuItem* item);
105 int AUI_WirelessProfiledHTTP(MfwMnu* menu, MfwMnuItem* item);
106 int AUI_PPGAuthentication(MfwMnu* menu, MfwMnuItem* item);
107 int AUI_NameServer1(MfwMnu* menu, MfwMnuItem* item);
108 int AUI_NameServer2(MfwMnu* menu, MfwMnuItem* item);
109 EXTERN BOOL HTTP_Selected();
110 #endif
111 int AUI_security(MfwMnu* menu, MfwMnuItem* item);
112 int AUI_security_set(MfwMnu* menu, MfwMnuItem* item);
113 int AUI_access(MfwMnu* menu, MfwMnuItem* item);
114 int AUI_access_set(MfwMnu* menu, MfwMnuItem* item);
115 int AUI_dialupNumber(MfwMnu* menu, MfwMnuItem* item);
116 int AUI_IPAddress1(MfwMnu* menu, MfwMnuItem* item);
117 int AUI_IPAddress2(MfwMnu* menu, MfwMnuItem* item);
118 int AUI_Port1(MfwMnu* menu, MfwMnuItem* item);
119 int AUI_Port2(MfwMnu* menu, MfwMnuItem* item);
120 int AUI_APN(MfwMnu* menu, MfwMnuItem* item);
121 int AUI_username(MfwMnu* menu, MfwMnuItem* item);
122 int AUI_password(MfwMnu* menu, MfwMnuItem* item);
123 int AUI_response_timer(MfwMnu* menu, MfwMnuItem* item);
124 int AUI_savehist(MfwMnu* menu, MfwMnuItem* item);
125 int AUI_savehist_set(MfwMnu* menu, MfwMnuItem* item);
126 int AUI_scaleimages(MfwMnu* menu, MfwMnuItem* item);
127 int AUI_scaleimages_set(MfwMnu* menu, MfwMnuItem* item);
128 #ifdef FF_GPF_TCPIP
129 T_MFW_HND AUI_wap_launch_browser(char *URL,UBYTE* bearer_list,UBYTE bearer_list_len);
130 #endif
131 void AUI_wap_extDestroy(void);
132 void AUI_wap_gprs_status(UBYTE status);
133 void AUI_wap_gprs_cb(UBYTE status);//xrashmic 13 Feb, 2006 MMI-SPR-58532
134
135 void AUI_wap_call_connect(SHORT cId);
136 void AUI_wap_call_disconnect(SHORT cId);
137 void AUI_end_call(SHORT cId);
138 UBYTE AUI_wap_in_call(void);
139 void AUI_wap_browser_disconnect(void); // RAVI
140 #ifdef FF_GPF_TCPIP
141 void AUI_wap_content_get(UBYTE id, char *Url, BOOL reload, char *acceptHeader);
142
143 int AUI_wap_push_list(MfwMnu* menu, MfwMnuItem* item);
144 int AUI_wap_push_message_read(MfwMnu* menu, MfwMnuItem* item);
145 int AUI_wap_push_message_delete(MfwMnu* menu, MfwMnuItem* item);
146 int AUI_wap_push_showmessages(MfwMnu* menu, MfwMnuItem* item);
147 int AUI_wap_push_showmessages_set(MfwMnu* menu, MfwMnuItem* item);
148 #endif