|
1 /* |
|
2 * Copyright (c) 1999 - 2001 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 the License "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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 /* |
|
20 $Workfile: wml_url_utils.h $ |
|
21 |
|
22 Purpose: |
|
23 |
|
24 Class: WmlBrowser |
|
25 |
|
26 WML interpreter various functions decalrations. All functions are |
|
27 used by this component only. |
|
28 |
|
29 */ |
|
30 |
|
31 #ifndef WML_TASK_H |
|
32 #define WML_TASK_H |
|
33 |
|
34 #include "wml_core.h" |
|
35 |
|
36 #include "nwx_mem.h" |
|
37 #include "BrsrStatusCodes.h" |
|
38 |
|
39 #ifdef __cplusplus |
|
40 extern "C" { |
|
41 #endif |
|
42 |
|
43 typedef enum { |
|
44 WAE_TIMER_USE_DEFAULT, |
|
45 WAE_TIMER_TIMEOUT, |
|
46 WAE_TIMER_FROM_TIMER |
|
47 } NW_Wml_TimerBehavior_t; |
|
48 |
|
49 |
|
50 /* |
|
51 * wml_bind.c |
|
52 */ |
|
53 TBrowserStatusCode NW_Wml_ApplyContainedInternalVariables(NW_Wml_t* thisObj, NW_Wml_Element_t* container); |
|
54 |
|
55 /* |
|
56 * wml_head.c |
|
57 */ |
|
58 TBrowserStatusCode NW_Wml_AccessControl(NW_Wml_t *thisObj, NW_Ucs2 *url); |
|
59 |
|
60 TBrowserStatusCode NW_Wml_HandleMetaElements(NW_Wml_t *thisObj); |
|
61 |
|
62 |
|
63 /* |
|
64 * wml_input_validation.c |
|
65 */ |
|
66 NW_Bool NW_WmlInput_ValidateFormat(const NW_Ucs2 * format); |
|
67 |
|
68 |
|
69 /* |
|
70 * wml_intrinsic_event.c |
|
71 */ |
|
72 TBrowserStatusCode NW_Wml_HandleIntrinsicEvents(NW_Wml_t *obj, NW_Wml_Intrinsic_e); |
|
73 |
|
74 |
|
75 /* |
|
76 * wml_option_event.c |
|
77 */ |
|
78 TBrowserStatusCode NW_Wml_HandleOptionEvent(NW_Wml_t *obj, NW_Wml_Element_t* el); |
|
79 |
|
80 /* |
|
81 ** wml_event.c |
|
82 */ |
|
83 TBrowserStatusCode NW_Wml_HandleInputEvent(NW_Wml_t *thisObj, |
|
84 NW_Wml_Element_t *el, |
|
85 NW_Ucs2 *value, |
|
86 NW_Bool setFlag, |
|
87 NW_Bool *validateOK); |
|
88 |
|
89 /* |
|
90 * wml_query_service.c |
|
91 */ |
|
92 NW_Int32 NW_Wml_FindEl(NW_Wml_t *thisObj, NW_Uint16 id); |
|
93 |
|
94 /* |
|
95 * wml_ref_model.c |
|
96 */ |
|
97 TBrowserStatusCode NW_Wml_HandleTaskEvent(NW_Wml_t *thisObj, NW_Wml_Element_t* el); |
|
98 |
|
99 TBrowserStatusCode NW_Wml_ProcessGo(NW_Wml_t *obj, NW_Ucs2 *response_url); |
|
100 |
|
101 TBrowserStatusCode NW_Wml_ProcessPrev(NW_Wml_t *obj, NW_Ucs2 *response_url); |
|
102 |
|
103 TBrowserStatusCode NW_Wml_ProcessRefresh(NW_Wml_t *obj); |
|
104 |
|
105 /* |
|
106 * wml_select_ui_state.c |
|
107 */ |
|
108 TBrowserStatusCode NW_Wml_SetCardUIState(NW_Wml_t *thisObj); |
|
109 |
|
110 TBrowserStatusCode NW_WmlInput_InitOptionValues(NW_Wml_t* thisObj, NW_Wml_Element_t* select_el); |
|
111 |
|
112 |
|
113 /* |
|
114 * wml_select_validation.c |
|
115 */ |
|
116 TBrowserStatusCode NW_WmlSelect_ValidateName_Value(NW_Wml_t* thisObj, NW_Wml_Element_t* select_el, NW_Ucs2* iname_var_value, NW_Wml_Select_Type_e type, NW_Mem_Segment_Id_t mem_scope, NW_Ucs2 **ret_string); |
|
117 |
|
118 TBrowserStatusCode NW_WmlSelect_ValidateIName_Value(NW_Wml_t* thisObj, NW_Wml_Element_t* select_el, NW_Ucs2* name_var_value, NW_Wml_Select_Type_e type, NW_Mem_Segment_Id_t mem_scope, NW_Ucs2 **ret_string); |
|
119 |
|
120 TBrowserStatusCode NW_WmlSelect_GetFirstOptionValue(NW_Wml_t* thisObj, NW_Wml_Element_t* select_el, NW_Mem_Segment_Id_t mem_scope, NW_Ucs2 **ret_string); |
|
121 |
|
122 |
|
123 /* |
|
124 * wml_timer.c |
|
125 */ |
|
126 TBrowserStatusCode NW_Wml_SetTimerKey(NW_Wml_t* thisObj, NW_Wml_TimerBehavior_t behavior, NW_Uint32 *ret_time); |
|
127 |
|
128 TBrowserStatusCode NW_Wml_HandleTimer(NW_Wml_t *thisObj); |
|
129 |
|
130 void NW_Wml_SetTimerProcessing(NW_Wml_t* thisObj, NW_Bool timerProcessing); |
|
131 |
|
132 NW_Bool NW_Wml_IsTimerProcessingComplete(NW_Wml_t* thisObj); |
|
133 |
|
134 |
|
135 |
|
136 /* |
|
137 * wml_url_navigation.c |
|
138 */ |
|
139 TBrowserStatusCode NW_Wml_FetchUrlGeneric( |
|
140 NW_Wml_t *obj, |
|
141 NW_Ucs2 *url_param, |
|
142 NW_Bool is_method_post, |
|
143 NW_Http_Header_t *header, |
|
144 NW_NVPair_t *postfields, |
|
145 NW_Ucs2 *enctype); |
|
146 TBrowserStatusCode NW_Wml_FetchUrl(NW_Wml_t *obj, NW_Ucs2 *url, NW_Wml_Element_t* go_el); |
|
147 TBrowserStatusCode NW_Wml_FetchPrevUrl(NW_Wml_t *obj); |
|
148 |
|
149 #ifdef __cplusplus |
|
150 } /* extern "C" */ |
|
151 #endif |
|
152 |
|
153 #endif /* WML_TASK_H */ |