📄 atbwapaui.h
字号:
Entrylist - Pointer to entries table
Entry - New entry text
entryIndex - Number of entry to change
*******************************************************************************/
T_WAP_RES ATB_wap_entry_change(WAP_LIST_TYPE type, T_WAP_LIST *EntryList, char *Entry, UBYTE entryIndex);
/*******************************************************************************
$Function: ATB_wap_entry_insert
$Description: Insert an entry into an entry list, shifting all subsequent entries up one.
If the maximum limit of the entry list is reached, the last entry is
deleted.
$Returns:
$Arguments: type - Type of entry list
Entrylist - Pointer to entries table
Entry - Entry to insert
entryIndex - Position at which to insert the new entry
*******************************************************************************/
T_WAP_RES ATB_wap_entry_insert(WAP_LIST_TYPE type, T_WAP_LIST *EntryList, char *Entry, UBYTE entryIndex);
/*******************************************************************************
$Function: ATB_wap_entry_remove
$Description: Removes an entry from the bookmarks or history list
$Returns:
$Arguments: Entrylist - Pointer to entries table
entryIndex - Number of the entry to delete
*******************************************************************************/
T_WAP_RES ATB_wap_entry_remove(T_WAP_LIST *EntryList, UBYTE entryIndex);
/*******************************************************************************
$Function: ATB_wap_entry_remove_all
$Description: Removes all entries from a Entry List
$Returns:
$Arguments: EntryList - Pointer to bookmarks table
string_size - Size of string for each entry
*******************************************************************************/
T_WAP_RES ATB_wap_entry_remove_all(T_WAP_LIST *EntryList);
/*******************************************************************************
$Function: ATB_wap_renumber_history
$Description: Renumber history list, changing prefixes to all entries
$Returns:
$Arguments: History - pointer to history list
*******************************************************************************/
int ATB_wap_renumber_history(T_WAP_LIST *History);
/*******************************************************************************
$Function: AUI_wap_memory_alloc
$Description: Requests memory allocation through the AUI.
$Returns: address of the allocated block.
$Arguments: size - amount of memory to allocate.
*******************************************************************************/
U8* AUI_wap_memory_alloc(USHORT size);
/*******************************************************************************
$Function: AUI_wap_memory_free.
$Description: Requests AUI to free memory.
$Returns: error code.
$Arguments: address - address of the memory to be freed.
size - amount of memory to free.
*******************************************************************************/
U8 AUI_wap_memory_free(U8* address,U16 size);
/*******************************************************************************
$Function: ATB_wap_card_show
$Description: Called by the WAP.ATB to show the and/or create the card window.
$Returns:
$Arguments: View - The current view
*******************************************************************************/
void AUI_wap_card_show_req(T_WAP_VIEW *View);
/*******************************************************************************
$Function: AUI_wap_status_notify
$Description: Called by the WAP.ATB when a status flag has changed
SPR#1574 - SH - Removed parameter
$Returns:
$Arguments: View - The current view
status - New value of status
*******************************************************************************/
void AUI_wap_status_notify(T_WAP_VIEW *View, USHORT status);
/*******************************************************************************
$Function: ATB_wap_status_change
$Description: Called to change a status flag
SPR#1574 - SH - Removed parameter
$Returns:
$Arguments: View - The current view
status - New value of status
*******************************************************************************/
void ATB_wap_status_change(T_WAP_VIEW *View, USHORT status);
/*******************************************************************************
$Function: ATB_wap_status_get
$Description:
$Returns: The status (TRUE/FALSE) of a particular flag
$Arguments: View - The current view
flag - parameter which status has changed
*******************************************************************************/
BOOL ATB_wap_status_get(T_WAP_VIEW *View, USHORT status);
/*******************************************************************************
$Function: ATB_ushort2char
$Description: Converts a USHORT string to a char string
$Returns: the copy
$Arguments: dst - the destination string
src - the source string
srclen - the length of the source string
*******************************************************************************/
char* ATB_ushort2char (char *dst, USHORT *src, USHORT srclen);
char* ATB_ushort2char_old (char *dst, USHORT *src, USHORT srclen); //zhaowm 2003.1.17
/*******************************************************************************
$Function: ATB_char2ushort
$Description: Converts a char string to a USHORT string
$Returns: the length of the destination string
$Arguments: dst - the destination string
src - the source string
*******************************************************************************/
USHORT ATB_char2ushort (USHORT *dst, char *src);
/*******************************************************************************
$Function: ATB_char2char
$Description: Copies a CHAR string that is not necessarily terminated with a NULL
$Returns: the copy
$Arguments: dst - the destination string
src - the source string
srclen - the length of the source string
*******************************************************************************/
char* ATB_char2char (char *dst, char *src, USHORT srclen);
/*******************************************************************************
$Function: ATB_wap_char_to_BCD
$Description: Converts an ascii string of digits into BCD form, with 4 bits representing
each digit.
$Returns:
$Arguments: src - source string (ascii)
dest - destination string for BCD digits
*******************************************************************************/
void ATB_char_to_BCD(char *dest, char *src);
/*******************************************************************************
$Function: ATB_textWidth
$Description: Returns width of string in pixels
$Returns:
$Arguments: str - the string
length - the length of string to measure
*******************************************************************************/
USHORT ATB_textWidth(char *str, USHORT length);
/*******************************************************************************
$Function: ATB_crop_text
$Description: Crops text if necessary to fit the supplied width
$Returns:
$Arguments: str - the string
length - the original length
width - the maximum permitted width in pixels of the string
*******************************************************************************/
void ATB_crop_text(char *str, USHORT length, SHORT width);
/*******************************************************************************
$Function: ATB_conv_str_to_IP
$Description: Converts a string IP address to a long type IP address
$Returns:
$Arguments: str - the string
len - the original length
ip - pointer to where the result will be placed
*******************************************************************************/
GLOBAL const void ATB_conv_str_to_IP(const char* str, USHORT len, ULONG* ip);
/*******************************************************************************
$Function: ATB_data_call_connected
$Description:
$Returns:
$Arguments:
*******************************************************************************/
void ATB_data_call_connected(void);
/*******************************************************************************
$Function: ATB_wap_start_done
$Description: Confirms that WAP_START has completed
$Returns:
$Arguments:
*******************************************************************************/
void ATB_wap_start_done(void);
void AUI_wap_start_done(void);
/*******************************************************************************
$Function: ATB_wap_new_view_done
$Description: Confirms that WAP_NEW_VIEW has completed
$Returns:
$Arguments:
*******************************************************************************/
void ATB_wap_new_view_done(void);
void AUI_wap_new_view_done(void);
/*******************************************************************************
$Function: ATB_wap_terminate_done
$Description: Confirms that WAP_TERMINATE has completed
$Returns:
$Arguments:
*******************************************************************************/
void ATB_wap_terminate_done(void);
void AUI_wap_terminate_done(void);
/*******************************************************************************
$Function: ATB_wap_close_view_done
$Description: Confirms that WAP_CLOSE_VIEW has completed
$Returns:
$Arguments:
*******************************************************************************/
void ATB_wap_close_view_done(void);
void AUI_wap_close_view_done(void);
USHORT ATB_uni2ushort (USHORT *dst, char *src);
/*******************************************************************************
$Function: ATB_wap_disconnect
$Description: SPR#1189 - SH - Added this function
Informs WAP browser that a disconnection has occurred
$Returns:
$Arguments: View - the current View
*******************************************************************************/
void ATB_wap_disconnect(T_WAP_VIEW *View);
#ifdef MMS_WAP_ENABLED
/*************************talcon add for mms***********/
void ATB_mms_start_done(void);
void ATB_mms_terminate_done();
void ATB_mms_profile_send(T_MMS_VIEW *View);
void ATB_wap_content_post(T_MMI_WAP_POSTCONTENT_IND *parameter);
void ATB_wap_morecontent_post(T_MMI_WAP_POSTMORECONTENT_IND *parameter);
void ATB_wap_wiew_add(T_WAP_VIEW *View);
void ATB_wap_view_delete(T_WAP_VIEW *View);
void ATB_mms_cancel(UBYTE urlID);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -