JBrowserMMISettings.c
资源名称:mmi.rar [点击查看]
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:48k
源码类别:
MTK
开发平台:
C/C++
- /*****************************************************************************
- * Copyright Statement:
- * --------------------
- * This software is protected by Copyright and the information contained
- * herein is confidential. The software may not be copied and the information
- * contained herein may not be used or disclosed except with the written
- * permission of MediaTek Inc. (C) 2005
- *
- * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
- * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
- * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
- * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
- * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
- * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
- * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
- * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
- * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
- * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
- *
- * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
- * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
- * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
- * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
- * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
- *
- * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
- * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
- * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
- * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
- * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
- *
- *****************************************************************************/
- /*****************************************************************************
- *
- * Filename:
- * ---------
- * JBrowserMMISettings.c
- *
- * Project:
- * --------
- * MAUI
- *
- * Description:
- * ------------
- * This file is intends for settigs feature in browser.
- *
- * Author:
- * -------
- * -------
- *
- *============================================================================
- * HISTORY
- * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *------------------------------------------------------------------------------
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- *------------------------------------------------------------------------------
- * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *============================================================================
- ****************************************************************************/
- #ifndef _MMI_JBROWSERMMISETTINGS_C
- #define _MMI_JBROWSERMMISETTINGS_C
- /* Include: MMI header file */
- #include "MMI_features.h"
- #if defined (JATAAYU_SUPPORT) && defined (WAP_SUPPORT)
- #include "PixtelDataTypes.h"
- #include "Unicodexdcl.h"
- #include "HistoryGprot.h"
- #include "GlobalDefs.h"
- #include "CommonScreens.h"
- #include "SettingProfile.h"
- #include "wgui_categories.h"
- #include "wgui_categories_inputs.h"
- #include "wap_ps_struct.h"
- #include "wapadp.h"
- #include "JBrowserMMIDefs.h"
- #include "JBrowserMMIProts.h"
- #include "JBrowserMMITypes.h"
- #include "JProfileHandlerTypes.h"
- #include "JProfileHandlerProts.h"
- /* Include: NVRAM header file */
- #include "NVRAMType.h"
- #include "NVRAMProt.h"
- #include "NVRAMEnum.h"
- /* Include: Jataayu header file */
- #include "ddl.h"
- #include "jcal.h"
- #include "jdd_memapi.h"
- #include "jdi_communicator.h"
- #include "jdi_BrowserDatatype.h"
- #include "JPushInboxCommonAPIs.h" /* Added By Vivek 27 June, 2006 */
- /* Local */
- //comment by tk
- //BOOL service_message_status;
- static S8 *gBrwShowImagesString[BRW_SHOW_IMAGES_OPTION];
- static S32 gBrwShowImageState = 0;
- static S8 *gBrwShowHistoryAsString[BRW_SHOW_HISTORY_AS_OPTION];
- static S32 gBrwShowHistoryState = 0;
- static S8 gBrwTimeoutValue[(BRW_TIME_OUT_LEN + 1) * ENCODING_LENGTH];
- static S8 *gBrwShowImagesSelection[BRW_SHOW_IMAGES_SELECTION];
- static S32 gBrwImageSelectionState = 0;
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_init
- * DESCRIPTION
- * Set highlight handlers for settings menu items
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_init(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- SetHiliteHandler(MENU_ID_BRW_SETTINGS_1, mmi_brw_setting_highlight_hdlr);
- SetHiliteHandler(MENU_ID_BRW_SETTINGS_2, mmi_brw_setting_highlight_hdlr);
- SetHiliteHandler(MENU_ID_BRW_SELECT_PROFILE, mmi_brw_setting_select_profile_highlight_hdlr);
- SetHiliteHandler(MENU_ID_BRW_BROWSER_OPTIONS, mmi_brw_setting_browser_option_highlight_hdlr);
- SetHiliteHandler(MENU_ID_BRW_SERVICE_MESSAGES, mmi_brw_setting_service_messages_highlight_hdlr);
- SetHiliteHandler(MENU_ID_BRW_CLEAR_CACHE, mmi_brw_setting_clear_cache_highlight_hdlr);
- SetHiliteHandler(MENU_ID_BRW_CLEAR_COOKIES, mmi_brw_setting_clear_cookies_highlight_hdlr);
- #if defined (WAP_SEC_SUPPORT) && defined (JATAAYU_SUPPORT)
- SetHiliteHandler(MENU_ID_BRW_TRUSTED_CERTIFICATES, mmi_brw_setting_trusted_certificates_highlight_hdlr);
- #endif
- /* hint handler */
- SetHintHandler(MENU_ID_BRW_SERVICE_MESSAGES, mmi_brw_setting_service_messages_hint_hdlr);
- /* Added by Sandeep to read the values from NVRAM */
- mmi_brw_read_setting_browser_option();
- }
- /* ------------------------Settings----------------------------// */
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_highlight_hdlr
- * DESCRIPTION
- * Highlight handler for Settings in WAP browser main menu
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_highlight_hdlr(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
- ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
- SetLeftSoftkeyFunction(mmi_brw_entry_setting, KEY_EVENT_UP);
- SetKeyHandler(mmi_brw_entry_setting, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_entry_setting
- * DESCRIPTION
- * Entry function for settings screen from main menu
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_entry_setting(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- U8 *guiBuffer;
- U16 nStrItemList[MAX_SUB_MENUS];
- U8 *nHintList[MAX_SUB_MENUS];
- U16 nNumofItem;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- EntryNewScreen(SCR_ID_BRW_SETTINGS, NULL, mmi_brw_entry_setting, NULL);
- guiBuffer = GetCurrGuiBuffer(SCR_ID_BRW_SETTINGS);
- nNumofItem = GetNumOfChild(MENU_ID_BRW_SETTINGS_1);
- GetSequenceStringIds(MENU_ID_BRW_SETTINGS_1, nStrItemList);
- SetParentHandler(MENU_ID_BRW_SETTINGS_1);
- ConstructHintsList(MENU_ID_BRW_SETTINGS_1, nHintList);
- RegisterHighlightHandler(ExecuteCurrHiliteHandler);
- ShowCategory52Screen(
- STR_ID_BRW_SETTINGS,
- GetRootTitleIcon(SERVICES_WAP_MENU_ID),
- STR_GLOBAL_OK,
- IMG_GLOBAL_OK,
- STR_GLOBAL_BACK,
- IMG_GLOBAL_BACK,
- nNumofItem,
- nStrItemList,
- (U16*) gIndexIconsImageList,
- nHintList,
- 0,
- 0,
- guiBuffer);
- SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
- SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_ren_page_setting_highlight_hdlr
- * DESCRIPTION
- * Highlight handler for Settings on rendered page
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_ren_page_setting_highlight_hdlr(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
- ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
- SetLeftSoftkeyFunction(mmi_brw_ren_page_entry_setting, KEY_EVENT_UP);
- SetKeyHandler(mmi_brw_ren_page_entry_setting, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_ren_page_entry_setting
- * DESCRIPTION
- * Entry function for settings screen from rendered page
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_ren_page_entry_setting(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- U8 *guiBuffer;
- U16 nStrItemList[MAX_SUB_MENUS];
- U8 *nHintList[MAX_SUB_MENUS];
- U16 nNumofItem;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- EntryNewScreen(SCR_ID_BRW_SETTINGS, NULL, mmi_brw_ren_page_entry_setting, NULL);
- guiBuffer = GetCurrGuiBuffer(SCR_ID_BRW_SETTINGS);
- nNumofItem = GetNumOfChild(MENU_ID_BRW_SETTINGS_2);
- GetSequenceStringIds(MENU_ID_BRW_SETTINGS_2, nStrItemList);
- SetParentHandler(MENU_ID_BRW_SETTINGS_2);
- ConstructHintsList(MENU_ID_BRW_SETTINGS_2, nHintList);
- RegisterHighlightHandler(ExecuteCurrHiliteHandler);
- ShowCategory52Screen(
- STR_ID_BRW_SETTINGS,
- GetRootTitleIcon(SERVICES_WAP_MENU_ID),
- STR_GLOBAL_OK,
- IMG_GLOBAL_OK,
- STR_GLOBAL_BACK,
- IMG_GLOBAL_BACK,
- nNumofItem,
- nStrItemList,
- (U16*) gIndexIconsImageList,
- nHintList,
- 0,
- 0,
- guiBuffer);
- SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
- SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
- }
- /* -------------------------Profile------------------------------// */
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_select_profile_highlight_hdlr
- * DESCRIPTION
- * Entry function for profile menu
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_select_profile_highlight_hdlr(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
- ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
- /* PMT DARA PROFILE HANDLER 020106 */
- SetLeftSoftkeyFunction(mmi_brw_show_profile_list, KEY_EVENT_UP);
- SetKeyHandler(mmi_brw_show_profile_list, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_show_profile_list
- * DESCRIPTION
- * Entry function for select profile menu
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- /* PMT DARA PROFILE HANDLER 020106 */
- void mmi_brw_show_profile_list(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- mmi_ph_pre_entry_show_profile_list_menu(PH_BROWSER_PROFILE);
- }
- /* -------------------------Browser Option-----------------------------// */
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_read_setting_browser_option
- * DESCRIPTION
- * Function to read settings from NVRAM
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_read_setting_browser_option(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- S16 error;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ReadValue(NVRAM_BRW_TIME_OUT_VALUE, &(g_brw_cntx.timeout_value), DS_SHORT, &error);
- if (g_brw_cntx.timeout_value == 0xFFFF)
- {
- g_brw_cntx.timeout_value = WAP_CUSTOM_CFG_DEFAULT_BROWSE_TIMEOUT;
- WriteValue(NVRAM_BRW_TIME_OUT_VALUE, &(g_brw_cntx.timeout_value), DS_SHORT, &error);
- }
- ReadValue(NVRAM_BRW_SHOW_IMAGE_ON_OFF, &(g_brw_cntx.show_images), DS_BYTE, &error);
- if (g_brw_cntx.show_images == 0xFF)
- {
- g_brw_cntx.show_images = WAP_CUSTOM_CFG_DEFAULT_SHOW_IMAGES_ON;
- WriteValue(NVRAM_BRW_SHOW_IMAGE_ON_OFF, &(g_brw_cntx.show_images), DS_BYTE, &error);
- }
- ReadValue(NVRAM_BRW_SHOW_HISTORY_AS, &(g_brw_cntx.show_history_as_url), DS_BYTE, &error);
- if (g_brw_cntx.show_history_as_url == 0xFF)
- {
- g_brw_cntx.show_history_as_url = WAP_CUSTOM_CFG_DEFAULT_SHOW_HISTORY_AS_URL;
- WriteValue(NVRAM_BRW_SHOW_HISTORY_AS, &(g_brw_cntx.show_history_as_url), DS_BYTE, &error);
- }
- ReadValue(NVRAM_BRW_IMAGE_SELECTION_ON_OFF, &(g_brw_cntx.image_selection), DS_BYTE, &error);
- if (g_brw_cntx.image_selection == 0xFF)
- {
- g_brw_cntx.image_selection = WAP_CUSTOM_CFG_DEFAULT_IMAGE_SELECTION_ON;
- WriteValue(NVRAM_BRW_IMAGE_SELECTION_ON_OFF, &(g_brw_cntx.image_selection), DS_BYTE, &error);
- }
- /* added by tk */
- ReadValue(NVRAM_BRW_SHOW_SERVICE_INBOX_MSG, &(g_brw_cntx.isServiceMsgSetting), DS_BYTE, &error);
- /* tk end */
- if (g_brw_cntx.isServiceMsgSetting == 0xFF)
- {
- g_brw_cntx.isServiceMsgSetting = WAP_CUSTOM_CFG_DEFAULT_SHOW_SERVICE_INBOX_MSG;
- WriteValue(NVRAM_BRW_SHOW_SERVICE_INBOX_MSG, &(g_brw_cntx.isServiceMsgSetting), DS_BYTE, &error);
- }
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_write_setting_browser_option
- * DESCRIPTION
- * Function to write settings to NVRAM
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_write_setting_browser_option(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- S16 error;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- WriteValue(NVRAM_BRW_TIME_OUT_VALUE, &(g_brw_cntx.timeout_value), DS_SHORT, &error);
- WriteValue(NVRAM_BRW_SHOW_IMAGE_ON_OFF, &(g_brw_cntx.show_images), DS_BYTE, &error);
- WriteValue(NVRAM_BRW_SHOW_HISTORY_AS, &(g_brw_cntx.show_history_as_url), DS_BYTE, &error);
- WriteValue(NVRAM_BRW_IMAGE_SELECTION_ON_OFF, &(g_brw_cntx.image_selection), DS_BYTE, &error);
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_browser_option_highlight_hdlr
- * DESCRIPTION
- * Highlight handler for browser settings option
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_browser_option_highlight_hdlr(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ChangeLeftSoftkey(STR_GLOBAL_OPTIONS, IMG_GLOBAL_OPTIONS);
- ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
- SetLeftSoftkeyFunction(mmi_brw_setting_entry_browser_option, KEY_EVENT_UP);
- SetKeyHandler(mmi_brw_setting_entry_browser_option, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_entry_browser_option
- * DESCRIPTION
- * Entry function for browser settings option
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_entry_browser_option(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- U8 *guiBuffer;
- U8 *inputBuffer;
- U16 inputBufferSize;
- U16 BrowserOptionImageList[NUMBER_OF_ITEMS_IN_BROWSER_OPTION] = {IMG_GLOBAL_L1,
- 0,
- IMG_GLOBAL_L2,
- 0,
- IMG_GLOBAL_L3,
- 0,
- IMG_GLOBAL_L4,
- 0
- };
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- EntryNewScreen(SCR_ID_BRW_BROWSER_OPTIONS, mmi_brw_setting_exit_browser_option, NULL, NULL);
- InitializeCategory57Screen();
- guiBuffer = GetCurrGuiBuffer(SCR_ID_BRW_BROWSER_OPTIONS);
- if (guiBuffer == NULL)
- {
- mmi_brw_time_out_get_string_value(gBrwTimeoutValue, g_brw_cntx.timeout_value);
- gBrwShowImageState = g_brw_cntx.show_images;
- gBrwShowHistoryState = g_brw_cntx.show_history_as_url;
- gBrwImageSelectionState = g_brw_cntx.image_selection;
- }
- else
- {
- DisableCategory57ScreenDone();
- }
- inputBuffer = GetCurrNInputBuffer(SCR_ID_BRW_BROWSER_OPTIONS, &inputBufferSize);
- SetParentHandler(0);
- mmi_brw_setting_fill_inline_struct_browser_option();
- RegisterHighlightHandler(mmi_brw_setting_highlight_browser_option_edit_inline_item);
- if (inputBuffer != NULL)
- {
- SetCategory57Data(wgui_inline_items, NUMBER_OF_ITEMS_IN_BROWSER_OPTION, inputBuffer);
- }
- ShowCategory57Screen(
- STR_ID_BRW_BROWSER_OPTIONS,
- GetRootTitleIcon(SERVICES_WAP_MENU_ID),
- STR_GLOBAL_EDIT,
- IMG_GLOBAL_OK,
- STR_GLOBAL_BACK,
- IMG_GLOBAL_BACK,
- NUMBER_OF_ITEMS_IN_BROWSER_OPTION,
- BrowserOptionImageList,
- wgui_inline_items,
- 0,
- guiBuffer);
- DisableCategory57ScreenDone();
- SetCategory57RightSoftkeyFunctions(NULL, GoBackHistory);
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_exit_browser_option
- * DESCRIPTION
- * Exit function for browser settings option
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_exit_browser_option(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- history h;
- S16 nHistory = 0;
- U16 inputBufferSize;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- h.scrnID = SCR_ID_BRW_BROWSER_OPTIONS;
- CloseCategory57Screen();
- h.entryFuncPtr = mmi_brw_setting_entry_browser_option;
- pfnUnicodeStrcpy((S8*) h.inputBuffer, (S8*) & nHistory);
- GetCategory57History(h.guiBuffer);
- inputBufferSize = (U16) GetCategory57DataSize();
- GetCategory57Data((U8*) h.inputBuffer);
- AddNHistory(h, inputBufferSize);
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_fill_inline_struct_browser_option
- * DESCRIPTION
- * Function to Fill valuses in inine edit screen
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_fill_inline_struct_browser_option(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- gBrwShowImagesString[0] = GetString(STR_GLOBAL_OFF);
- gBrwShowImagesString[1] = GetString(STR_GLOBAL_ON);
- gBrwShowHistoryAsString[0] = GetString(STR_ID_BRW_SHOW_HISTORY_AS_OPTION_TITLE);
- gBrwShowHistoryAsString[1] = GetString(STR_ID_BRW_SHOW_HISTORY_AS_OPTION_URL);
- gBrwShowImagesSelection[0] = GetString(STR_GLOBAL_OFF);
- gBrwShowImagesSelection[1] = GetString(STR_GLOBAL_ON);
- /* Caption */
- SetInlineItemActivation(
- &(wgui_inline_items[BRW_INLINE_TIMEOUT_CAPTION]),
- INLINE_ITEM_ACTIVATE_WITHOUT_KEY_EVENT,
- 0);
- SetInlineItemCaption(&(wgui_inline_items[BRW_INLINE_TIMEOUT_CAPTION]), (U8*) GetString(STR_ID_BRW_TIMEOUT));
- /* Inline Edit */
- SetInlineItemActivation(&(wgui_inline_items[BRW_INLINE_TIMEOUT_EDIT]), INLINE_ITEM_ACTIVATE_WITHOUT_KEY_EVENT, 0);
- SetInlineItemTextEdit(
- &(wgui_inline_items[BRW_INLINE_TIMEOUT_EDIT]),
- (U8*) gBrwTimeoutValue,
- BRW_TIME_OUT_LEN + 1,
- INPUT_TYPE_NUMERIC);
- LeftJustifyInlineItem(&(wgui_inline_items[BRW_INLINE_TIMEOUT_EDIT]));
- DisableInlineItemHighlight(&wgui_inline_items[BRW_INLINE_TIMEOUT_EDIT]);
- /* Caption */
- SetInlineItemActivation(
- &(wgui_inline_items[BRW_INLINE_SHOW_IMAGES_CAPTION]),
- INLINE_ITEM_ACTIVATE_WITHOUT_KEY_EVENT,
- 0);
- SetInlineItemCaption(
- &(wgui_inline_items[BRW_INLINE_SHOW_IMAGES_CAPTION]),
- (U8*) GetString(STR_ID_BRW_SHOW_IMAGES));
- /* Inline Select */
- SetInlineItemActivation(
- &(wgui_inline_items[BRW_INLINE_SHOW_IMAGES_SELECT]),
- INLINE_ITEM_ACTIVATE_WITHOUT_KEY_EVENT,
- 0);
- SetInlineItemSelect(
- &(wgui_inline_items[BRW_INLINE_SHOW_IMAGES_SELECT]),
- (S32) BRW_SHOW_IMAGES_OPTION,
- (U8 **) gBrwShowImagesString,
- &gBrwShowImageState);
- /* Caption */
- SetInlineItemActivation(
- &(wgui_inline_items[BRW_INLINE_SHOW_HISTORY_CAPTION]),
- INLINE_ITEM_ACTIVATE_WITHOUT_KEY_EVENT,
- 0);
- SetInlineItemCaption(
- &(wgui_inline_items[BRW_INLINE_SHOW_HISTORY_CAPTION]),
- (U8*) GetString(STR_ID_BRW_SHOW_ADDRESS_LIST_AS));
- /* Inline Select */
- SetInlineItemActivation(
- &(wgui_inline_items[BRW_INLINE_SHOW_HISTORY_SELECT]),
- INLINE_ITEM_ACTIVATE_WITHOUT_KEY_EVENT,
- 0);
- SetInlineItemSelect(
- &(wgui_inline_items[BRW_INLINE_SHOW_HISTORY_SELECT]),
- (S32) BRW_SHOW_HISTORY_AS_OPTION,
- (U8 **) gBrwShowHistoryAsString,
- &gBrwShowHistoryState);
- /* Caption for image selection */
- SetInlineItemActivation(
- &(wgui_inline_items[BRW_INLINE_IMAGES_SELECTION_CAPTION]),
- INLINE_ITEM_ACTIVATE_WITHOUT_KEY_EVENT,
- 0);
- SetInlineItemCaption(
- &(wgui_inline_items[BRW_INLINE_IMAGES_SELECTION_CAPTION]),
- (U8*) GetString(STR_ID_BRW_IMAGE_SELECTION));
- /* Inline Select for image selection */
- SetInlineItemActivation(
- &(wgui_inline_items[BRW_INLINE_IMAGES_SELECTION_SELECT]),
- INLINE_ITEM_ACTIVATE_WITHOUT_KEY_EVENT,
- 0);
- SetInlineItemSelect(
- &(wgui_inline_items[BRW_INLINE_IMAGES_SELECTION_SELECT]),
- (S32) BRW_SHOW_IMAGES_OPTION,
- (U8 **) gBrwShowImagesSelection,
- &gBrwImageSelectionState);
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_highlight_browser_option_edit_inline_item
- * DESCRIPTION
- *
- * PARAMETERS
- * index [IN]
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_highlight_browser_option_edit_inline_item(S32 index)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
- SetLeftSoftkeyFunction(mmi_brw_setting_browser_option_confirm_save, KEY_EVENT_UP);
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_browser_option_confirm_save
- * DESCRIPTION
- * Function to confirm save settings
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_browser_option_confirm_save(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- DisplayConfirm(
- STR_GLOBAL_YES,
- IMG_GLOBAL_YES,
- STR_GLOBAL_NO,
- IMG_GLOBAL_NO,
- get_string(STR_GLOBAL_SAVE),
- IMG_GLOBAL_QUESTION,
- WARNING_TONE);
- SetLeftSoftkeyFunction(mmi_brw_setting_browser_option_save, KEY_EVENT_UP);
- SetRightSoftkeyFunction(mmi_brw_setting_browser_option_cancel_save, KEY_EVENT_UP); /* added by tk */
- }
- /* added by tk */
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_browser_option_cancel_save
- * DESCRIPTION
- * Function to cacel confirm save settings
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_browser_option_cancel_save(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- GoBackToHistory(SCR_ID_BRW_SETTINGS);
- }
- /* tk end */
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_browser_option_save
- * DESCRIPTION
- * Function to save the settings
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_browser_option_save(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- S8 timeout[BRW_TIME_OUT_LEN + 1];
- U16 timeoutvalue;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- UnicodeToAnsii(timeout, (S8*) gBrwTimeoutValue);
- timeoutvalue = atoi(timeout);
- if (timeoutvalue < 30 || timeoutvalue > 300)
- {
- DisplayPopup(
- (PU8) GetString(STR_ID_BRW_INVALID_TIMEOUT),
- IMG_GLOBAL_ERROR,
- 0,
- JBROWSER_POPUP_TIME,
- ERROR_TONE);
- return;
- }
- g_brw_cntx.timeout_value = timeoutvalue;
- g_brw_cntx.show_images = gBrwShowImageState;
- g_brw_cntx.show_history_as_url = gBrwShowHistoryState;
- g_brw_cntx.image_selection = gBrwImageSelectionState;
- mmi_brw_write_setting_browser_option();
- /* Added by sandeep to set the timeout value */
- mmi_brw_set_connection_active_flag(MMI_FALSE);
- /* Added by Sandeep to set if images should be shown on the rendered page or not */
- jdi_BrowserGraphicsEnable(pBrowserCtxt, g_brw_cntx.show_images);
- jdi_BrowserSetImageAsSelectable(pBrowserCtxt, g_brw_cntx.image_selection);
- DisplayPopup(
- (PU8) GetString(STR_GLOBAL_DONE),
- IMG_GLOBAL_ACTIVATED,
- 0,
- JBROWSER_POPUP_TIME,
- SUCCESS_TONE);
- DeleteUptoScrID(SCR_ID_BRW_SETTINGS);
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_time_out_get_string_value
- * DESCRIPTION
- * Function to make the string from a value
- * PARAMETERS
- * StringVal [?]
- * value [IN]
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_time_out_get_string_value(S8 *StringVal, U16 value)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- S8 StrVal[16];
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- sprintf(StrVal, "%d", value);
- AnsiiToUnicodeString(StringVal, StrVal);
- }
- /* -------------------------Service Messages---------------------------// */
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_service_messages_highlight_hdlr
- * DESCRIPTION
- * Highlight handler of Service Messages menu item.
- * Register key handlers.
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_service_messages_highlight_hdlr(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- if (g_brw_cntx.isServiceMsgSetting) /* added by tk */
- {
- ChangeLeftSoftkey(STR_GLOBAL_OFF, 0);
- }
- else
- {
- ChangeLeftSoftkey(STR_GLOBAL_ON, 0);
- }
- SetLeftSoftkeyFunction(mmi_brw_setting_service_messages_toggle, KEY_EVENT_UP);
- ClearKeyHandler(KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(GoBackHistory, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_service_messages_hint_hdlr
- * DESCRIPTION
- * Hint Handler of service messages.
- * PARAMETERS
- * index [IN]
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_service_messages_hint_hdlr(U16 index)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- memset((S8*) hintData[index], 0, sizeof(hintData[index]));
- if (g_brw_cntx.isServiceMsgSetting) /* added by tk */
- {
- pfnUnicodeStrcpy((S8*) hintData[index], GetString(STR_GLOBAL_ON));
- }
- else
- {
- pfnUnicodeStrcpy((S8*) hintData[index], GetString(STR_GLOBAL_OFF));
- }
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_service_messages_toggle
- * DESCRIPTION
- * Toggle state of service messages.
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_service_messages_toggle(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- U16 index;
- S16 error;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- index = GetCurrHiliteID();
- if (g_brw_cntx.isServiceMsgSetting) /* added by tk */
- {
- /* service_message_status = 0; */
- g_brw_cntx.isServiceMsgSetting = E_FALSE; /* added by tk */
- mmi_brw_enable_push_Message(0); /* Added By Vivek 27 june, 2006 */
- pfnUnicodeStrcpy((PS8) hintData[index], (PS8) GetString(STR_GLOBAL_OFF));
- Category52ChangeItemDescription(index, hintData[index]);
- ChangeLeftSoftkey(STR_GLOBAL_ON, 0);
- }
- else
- {
- g_brw_cntx.isServiceMsgSetting = E_TRUE; /* added by tk */
- mmi_brw_enable_push_Message(1); /* Added By Vivek 27 june, 2006 */
- pfnUnicodeStrcpy((PS8) hintData[index], (PS8) GetString(STR_GLOBAL_ON));
- Category52ChangeItemDescription(index, hintData[index]);
- ChangeLeftSoftkey(STR_GLOBAL_OFF, 0);
- }
- /* PMT ADDED BY TK */
- WriteValue(NVRAM_BRW_SHOW_SERVICE_INBOX_MSG, &(g_brw_cntx.isServiceMsgSetting), DS_BYTE, &error);
- /* PMT TK END */
- RedrawCategoryFunction();
- mmi_brw_setting_service_messages_highlight_hdlr();
- }
- /* ---------------------------Clear Cache------------------------------// */
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_clear_cache_highlight_hdlr
- * DESCRIPTION
- * Highlight handler of Clear Cache menu item.
- * Register key handlers.
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_clear_cache_highlight_hdlr(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
- ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
- SetLeftSoftkeyFunction(mmi_brw_setting_clear_cache_confirm, KEY_EVENT_UP);
- /* SetKeyHandler(mmi_brw_setting_clear_cache_confirm, KEY_RIGHT_ARROW, KEY_EVENT_DOWN); */
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_clear_cache_confirm
- * DESCRIPTION
- * This function displays the confirmation screen for deleting the
- * browser setting cache.
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_clear_cache_confirm(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- DisplayConfirm(
- STR_GLOBAL_YES,
- IMG_GLOBAL_YES,
- STR_GLOBAL_NO,
- IMG_GLOBAL_NO,
- get_string(STR_ID_BRW_DELETE_CACHE),
- IMG_GLOBAL_QUESTION,
- WARNING_TONE);
- SetLeftSoftkeyFunction(mmi_brw_setting_clear_cache, KEY_EVENT_UP);
- SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_clear_cache
- * DESCRIPTION
- * Deletes the Browser Setting Cache.
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_clear_cache(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- JC_RETCODE eRet = JC_OK;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- eRet = jdi_BrowserClearCache(pBrowserCtxt);
- if (eRet == JC_OK)
- {
- /* jdi_BrowserCacheSave(pBrowserCtxt); */
- DisplayPopup(
- (PU8) GetString(STR_GLOBAL_DONE),
- IMG_GLOBAL_ACTIVATED,
- 0,
- JBROWSER_POPUP_TIME,
- SUCCESS_TONE);
- /* Clear all the Authorization Information along with Clear Cache */
- jdi_BrowserClearAuthInfo(pBrowserCtxt, E_BR_CLEAR_ALL);
- }
- else
- {
- DisplayPopup(
- (PU8) GetString(STR_GLOBAL_ERROR),
- IMG_GLOBAL_ERROR,
- 1,
- JBROWSER_POPUP_TIME,
- ERROR_TONE);
- }
- }
- /* ---------------------------Clear Cookies------------------------------// */
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_clear_cookies_highlight_hdlr
- * DESCRIPTION
- * Highlight handler of Clear Cookies menu item.
- * Register key handlers.
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_clear_cookies_highlight_hdlr(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
- ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
- SetLeftSoftkeyFunction(mmi_brw_setting_clear_cookies_confirm, KEY_EVENT_UP);
- /* SetKeyHandler(mmi_brw_setting_clear_cookies_confirm, KEY_RIGHT_ARROW,KEY_EVENT_DOWN); */
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_clear_cookies_confirm
- * DESCRIPTION
- * This function displays the confirmation screen for deleting the
- * browser setting cookies.
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_clear_cookies_confirm(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- DisplayConfirm(
- STR_GLOBAL_YES,
- IMG_GLOBAL_YES,
- STR_GLOBAL_NO,
- IMG_GLOBAL_NO,
- get_string(STR_ID_BRW_DELETE_COOKIES),
- IMG_GLOBAL_QUESTION,
- WARNING_TONE);
- SetLeftSoftkeyFunction(mmi_brw_setting_clear_cookies, KEY_EVENT_UP);
- SetRightSoftkeyFunction(GoBackHistory, KEY_EVENT_UP);
- }
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_clear_cookies
- * DESCRIPTION
- * Deletes the Browser Setting Cookies.
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_setting_clear_cookies(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- JC_RETCODE eRet = JC_OK;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- eRet = jdi_BrowserClearCookie(pBrowserCtxt);
- if (eRet == JC_OK)
- {
- jdi_BrowserCookieSave(pBrowserCtxt);
- DisplayPopup(
- (PU8) GetString(STR_GLOBAL_DONE),
- IMG_GLOBAL_ACTIVATED,
- 0,
- JBROWSER_POPUP_TIME,
- SUCCESS_TONE);
- }
- else
- {
- DisplayPopup(
- (PU8) GetString(STR_GLOBAL_ERROR),
- IMG_GLOBAL_ERROR,
- 1,
- JBROWSER_POPUP_TIME,
- ERROR_TONE);
- }
- }
- /* ---------------------------Trusted Certificates---------------------------// */
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_setting_trusted_certificates_highlight_hdlr
- * DESCRIPTION
- * Highlight handler of Trusted Certificates menu item.
- * Register key handlers.
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- #if defined (WAP_SEC_SUPPORT) && defined (JATAAYU_SUPPORT)
- void mmi_brw_setting_trusted_certificates_highlight_hdlr(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- ChangeLeftSoftkey(STR_GLOBAL_OK, IMG_GLOBAL_OK);
- ChangeRightSoftkey(STR_GLOBAL_BACK, IMG_GLOBAL_BACK);
- SetLeftSoftkeyFunction(NULL, KEY_EVENT_UP);
- SetKeyHandler(NULL, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
- }
- #endif /* defined (WAP_SEC_SUPPORT) && defined (JATAAYU_SUPPORT) */
- /*****************************************************************************
- * FUNCTION
- * mmi_brw_set_timeout_value
- * DESCRIPTION
- * External function to set the timeout value
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void mmi_brw_set_timeout_value(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- nvram_wap_profile_content_struct *activated_wap_profile;
- ST_BROWSER_SET_OPTION brw_set_timeout;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- activated_wap_profile = mmi_ph_get_activated_wap_profile();
- if (activated_wap_profile->conn_type == PH_CONN_TYPE_HTTP)
- {
- brw_set_timeout.iMaxConnectRetries = 0;
- brw_set_timeout.iTimeOutVal = g_brw_cntx.timeout_value;
- }
- else
- {
- brw_set_timeout.iMaxConnectRetries = BRW_MAX_WSP_RETRIES;
- brw_set_timeout.iTimeOutVal = (g_brw_cntx.timeout_value)/(BRW_MAX_WSP_RETRIES+1);
- }
- jdi_BrowserSetOption(pBrowserCtxt, &brw_set_timeout);
- }
- #endif /* defined (JATAAYU_SUPPORT) && defined (WAP_SUPPORT) */ /* #if defined (JATAAYU_SUPPORT) && defined (WAP_SUPPORT) */
- /* PMT HIMANSHU END 20051207 */
- #endif /* _MMI_JBROWSERMMISETTINGS_C */