wgui_categories.h
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:55k
源码类别:

MTK

开发平台:

C/C++

  1. /*****************************************************************************
  2. *  Copyright Statement:
  3. *  --------------------
  4. *  This software is protected by Copyright and the information contained
  5. *  herein is confidential. The software may not be copied and the information
  6. *  contained herein may not be used or disclosed except with the written
  7. *  permission of MediaTek Inc. (C) 2005
  8. *
  9. *  BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
  10. *  THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
  11. *  RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
  12. *  AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
  13. *  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
  14. *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
  15. *  NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
  16. *  SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
  17. *  SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
  18. *  THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
  19. *  NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
  20. *  SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
  21. *
  22. *  BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
  23. *  LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
  24. *  AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
  25. *  OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
  26. *  MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. 
  27. *
  28. *  THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
  29. *  WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
  30. *  LAWS PRINCIPLES.  ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
  31. *  RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
  32. *  THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
  33. *
  34. *****************************************************************************/
  35. /*******************************************************************************
  36.  * Filename:
  37.  * ---------
  38.  *  wgui_categories.h
  39.  *
  40.  * Project:
  41.  * --------
  42.  *   MAUI
  43.  *
  44.  * Description:
  45.  * ------------
  46.  *  Ordinary categories.
  47.  *
  48.  *  Author:
  49.  * -------
  50.  *  Leo Hu (MTK00563)
  51.  *
  52.  *==============================================================================
  53.  *             HISTORY
  54.  * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! 
  55.  *------------------------------------------------------------------------------
  56.  * removed!
  57.  *
  58.  * removed!
  59.  * removed!
  60.  * removed!
  61.  *
  62.  * removed!
  63.  * removed!
  64.  * removed!
  65.  *
  66.  * removed!
  67.  * removed!
  68.  * removed!
  69.  *
  70.  * removed!
  71.  * removed!
  72.  * removed!
  73.  *
  74.  * removed!
  75.  * removed!
  76.  * removed!
  77.  *
  78.  * removed!
  79.  * removed!
  80.  * removed!
  81.  *
  82.  * removed!
  83.  * removed!
  84.  * removed!
  85.  *
  86.  * removed!
  87.  * removed!
  88.  * removed!
  89.  *
  90.  * removed!
  91.  * removed!
  92.  * removed!
  93.  *
  94.  * removed!
  95.  * removed!
  96.  * removed!
  97.  *
  98.  * removed!
  99.  * removed!
  100.  * removed!
  101.  *
  102.  * removed!
  103.  * removed!
  104.  * removed!
  105.  *
  106.  * removed!
  107.  * removed!
  108.  * removed!
  109.  *
  110.  * removed!
  111.  * removed!
  112.  * removed!
  113.  *
  114.  * removed!
  115.  * removed!
  116.  * removed!
  117.  *
  118.  * removed!
  119.  * removed!
  120.  * removed!
  121.  *
  122.  * removed!
  123.  * removed!
  124.  * removed!
  125.  *
  126.  * removed!
  127.  * removed!
  128.  * removed!
  129.  *
  130.  * removed!
  131.  * removed!
  132.  * removed!
  133.  *
  134.  * removed!
  135.  * removed!
  136.  * removed!
  137.  *
  138.  * removed!
  139.  * removed!
  140.  * removed!
  141.  *
  142.  * removed!
  143.  * removed!
  144.  * removed!
  145.  *
  146.  * removed!
  147.  * removed!
  148.  * removed!
  149.  *
  150.  * removed!
  151.  * removed!
  152.  * removed!
  153.  *
  154.  * removed!
  155.  * removed!
  156.  * removed!
  157.  *
  158.  * removed!
  159.  * removed!
  160.  * removed!
  161.  *
  162.  * removed!
  163.  * removed!
  164.  * removed!
  165.  *
  166.  * removed!
  167.  * removed!
  168.  * removed!
  169.  *
  170.  * removed!
  171.  * removed!
  172.  * removed!
  173.  *
  174.  * removed!
  175.  * removed!
  176.  * removed!
  177.  *
  178.  * removed!
  179.  * removed!
  180.  * removed!
  181.  *
  182.  * removed!
  183.  * removed!
  184.  * removed!
  185.  *
  186.  * removed!
  187.  * removed!
  188.  * removed!
  189.  *
  190.  * removed!
  191.  * removed!
  192.  * removed!
  193.  *
  194.  * removed!
  195.  * removed!
  196.  * removed!
  197.  *
  198.  * removed!
  199.  * removed!
  200.  * removed!
  201.  *
  202.  * removed!
  203.  * removed!
  204.  * removed!
  205.  *
  206.  *------------------------------------------------------------------------------
  207.  * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! 
  208.  *==============================================================================
  209.  *******************************************************************************/
  210.  /**
  211.  * Copyright Notice
  212.  * (c) 2002 - 2003, Pixtel Communications, Inc., 1489 43rd Ave. W.,
  213.  * Vancouver, B.C. V6M 4K8 Canada. All Rights Reserved.
  214.  *  (It is illegal to remove this copyright notice from this software or any
  215.  *  portion of it)
  216.  */
  217. /**********************************************************************************
  218.    Filename:      wgui_categories.h
  219.    Author:        manju, Vandana Mehtani, Vandana Dhawan
  220.    Date Created:  August-07-2002
  221.    Contains:      PixTel UI wrapper routines Header
  222.                High Level Category screen wrappers Header
  223. **********************************************************************************/
  224. #ifndef __WGUI_CATEGORIES_H__
  225. #define __WGUI_CATEGORIES_H__
  226. #include "MMI_features.h"
  227. #include "wgui.h"
  228. #include "wgui_softkeys.h"
  229. #include "wgui_menu_shortcuts.h"
  230. #include "wgui_fixed_menus.h"
  231. #include "wgui_fixed_menuitems.h"
  232. #include "wgui_inputs.h"
  233. #include "wgui_datetime.h"
  234. #include "wgui_inline_edit.h"
  235. #include "CustMenuRes.h"
  236. #include "gui_config.h"
  237. /* MTK Add By Tim for load items on demand */
  238. #include "wgui_dynamic_menus.h"
  239. #include "wgui_dynamic_menuitems.h"
  240. /* End MTK: Tim */
  241. #include "wgui_asyncdynamic_menus.h"
  242. #include "wgui_asyncdynamic_menuitems.h"
  243. #include "wgui_categories_util.h"
  244. #ifdef __cplusplus
  245. extern "C"
  246. {
  247. #endif /* __cplusplus */ 
  248. #define MAX_CATEGORY89_STRINGS            64
  249. #define MAX_CATEGORY89_STRING_LENGTH      8
  250. #define CATEGORY_RES_TYPE_IMAGE           0
  251. #define CATEGORY_RES_TYPE_VIDEO           1
  252. typedef enum MMI_IDLE_BG_MEDIA_ENUM
  253. {
  254.     MMI_IDLE_BG_MEDIA_START,
  255.     MMI_IDLE_BG_MEDIA_IMG,
  256.     MMI_IDLE_BG_MEDIA_SWFLASH,
  257.     MMI_IDLE_BG_MEDIA_END
  258. } mmi_idle_bg_media_enum;
  259.     
  260.     extern void show_vertical_bar_previous(void);
  261.     extern void show_vertical_bar_next(void);
  262.     extern void show_vertical_bar(S32 volume_level);
  263. /********** CATEGORY SCREEN START   **********/
  264.     extern void ShowCategoryDummyScreen(void);//061306 dummy category
  265.     extern void ExitCategoryDummyScreen(void);
  266.     extern void ShowCategory1Screen(
  267.                     U16 title,
  268.                     U16 title_icon,
  269.                     U16 left_softkey,
  270.                     U16 left_softkey_icon,
  271.                     U16 right_softkey,
  272.                     U16 right_softkey_icon,
  273.                     S32 number_of_items,
  274.                     U16 *list_of_items,
  275.                     S32 highlighted_item,
  276.                     U8 *history_buffer);
  277.     extern void ShowCategory2Screen(
  278.                     U16 title,
  279.                     U16 title_icon,
  280.                     U16 left_softkey,
  281.                     U16 left_softkey_icon,
  282.                     U16 right_softkey,
  283.                     U16 right_softkey_icon,
  284.                     U16 message,
  285.                     U8 *history_buffer);
  286.     extern void ShowCategory6Screen(
  287.                     U16 title,
  288.                     U16 title_icon,
  289.                     U16 left_softkey,
  290.                     U16 left_softkey_icon,
  291.                     U16 right_softkey,
  292.                     U16 right_softkey_icon,
  293.                     S32 number_of_items,
  294.                     U8 **list_of_items,
  295.                     U8 **list_of_descriptions,
  296.                     S32 highlighted_item,
  297.                     U8 *history_buffer);
  298.     extern void ShowCategory501Screen(
  299.                     U16 title,
  300.                     U16 title_icon,
  301.                     U16 left_softkey,
  302.                     U16 left_softkey_icon,
  303.                     U16 right_softkey,
  304.                     U16 right_softkey_icon,
  305.                     U8* message_str,
  306.                     U8 *history_buffer);
  307.     extern void ShowCategory7Screen(
  308.                     U16 title,
  309.                     U16 title_icon,
  310.                     U16 left_softkey,
  311.                     U16 left_softkey_icon,
  312.                     U16 right_softkey,
  313.                     U16 right_softkey_icon,
  314.                     U8 *message,
  315.                     U8 *history_buffer);
  316.     extern void ExitCategory7Screen(void);
  317.     extern void ShowCategory8Screen(
  318.                     U16 title,
  319.                     U16 title_icon,
  320.                     U16 left_softkey,
  321.                     U16 left_softkey_icon,
  322.                     U16 right_softkey,
  323.                     U16 right_softkey_icon,
  324.                     U16 message,
  325.                     U16 message_icon,
  326.                     U8 *history_buffer);
  327.     extern void ShowCategory208Screen(
  328.                     U16 title,
  329.                     U16 title_icon,
  330.                     U16 left_softkey,
  331.                     U16 left_softkey_icon,
  332.                     U16 right_softkey,
  333.                     U16 right_softkey_icon,
  334.                     S8 *message,
  335.                     U16 message_icon,
  336.                     U8 *history_buffer);
  337.     extern void ShowCategory9Screen(U16 message, U16 message_icon, U8 *history_buffer);
  338.     extern void ExitCategory9Screen(void);
  339.     extern void ShowCategory84Screen(
  340.                     U16 title,
  341.                     U16 title_icon,
  342.                     U16 left_softkey,
  343.                     U16 left_softkey_icon,
  344.                     U16 right_softkey,
  345.                     U16 right_softkey_icon,
  346.                     S32 number_of_items,
  347.                     U8 **list_of_items,
  348.                     U16 *list_of_icons,
  349.                     S32 flags,
  350.                     S32 highlighted_item,
  351.                     U8 *history_buffer);
  352.     extern void ShowCategory11Screen(
  353.                     U16 title,
  354.                     U16 title_icon,
  355.                     U16 left_softkey,
  356.                     U16 left_softkey_icon,
  357.                     U16 right_softkey,
  358.                     U16 right_softkey_icon,
  359.                     S32 number_of_items,
  360.                     U16 *list_of_items,
  361.                     U16 highlighted_item,
  362.                     U8 *history_buffer);
  363.     extern void ShowCategory12Screen(
  364.                     U16 title,
  365.                     U16 title_icon,
  366.                     U16 left_softkey,
  367.                     U16 left_softkey_icon,
  368.                     U16 right_softkey,
  369.                     U16 right_softkey_icon,
  370.                     S32 number_of_items,
  371.                     U8 **list_of_items,
  372.                     U8 *list_of_states,
  373.                     S32 highlighted_item,
  374.                     U8 *history_buffer);
  375.     extern void ShowCategory13Screen(
  376.                     U16 title,
  377.                     U16 title_icon,
  378.                     U16 left_softkey,
  379.                     U16 left_softkey_icon,
  380.                     U16 right_softkey,
  381.                     U16 right_softkey_icon,
  382.                     S32 number_of_items,
  383.                     U16 *list_of_items,
  384.                     U8 *list_of_states,
  385.                     S32 highlighted_item,
  386.                     U8 *history_buffer);
  387.     extern void ShowCategory15Screen(
  388.                     U16 title,
  389.                     U16 title_icon,
  390.                     U16 left_softkey,
  391.                     U16 left_softkey_icon,
  392.                     U16 right_softkey,
  393.                     U16 right_softkey_icon,
  394.                     S32 number_of_items,
  395.                     U16 *list_of_items,
  396.                     U16 *list_of_icons,
  397.                     S32 flags,
  398.                     S32 highlighted_item,
  399.                     U8 *history_buffer);
  400.     extern void ExitCategory15Screen(void);
  401.     extern S32 GetCategory15HistorySize(void);
  402.     extern U8 *GetCategory15History(U8 *history_buffer);
  403.     /* START VIJAY PMT 20050930 */
  404. #ifdef UI_SMALL_LIST_SCREEN
  405.     extern void ShowCategory10Screen(
  406.                     U16 title,
  407.                     U16 title_icon,
  408.                     U16 left_softkey,
  409.                     U16 left_softkey_icon,
  410.                     U16 right_softkey,
  411.                     U16 right_softkey_icon,
  412.                     S32 number_of_items,
  413.                     U16 *list_of_items,
  414.                     U16 *list_of_icons,
  415.                     S32 highlighted_item,
  416.                     U8 *history_buffer);
  417.     extern void ExitCategory10Screen(void);
  418. #endif /* UI_SMALL_LIST_SCREEN */ 
  419.     /* END VIJAY PMT 20050930 */
  420.     extern void ShowCategory21Screen(
  421.                     U16 title,
  422.                     U16 title_icon,
  423.                     U16 left_softkey,
  424.                     U16 left_softkey_icon,
  425.                     U16 right_softkey,
  426.                     U16 right_softkey_icon,
  427.                     U16 message,
  428.                     U8 *history_buffer);
  429.     extern void ShowCategory22Screen(
  430.                     U16 title,
  431.                     U16 title_icon,
  432.                     U16 left_softkey,
  433.                     U16 left_softkey_icon,
  434.                     U16 right_softkey,
  435.                     U16 right_softkey_icon,
  436.                     S32 num_of_symbols,
  437.                     U8 **MMI_symbols,
  438.                     S32 highlighted_item,
  439.                     U8 *history_buffer);
  440.     extern void ExitCategory22Screen(void);
  441.     extern S32 GetCategory22HistorySize(void);
  442.     extern U8 *GetCategory22History(U8 *history_buffer);
  443.     extern void ShowCategory32Screen(
  444.                     U8 *title,
  445.                     PU8 title_icon,
  446.                     U8 *left_softkey,
  447.                     PU8 left_softkey_icon,
  448.                     U8 *right_softkey,
  449.                     PU8 right_softkey_icon,
  450.                     S32 number_of_items,
  451.                     U8 **list_of_items,
  452.                     PU8 *list_of_icons,
  453.                     S32 flags,
  454.                     S32 highlighted_item,
  455.                     U8 *history_buffer);
  456.     extern void ExitCategory32Screen(void);
  457.     extern U8 *GetCategory32History(U8 *history_buffer);
  458.     extern void ShowCategory36Screen(
  459.                     U16 title,
  460.                     U16 title_icon,
  461.                     U16 left_softkey,
  462.                     U16 left_softkey_icon,
  463.                     U16 right_softkey,
  464.                     U16 right_softkey_icon,
  465.                     S32 number_of_items,
  466.                     U8 **list_of_items,
  467.                     U16 highlighted_item,
  468.                     U8 *history_buffer);
  469.     extern void ShowCategory101Screen(
  470.                     U16 title,
  471.                     U16 title_icon,
  472.                     U16 left_softkey,
  473.                     U16 left_softkey_icon,
  474.                     U16 right_softkey,
  475.                     U16 right_softkey_icon,
  476.                     U16 parent_menu_item_ID,
  477.                     U8 *history_buffer);
  478.     extern void Category52ChangeItemText(S32 index, U8 *text);
  479.     extern void Category52ChangeItemIcon(S32 index, U16 image_ID);
  480.     extern void Category52ChangeItemDescription(S32 index, U8 *text);
  481.     extern void Category52ChangeItemDescriptionNoAnimation(S32 index, U8 *text);
  482.     extern void Category52DisablePenMove(void);
  483.     extern void ShowCategory52Screen(
  484.                     U16 title,
  485.                     U16 title_icon,
  486.                     U16 left_softkey,
  487.                     U16 left_softkey_icon,
  488.                     U16 right_softkey,
  489.                     U16 right_softkey_icon,
  490.                     S32 number_of_items,
  491.                     U16 *list_of_items,
  492.                     U16 *list_of_icons,
  493.                     U8 **list_of_descriptions,
  494.                     S32 flags,
  495.                     S32 highlighted_item,
  496.                     U8 *history_buffer);
  497.     extern void ShowCategory53Screen(
  498.                     U16 title,
  499.                     U16 title_icon,
  500.                     U16 left_softkey,
  501.                     U16 left_softkey_icon,
  502.                     U16 right_softkey,
  503.                     U16 right_softkey_icon,
  504.                     S32 number_of_items,
  505.                     U8 **list_of_items,
  506.                     U16 *list_of_icons,
  507.                     U8 **list_of_descriptions,
  508.                     S32 flags,
  509.                     S32 highlighted_item,
  510.                     U8 *history_buffer);
  511.     extern void ExitCategory53Screen(void);
  512.     extern U8 *GetCategory53History(U8 *history_buffer);
  513.     /* Dynamic string */
  514.     extern void ShowCategory353Screen(
  515.                     U8 *title,
  516.                     U16 title_icon,
  517.                     U16 left_softkey,
  518.                     U16 left_softkey_icon,
  519.                     U16 right_softkey,
  520.                     U16 right_softkey_icon,
  521.                     S32 number_of_items,
  522.                     U8 **list_of_items,
  523.                     U16 *list_of_icons,
  524.                     U8 **list_of_descriptions,
  525.                     S32 flags,
  526.                     S32 highlighted_item,
  527.                     U8 *history_buffer);
  528.     extern void ShowCategory55Screen(
  529.                     U16 title,
  530.                     U16 title_icon,
  531.                     U16 left_softkey,
  532.                     U16 left_softkey_icon,
  533.                     U16 right_softkey,
  534.                     U16 right_softkey_icon,
  535.                     S32 number_of_items,
  536.                     U16 *list_of_items,
  537.                     U8 **list_of_descriptions,
  538.                     S32 highlighted_item,
  539.                     U8 *history_buffer);
  540.     extern void ShowCategory56Screen(
  541.                     U16 title,
  542.                     U16 title_icon,
  543.                     U16 left_softkey,
  544.                     U16 left_softkey_icon,
  545.                     U16 right_softkey,
  546.                     U16 right_softkey_icon,
  547.                     S32 number_of_items,
  548.                     U8 **list_of_items,
  549.                     U8 **list_of_descriptions,
  550.                     S32 highlighted_item,
  551.                     U8 *history_buffer);
  552.     extern void ShowCategory59Screen(
  553.                     U16 title,
  554.                     U16 title_icon,
  555.                     U16 left_softkey,
  556.                     U16 left_softkey_icon,
  557.                     U16 right_softkey,
  558.                     U16 right_softkey_icon,
  559.                     U8 *message,
  560.                     U16 message_icon,
  561.                     U8 *history_buffer);
  562.     extern void ExitCategory59Screen(void);
  563.     extern U8 *GetCategory59History(U8 *history_buffer);
  564.     extern S32 GetCategory59HistorySize(void);
  565.     extern void cat66_update_progress_string(void);
  566.     extern void ShowCategory66Screen(
  567.                     U16 title,
  568.                     U16 title_icon,
  569.                     U16 left_softkey,
  570.                     U16 left_softkey_icon,
  571.                     U16 right_softkey,
  572.                     U16 right_softkey_icon,
  573.                     U8 *message,
  574.                     U16 message_icon,
  575.                     U8 *history_buffer);
  576.     extern void ExitCategory66Screen(void);
  577.     extern U8 *GetCategory66History(U8 *history_buffer);
  578.     extern S32 GetCategory66HistorySize(void);
  579.     extern void ShowCategory61Screen(U8 *message, U16 message_icon, U8 *history_buffer);
  580.     extern void ExitCategory61Screen(void);
  581.     extern U8 *GetCategory61History(U8 *history_buffer);
  582.     extern S32 GetCategory61HistorySize(void);
  583.     extern void RedrawCategory69Screen(void);
  584.     extern void ShowCategory69Screen(
  585.                     U16 title,
  586.                     U16 title_icon,
  587.                     U16 left_softkey,
  588.                     U16 left_softkey_icon,
  589.                     U16 right_softkey,
  590.                     U16 right_softkey_icon,
  591.                     U16 message,
  592.                     S16 input_type,
  593.                     U8 *buffer,
  594.                     S32 buffer_size,
  595.                     U8 *history_buffer);
  596.     extern void ExitCategory69Screen(void);
  597.     extern U8 *GetCategory69History(U8 *history_buffer);
  598.     extern S32 GetCategory69HistorySize(void);
  599.     void SetCategory69RightSoftkeyFunction(void (*f) (void), MMI_key_event_type k);
  600.     extern void RedrawCategory72Screen(void);
  601.     extern void ShowCategory72Screen(
  602.                     U16 title,
  603.                     U16 title_icon,
  604.                     U16 left_softkey,
  605.                     U16 left_softkey_icon,
  606.                     U16 right_softkey,
  607.                     U16 right_softkey_icon,
  608.                     U8 *message,
  609.                     S32 percentage_value,
  610.                     U8 *history_buffer);
  611.     extern void ExitCategory72Screen(void);
  612.     extern U8 *GetCategory72History(U8 *history_buffer);
  613.     extern S32 GetCategory72HistorySize(void);
  614.     extern void Category73RedrawScreen(void);
  615.     extern void Category73ChangeItemIcon(S32 item_index, S32 icon_index, PU8 icon);
  616.     extern void ShowCategory73Screen(
  617.                     U16 title,
  618.                     U16 title_icon,
  619.                     U16 left_softkey,
  620.                     U16 left_softkey_icon,
  621.                     U16 right_softkey,
  622.                     U16 right_softkey_icon,
  623.                     S32 number_of_items,
  624.                     U8 **list_of_items,
  625.                     U16 *list_of_icons1,
  626.                     U16 *list_of_icons2,
  627.                     S32 highlighted_item,
  628.                     U8 *history_buffer,
  629.                     U8 u8display_flag);
  630.     extern void RedrawCategory74Screen(void);
  631.     extern void ShowCategory74Screen(
  632.                     U16 title,
  633.                     U16 title_icon,
  634.                     U16 left_softkey,
  635.                     U16 left_softkey_icon,
  636.                     U16 right_softkey,
  637.                     U16 right_softkey_icon,
  638.                     U8 *buffer,
  639.                     S32 buffer_size,
  640.                     U8 *history_buffer);
  641.     extern void ExitCategory74Screen(void);
  642.     extern U8 *GetCategory74History(U8 *history_buffer);
  643.     extern S32 GetCategory74HistorySize(void);
  644.     extern void ChangeCategory74MessageString(U8 *new_string);
  645. #if defined(__UI_PAGING_IN_MULTILINE_EDITOR__)
  646.     extern void ShowCategory75Screen(
  647.                     U16 *name,
  648.                     U16 title_icon,
  649.                     U16 left_softkey,
  650.                     U16 left_softkey_icon,
  651.                     U16 right_softkey,
  652.                     U16 right_softkey_icon,
  653.                     U8 *buffer,
  654.                     S32 buffer_size,
  655.                     U8 *history_buffer,
  656.                     gui_page_info_app **);
  657.     extern void ExitCategory75Screen(void);
  658.     extern void ShowCategory77Screen(
  659.                     U16 *name,
  660.                     U16 title_icon,
  661.                     U16 left_softkey,
  662.                     U16 left_softkey_icon,
  663.                     U16 right_softkey,
  664.                     U16 right_softkey_icon,
  665.                     U8 *buffer,
  666.                     S32 buffer_size,
  667.                     U8 *history_buffer,
  668.                     gui_page_info_app **);
  669.     extern void ExitCategory77Screen(void);
  670. #ifdef __MMI_TOUCH_SCREEN__
  671.     extern void RedrawCategoryControlledArea75Screen(dm_coordinates *coordinate);
  672.     extern void wgui_send_id_and_offset_to_app(U32 page_id, S16 page_offset);
  673. #endif /* __MMI_TOUCH_SCREEN__ */ 
  674. #endif /* defined(__UI_PAGING_IN_MULTILINE_EDITOR__) */ 
  675.     extern void RedrawCategory76Screen(void);
  676.     extern void ShowCategory76Screen(
  677.                     U16 title,
  678.                     U16 title_icon,
  679.                     U16 left_softkey,
  680.                     U16 left_softkey_icon,
  681.                     U16 right_softkey,
  682.                     U16 right_softkey_icon,
  683.                     U8 *buffer,
  684.                     S32 buffer_size,
  685.                     U8 *history_buffer);
  686.     extern void ExitCategory76Screen(void);
  687.     extern U8 *GetCategory76History(U8 *history_buffer);
  688.     extern S32 GetCategory76HistorySize(void);
  689.     extern void ChangeCategory76MessageString(U8 *new_string);
  690.     extern void RedrawCategory78Screen(void);
  691.     extern void ChangeCategory78MessageString(U8 *new_string);
  692.     extern void ShowCategory78Screen(
  693.                     U16 title,
  694.                     U16 title_icon,
  695.                     U16 left_softkey,
  696.                     U16 left_softkey_icon,
  697.                     U16 right_softkey,
  698.                     U16 right_softkey_icon,
  699.                     multi_line_input_box_icon_hdlr icon_callback,
  700.                     U8 *buffer,
  701.                     S32 buffer_size,
  702.                     U8 *history_buffer);
  703.     extern void ExitCategory78Screen(void);
  704.     extern S32 GetCategory78HistorySize(void);
  705.     extern U8 *GetCategory78History(U8 *history_buffer);
  706.     extern void ShowCategory87Screen(
  707.                     U16 title,
  708.                     U16 title_icon,
  709.                     U16 left_softkey,
  710.                     U16 left_softkey_icon,
  711.                     U16 right_softkey,
  712.                     U16 right_softkey_icon,
  713.                     S32 l_limit,
  714.                     S32 u_limit,
  715.                     S32 *current_value,
  716.                     U8 *history_buffer);
  717.     extern void RedrawCategory88Screen(void);
  718.     void ShowCategory88Screen(U16 title, U16 title_icon, U16 left_softkey, U16 left_softkey_icon, U16 right_softkey,
  719.                               U16 right_softkey_icon, U16 bg_image_id, U16 n_items, U8 **string_list,
  720.                               S32 *lower_limit, S32 *upper_limit, S32 **current_value, void (**cb_func) (S32 value),
  721.                               U8 *history_buffer);
  722.     extern void ExitCategory88Screen(void);
  723.     void RegisterCategory88ChangeCallbacks(void (*f1) (S32 value), void (*f2) (S32 value));
  724.     extern void RedrawCategory89Screen(void);
  725.     /* MTK Leo add 20040403, add hint */
  726.     extern void ShowCategory89Screen(
  727.                     U16 title,
  728.                     U16 title_icon,
  729.                     U16 left_softkey,
  730.                     U16 left_softkey_icon,
  731.                     U16 right_softkey,
  732.                     U16 right_softkey_icon,
  733.                     S32 number_of_items,
  734.                     U8 **list_of_items,
  735.                     U8 **list_of_descriptions,
  736.                     S32 flags,
  737.                     S32 highlighted_item,
  738.                     U8 *history_buffer);
  739.     extern void ExitCategory89Screen(void);
  740.     extern U8 *GetCategory89History(U8 *history_buffer);
  741.     extern void RedrawCategory90Screen(void);
  742.     extern void ShowCategory90Screen(
  743.                     U16 title,
  744.                     U16 title_icon,
  745.                     U16 left_softkey,
  746.                     U16 left_softkey_icon,
  747.                     U16 right_softkey,
  748.                     U16 right_softkey_icon,
  749.                     U8 *message,
  750.                     U16 caption1,
  751.                     U16 caption2,
  752.                     U8 *value1,
  753.                     U8 *value2,
  754.                     U8 *history_buffer);
  755.     extern void ExitCategory90Screen(void);
  756.     extern S32 GetCategory90HistorySize(void);
  757.     extern U8 *GetCategory90History(U8 *history_buffer);
  758.     extern void ShowCategory105Screen(
  759.                     U16 title,
  760.                     U16 title_icon,
  761.                     U16 left_softkey,
  762.                     U16 left_softkey_icon,
  763.                     U16 right_softkey,
  764.                     U16 right_softkey_icon,
  765.                     S32 *volume_level,
  766.                     U8 *history_buffer);
  767.     extern S32 GetCategory105HistorySize(void);
  768.     extern void ExitCategory105Screen(void);
  769.     extern void RedrawCategory105Screen(void);
  770.     extern U8 *GetCategory105History(U8 *history_buffer);
  771.     extern void ShowCategory109Screen(
  772.                     U16 title,
  773.                     U16 title_icon,
  774.                     U16 left_softkey,
  775.                     U16 left_softkey_icon,
  776.                     U16 right_softkey,
  777.                     U16 right_softkey_icon,
  778.                     S32 number_of_items,
  779.                     U8 **list_of_items,
  780.                     U8 **list_of_descriptions,
  781.                     S32 highlighted_item,
  782.                     U8 *history_buffer);
  783.     void SetCategory111RightSoftkeyFunction(void (*f) (void), MMI_key_event_type k);
  784.     extern void ShowCategory111Screen(
  785.                     U16 left_softkey,
  786.                     U16 left_softkey_icon,
  787.                     U16 right_softkey,
  788.                     U16 right_softkey_icon,
  789.                     U16 message,
  790.                     S16 input_type,
  791.                     U8 *buffer,
  792.                     S32 buffer_size,
  793.                     U8 *message2,
  794.                     U8 *history_buffer);
  795.     extern void ShowCategory111Screen_ext(U16 left_softkey, U16 left_softkey_icon, U16 right_softkey, U16 right_softkey_icon, U8 *message, S16 input_type, U8 *buffer, S32 buffer_size, U8 *message2, S32 duration, U8 *history_buffer);    /* 011706 countdown Calvin */
  796.     extern void SetCat111TimerExpireFunc(FuncPtr f);
  797.     extern void RedrawCategory111Screen(void);
  798.     extern void ExitCategory111Screen(void);
  799.     extern U8 *GetCategory111History(U8 *history_buffer);
  800.     extern S32 GetCategory111HistorySize(void);
  801.     /* START VIJAY PMT 20050930 */
  802. #ifdef UI_SMALL_PIN_EDITOR_SCREEN
  803.     extern void ShowCategory112Screen(
  804.                     U16 left_softkey,
  805.                     U16 left_softkey_icon,
  806.                     U16 right_softkey,
  807.                     U16 right_softkey_icon,
  808.                     U8 *message,
  809.                     S16 input_type,
  810.                     U8 *buffer,
  811.                     S32 buffer_size,
  812.                     U8 *message2,
  813.                     U8 *history_buffer);
  814.     extern void ExitCategory112Screen(void);
  815. #endif /* UI_SMALL_PIN_EDITOR_SCREEN */ 
  816.     /* END VIJAY PMT 20050930 */
  817.     extern void ShowCategory119Screen(
  818.                     U16 left_softkey,
  819.                     U16 left_softkey_icon,
  820.                     U16 right_softkey,
  821.                     U16 right_softkey_icon,
  822.                     U8 *message,
  823.                     U16 message_icon,
  824.                     U8 *history_buffer);
  825.     extern void RedrawCategory119Screen(void);
  826.     extern void ExitCategory119Screen(void);
  827.     extern U8 *GetCategory119History(U8 *history_buffer);
  828.     extern S32 GetCategory119HistorySize(void);
  829. /** SLide 31 **/
  830.     extern void ShowCategory120Screen(
  831.                     U16 left_softkey,
  832.                     U16 left_softkey_icon,
  833.                     U16 right_softkey,
  834.                     U16 right_softkey_icon,
  835.                     U16 message,
  836.                     U16 message_icon,
  837.                     U8 *history_buffer);
  838.     extern U8 *GetCategory120History(U8 *history_buffer);
  839.     extern S32 GetCategory120HistorySize(void);
  840.     extern void ExitCategory120Screen(void);
  841.     extern void RedrawCategory120Screen(void);
  842.     extern void RedrawCategory122Screen(void);
  843.     extern void ShowCategory122Screen(
  844.                     U16 title,
  845.                     U16 title_icon,
  846.                     U16 left_softkey,
  847.                     U16 left_softkey_icon,
  848.                     U16 right_softkey,
  849.                     U16 right_softkey_icon,
  850.                     U16 message,
  851.                     S32 percentage_value,
  852.                     U8 *history_buffer,
  853.                     S8 *disp_val,
  854.                     U8 *bar_status,
  855.                     U16 side_icon,
  856.                     U8 *,
  857.                     U8 *);
  858.     extern void ExitCategory122Screen(void);
  859.     extern S32 GetCategory122HistorySize(void);
  860.     extern U8 *GetCategory122History(U8 *history_buffer);
  861.     extern void RedrawCategory125Screen(void);
  862.     extern void ExitCategory125Screen(void);
  863.     extern U8 *GetCategory125History(U8 *history_buffer);
  864.     extern void ShowCategory125Screen(
  865.                     U16 title,
  866.                     U16 title_icon,
  867.                     U16 left_softkey,
  868.                     U16 left_softkey_icon,
  869.                     U16 right_softkey,
  870.                     U16 right_softkey_icon,
  871.                     S32 number_of_items,
  872.                     U8 **list_of_items1,
  873.                     U8 **list_of_items2,
  874.                     U16 *list_of_icons1,
  875.                     S32 highlighted_item,
  876.                     U8 *history_buffer,
  877.                     U8 *top_msg,
  878.                     U8 col_no);
  879.     extern gdi_handle cat129_get_image_handle(void);//070706
  880.     extern void ShowCategory129Screen(
  881.                     U8 *title,
  882.                     U16 title_icon,
  883.                     U16 left_softkey,
  884.                     U16 left_softkey_icon,
  885.                     U16 right_softkey,
  886.                     U16 right_softkey_icon,
  887.                     U16 message_icon,
  888.                     U8 *history_buffer);
  889.     extern void ExitCategory129Screen(void);
  890.     extern void RedrawCategory129Screen(void);
  891.     extern void ShowCategory140Screen(
  892.                     U16 title,
  893.                     U16 title_icon,
  894.                     S32 number_of_items,
  895.                     U8 **list_of_items,
  896.                     U8 *list_of_states,
  897.                     S32 highlighted_item,
  898.                     U8 *history_buffer);
  899.     extern void ShowCategory141Screen(
  900.                     U16 title,
  901.                     U16 title_icon,
  902.                     U16 left_softkey,
  903.                     U16 left_softkey_icon,
  904.                     U16 right_softkey,
  905.                     U16 right_softkey_icon,
  906.                     U8 *message,
  907.                     U16 message_icon,
  908.                     U8 *history_buffer);
  909.     extern void ExitCategory141Screen(void);
  910.     extern void RedrawCategory141Screen(void);
  911.     extern void ShowCategory142Screen(
  912.                     U8 *title,
  913.                     U16 title_icon,
  914.                     U16 left_softkey,
  915.                     U16 left_softkey_icon,
  916.                     U16 right_softkey,
  917.                     U16 right_softkey_icon,
  918.                     U8 **list_of_titles,
  919.                     U16 *list_of_images,
  920.                     U8 **file_list_of_images,
  921.                     S32 n_items,
  922.                     S32 *index,
  923.                     U8 *history_buffer);
  924.     extern void ExitCategory142Screen(void);
  925.     extern U8 *GetCategory142History(U8 *history_buffer);
  926.     extern S32 GetCategory142HistorySize(void);
  927.     extern void RedrawCategory142Screen(void);
  928.     extern void ShowCategory150Screen(
  929.                     U16 title,
  930.                     U16 title_icon,
  931.                     U16 left_softkey,
  932.                     U16 left_softkey_icon,
  933.                     U16 right_softkey,
  934.                     U16 right_softkey_icon,
  935.                     S32 number_of_items,
  936.                     U8 **list_of_items1,
  937.                     U8 **list_of_items2,
  938.                     S32 highlighted_item,
  939.                     U8 *history_buffer);
  940.     extern void ExitCategory150Screen(void);
  941.     extern void RedrawCategory150Screen(void);
  942.     extern void RedrawCategory152Screen(void);
  943.     extern void ShowCategory152Screen(
  944.                     U16 title,
  945.                     U16 title_icon,
  946.                     U16 left_softkey,
  947.                     U16 left_softkey_icon,
  948.                     U16 right_softkey,
  949.                     U16 right_softkey_icon,
  950.                     U8 *message,
  951.                     U8 *history_buffer);
  952.     extern void ExitCategory152Screen(void);
  953.     extern S32 GetCategory152HistorySize(void);
  954.     extern U8 *GetCategory152History(U8 *history_buffer);
  955.     extern void ShowCategory153Screen(
  956.                     U16 title,
  957.                     U16 title_icon,
  958.                     U16 left_softkey,
  959.                     U16 left_softkey_icon,
  960.                     U16 right_softkey,
  961.                     U16 right_softkey_icon,
  962.                     S32 number_of_items,
  963.                     U8 **list_of_items1,
  964.                     U8 **list_of_items2,
  965.                     S32 highlighted_item,
  966.                     U8 *history_buffer);
  967.     extern void ShowCategory154Screen(
  968.                     U16 title,
  969.                     U16 title_icon,
  970.                     U16 left_softkey,
  971.                     U16 left_softkey_icon,
  972.                     U16 right_softkey,
  973.                     U16 right_softkey_icon,
  974.                     U8 *message1,
  975.                     U8 *message2,
  976.                     U16 message_icon,
  977.                     U8 *history_buffer);
  978.     extern void ExitCategory154Screen(void);
  979.     extern void RedrawCategory154Screen(void);
  980.     extern void ChangeCategory154Data(U8 *message1, U8 *message2, U16 message_icon);
  981.     extern void Setcategory154LeftAlign(void);
  982. #if defined(__MMI_SMART_MESSAGE_MT__) || ( defined(__MMI_SMART_MESSAGE_MO__) && !defined(__MMI_MESSAGES_EMS__))
  983.     extern void ShowCategory620Screen(
  984.                     U16 title,
  985.                     U16 title_icon,
  986.                     U16 left_softkey,
  987.                     U16 left_softkey_icon,
  988.                     U16 right_softkey,
  989.                     U16 right_softkey_icon,
  990.                     U8 *message1,
  991.                     U8 *message2,
  992.                     U8 *message_icon_buffer,
  993.                     U8 *history_buffer);
  994.     extern void ExitCategory620Screen(void);
  995.     extern U8 *GetCategory620History(U8 *history_buffer);
  996.     extern S32 GetCategory620HistorySize(void);
  997.     extern void RedrawCategory620Screen(void);
  998.     extern void ChangeCategory620Data(U8 *message1, U8 *message2, U8 *message_icon_buffer);
  999.     extern void Setcategory620LeftAlign(void);
  1000. #endif /* defined(__MMI_SMART_MESSAGE_MT__) || ( defined(__MMI_SMART_MESSAGE_MO__) && !defined(__MMI_MESSAGES_EMS__)) */ 
  1001.     void ShowCategory166Screen(U16 image_id, S8 *image_filename, void (*animation_complete_callback) (S32 result));
  1002.     extern void RedrawCategory166Screen(void);
  1003.     extern void ExitCategory166Screen(void);
  1004.     extern void StopCategory166Animation(void);
  1005.     extern void ShowCategory170Screen(
  1006.                     U8 *title,
  1007.                     PU8 title_icon,
  1008.                     U8 *left_softkey,
  1009.                     PU8 left_softkey_icon,
  1010.                     U8 *right_softkey,
  1011.                     PU8 right_softkey_icon,
  1012.                     S32 number_of_items,
  1013.                     U8 **list_of_items,
  1014.                     PU8 *list_of_icons,
  1015.                     S32 flags,
  1016.                     S32 highlighted_item,
  1017.                     U8 *history_buffer);
  1018.     extern void ExitCategory170Screen(void);
  1019.     extern void RedrawCategory170Screen(void);
  1020.     extern void ShowCategory172Screen(
  1021.                     U8 *title,
  1022.                     PU8 title_icon,
  1023.                     U8 *left_softkey,
  1024.                     PU8 left_softkey_icon,
  1025.                     U8 *right_softkey,
  1026.                     PU8 right_softkey_icon,
  1027.                     S32 number_of_items,
  1028.                     U8 **list_of_items,
  1029.                     S32 flags,
  1030.                     S32 highlighted_item,
  1031.                     U8 *history_buffer);
  1032.     extern void ExitCategory172Screen(void);
  1033.     extern void RedrawCategory172Screen(void);
  1034.     extern void ShowCategory174Screen(
  1035.                     U8 *title,
  1036.                     PU8 title_icon,
  1037.                     U8 *left_softkey,
  1038.                     PU8 left_softkey_icon,
  1039.                     U8 *right_softkey,
  1040.                     PU8 right_softkey_icon,
  1041.                     S32 number_of_items,
  1042.                     U8 **list_of_items,
  1043.                     PU8 *list_of_icons,
  1044.                     U8 **list_of_descriptions,
  1045.                     S32 flags,
  1046.                     S32 highlighted_item,
  1047.                     U8 *history_buffer);
  1048.     extern void ExitCategory174Screen(void);
  1049.     extern void RedrawCategory174Screen(void);
  1050.     /* micha1119 */
  1051.     extern void ShowCategory175Screen(
  1052.                     PU8 title_icon,
  1053.                     U16 left_softkey,
  1054.                     U16 left_softkey_icon,
  1055.                     U16 right_softkey,
  1056.                     U16 right_softkey_icon,
  1057.                     U8 *message,
  1058.                     U8 *radio_option1,
  1059.                     U8 *radio_option2,
  1060.                     U16 highlighted_item,
  1061.                     U8 *history_buffer);
  1062.     extern void Category174ChangeItemText(S32 index, U8 *text);
  1063.     extern void Category174ChangeItemIcon(S32 index, U16 image_ID);
  1064.     extern void Category174ChangeItemDescription(S32 index, U8 *text);
  1065.     extern void wgui_cat176_set_jui_menu_filler(void);//011507 menu
  1066.     extern void wgui_cat176_reset_jui_menu_filler(void);
  1067.     extern void ShowCategory176Screen(
  1068.                     U8 *title,
  1069.                     PU8 title_icon,
  1070.                     U8 *left_softkey,
  1071.                     PU8 left_softkey_icon,
  1072.                     U8 *right_softkey,
  1073.                     PU8 right_softkey_icon,
  1074.                     S32 number_of_items,
  1075.                     U8 **list_of_items,
  1076.                     PU8 *list_of_icons,
  1077.                     S32 flags,
  1078.                     S32 highlighted_item,
  1079.                     U32 is_full_screen,//120606 jui menu
  1080.                     U8 *history_buffer);
  1081.     extern void ExitCategory176Screen(void);
  1082.     extern void RedrawCategory176sScreen(void);
  1083.     extern void RedrawCategory184Screen(void);
  1084.     extern void ShowCategory184Screen(
  1085.                     U16 title,
  1086.                     U16 title_icon,
  1087.                     U16 left_softkey,
  1088.                     U16 left_softkey_icon,
  1089.                     U16 right_softkey,
  1090.                     U16 right_softkey_icon,
  1091.                     S32 number_of_items,
  1092.                     GetItemFuncPtr get_item_func,
  1093.                     GetHintFuncPtr get_hint_func,
  1094.                     S32 highlighted_item,
  1095.                     U8 *history_buffer);
  1096.     extern void ExitCategory184Screen(void);
  1097.     extern S32 GetCategory184HistorySize(void);
  1098.     extern U8 *GetCategory184History(U8 *history_buffer);
  1099.     void ShowCategory185Screen(U16 title, U16 title_icon, U16 left_softkey, U16 left_softkey_icon, U16 right_softkey,
  1100.                                U16 right_softkey_icon, S32 number_of_items, GetItemFuncPtr get_item_func,
  1101.                                GetHintFuncPtr get_hint_func, S32 highlighted_item, MMI_BOOL disable_data_cache,
  1102.                                void (*flush_data_callback) (void), U8 *history_buffer);
  1103.     extern void Category186ToggleCheckBox(void);
  1104.     void ShowCategory186Screen(U16 title, U16 title_icon, S32 number_of_items,
  1105.                                pBOOL(*get_text_callback) (S32 item_index, UI_string_type str_buff),
  1106.                                GetHintFuncPtr get_hint_func, U8 *list_of_states,
  1107.                                S32 highlighted_item, U8 *history_buffer);
  1108.     extern void ExitCategory186Screen(void);
  1109.     extern S32 GetCategory186HistorySize(void);
  1110.     extern U8 *GetCategory186History(U8 *history_buffer);
  1111.     extern void ShowCategory187Screen(
  1112.                     U16 title,
  1113.                     U16 title_icon,
  1114.                     S32 number_of_items,
  1115.                     pBOOL(*get_text_callback) (S32 item_index, UI_string_type str_buff),
  1116.                     GetHintFuncPtr get_hint_func,
  1117.                     U8 *list_of_states,S32 highlighted_item,
  1118.                     FuncPtr lsk_handler_func,
  1119.                     U8 *history_buffer);
  1120.     extern void ShowCategory284Screen(
  1121.                     U16 title,
  1122.                     U16 title_icon,
  1123.                     U16 left_softkey,
  1124.                     U16 left_softkey_icon,
  1125.                     U16 right_softkey,
  1126.                     U16 right_softkey_icon,
  1127.                     S32 number_of_items,
  1128.                     GetItemFuncPtr get_item_func,
  1129.                     GetHintFuncPtr get_hint_func,
  1130.                     S32 highlighted_item,
  1131.                     U8 *history_buffer);
  1132.     extern void ShowCategory200Screen(
  1133.                     U16 title,
  1134.                     U16 title_icon,
  1135.                     U16 left_softkey,
  1136.                     U16 left_softkey_icon,
  1137.                     U16 right_softkey,
  1138.                     U16 right_softkey_icon,
  1139.                     S32 number_of_items,
  1140.                     GetItemFuncPtr get_item_func,
  1141.                     GetHintFuncPtr get_hint_func,
  1142.                     S32 highlighted_item,
  1143.                     U16 search_image,
  1144.                     U8 *buffer,
  1145.                     S32 buffer_max_length,
  1146.                     U8 *history_buffer);
  1147.     extern void ExitCategory200Screen(void);
  1148.     extern U8 *GetCategory200History(U8 *history_buffer);
  1149.     extern S32 GetCategory200HistorySize(void);
  1150.     extern void RedrawCategory200Screen(void);
  1151.     extern void Cat200multitap_input_complete_callback(void);
  1152.     extern void Cat200multitap_inputcallback(UI_character_type inp);
  1153.     void RegisterCat200SearchFunction(S32(*search_function) (U8 *));
  1154.     /* MTK Elvis 20040521 to patch for QSearch */
  1155.     void SetCategory200LeftSoftkeyFunction(void (*f) (void), MMI_key_event_type k);
  1156.     /* MTK end */
  1157.     void SetCategory200RightSoftkeyFunction(void (*f) (void), MMI_key_event_type k);
  1158.     extern void ShowCategory201Screen(
  1159.                     U16 title,
  1160.                     U16 title_icon,
  1161.                     U16 left_softkey,
  1162.                     U16 left_softkey_icon,
  1163.                     U16 right_softkey,
  1164.                     U16 right_softkey_icon,
  1165.                     S32 number_of_items,
  1166.                     GetItemFuncPtr get_item_func,
  1167.                     GetHintFuncPtr get_hint_func,
  1168.                     S32 highlighted_item,
  1169.                     U16 search_image,
  1170.                     U8 *buffer,
  1171.                     S32 buffer_max_length,
  1172.                     S16 input_type,
  1173.                     U8 *history_buffer,
  1174.                     S16 *required_input_mode_set);
  1175.     void SetCategory201RightSoftkeyFunction(void (*f) (void), MMI_key_event_type k);
  1176.     extern void cat201_virtual_keypad_callback(void);
  1177.     void cat201_register_language_changed_indicator(BOOL(*FuncPtr) (U8));
  1178.     void Register_appl_present_function(BOOL(*application_present_function) (S32 *));
  1179. /* 052206 NITZ category Calvin Start */
  1180. #if defined ( __MMI_MAINLCD_240X320__)
  1181.     typedef struct
  1182.     {
  1183.         S32 static_x;
  1184.         S32 static_y;
  1185.         S32 dynamic_x;
  1186.         S32 dynamic_y;
  1187.         U8 *static_string;
  1188.         U8 *dynamic_string;
  1189.         U8 *hint_string;
  1190.         U8 *city_string;
  1191.         MMI_BOOL need_redraw;//060706 NITZ category Calvin
  1192.     } cat230_paint_wc_info_struct;
  1193.     extern void SetCat230IndexInfo(U8 index_num, U8* info_string);
  1194. #ifdef __MMI_TOUCH_SCREEN__
  1195.     extern void RegisterCat230PaintPenEventHandler(void (*AppPaintPenEventHandler) (S32 x, S32 y, S32 event_type));
  1196. #endif
  1197.     //extern void Cat230RedrawPaint_WC(void);
  1198.     extern void ExitCategory230Screen(void);
  1199.     extern U8 *GetCategory230History(U8 *history_buffer);
  1200.     extern S32 GetCategory230HistorySize(void);
  1201.     extern void ShowCategory230Screen(
  1202.                     U8 *title,
  1203.                     U8 number_of_index,
  1204.                     U8 **index_info,
  1205.                     U8 highlighted_index,
  1206.                     U8 screen_type,
  1207.                     void (*left_key_handler) (U8 index_num),
  1208.                     void (*right_key_handler) (U8 index_num),
  1209.                     //void (*redraw_paint) (void), 
  1210.                     void (*get_paint_info) (void *paint_info));
  1211. #endif
  1212. /* 052206 NITZ category Calvin End */
  1213.     
  1214.     /* PMT dara added for Multitap thai */
  1215. #ifdef __MMI_MULTITAP_THAI__
  1216.     extern void wgui_handle_inputbox_change_input_mode_bymultitapthai(void);
  1217. #endif 
  1218. #ifdef __MMI_UI_TWO_LINE_MENUITEM_STYLES__
  1219.     extern void ShowCategory273Screen(
  1220.                     U16 title,
  1221.                     U16 title_icon,
  1222.                     U16 left_softkey,
  1223.                     U16 left_softkey_icon,
  1224.                     U16 right_softkey,
  1225.                     U16 right_softkey_icon,
  1226.                     S32 number_of_items,
  1227.                     GetItemFuncPtr get_item_func,
  1228.                     wgui_get_display_style get_display_style_func,
  1229.                     wgui_get_two_line_menu_item_properties get_properties_func,
  1230.                     S32 highlighted_item,
  1231.                     U8 *history_buffer);
  1232.     extern void RedrawCategory273Screen(void);
  1233.     extern U8 *GetCategory273History(U8 *history_buffer);
  1234.     extern void ExitCategory273Screen(void);
  1235. #endif /* __MMI_UI_TWO_LINE_MENUITEM_STYLES__ */ 
  1236. //barcode
  1237.     extern void ShowCategory228Screen(
  1238.                     U16 title,U16 title_icon,
  1239.                     U16 left_softkey,
  1240.                     U16 left_softkey_icon,
  1241.                     U16 right_softkey,
  1242.                     U16 right_softkey_icon,
  1243.                     U8* buffer,
  1244.                     S32 buffer_size,
  1245.                     HILITE_STR hilite_str_list[],
  1246.                     U16 hilite_str_number,
  1247.                     void (*hilite_cb)(S32 idx),
  1248.                     U8* history_buffer);
  1249.     extern void RedrawCategory301Screen(void);
  1250.     extern void ShowCategory301Screen(U8 *message, U16 message_icon, U8 *history_buffer);
  1251.     extern void ExitCategory301Screen(void);
  1252.     extern S32 GetCategory301HistorySize(void);
  1253.     extern U8 *GetCategory301History(U8 *history_buffer);
  1254.     extern void RedrawCategory302Screen(void);
  1255.     extern void ShowCategory302Screen(U8 *history_buffer);
  1256.     extern void ExitCategory302Screen(void);
  1257.     extern S32 GetCategory302HistorySize(void);
  1258.     extern U8 *GetCategory302History(U8 *history_buffer);
  1259.     extern void ShowCategory303Screen(
  1260.                     U8 *message1,
  1261.                     U8 *message2,
  1262.                     FLOAT time_diff1,
  1263.                     FLOAT time_diff2,
  1264.                     U8 *history_buffer);
  1265.     extern void RedrawCategory303Screen(void);
  1266.     /* void ShowCategory303Screen(U8* message1,U8* message2,MYTIME *diff1,MYTIME *diff2,U8* history_buffer); */
  1267.     extern void ExitCategory303Screen(void);
  1268.     extern S32 GetCategory303HistorySize(void);
  1269.     extern U8 *GetCategory303History(U8 *history_buffer);
  1270.     extern void RedrawCategory304Screen(void);
  1271.     extern void ShowCategory304Screen(U16 message_icon, U8 *history_buffer);
  1272.     extern void ExitCategory304Screen(void);
  1273.     extern S32 GetCategory304HistorySize(void);
  1274.     extern U8 *GetCategory304History(U8 *history_buffer);
  1275.     /* MTK: Brian added, for engineer mode */
  1276. #ifdef __MMI_ENGINEER_MODE__    /* MTK Add Robin 1001 for saperate MMI feature by project */
  1277.     extern void RedrawCategory204Screen(void);
  1278.     extern void ShowCategory204Screen(
  1279.                     U16 left_softkey,
  1280.                     U16 left_softkey_icon,
  1281.                     U16 right_softkey,
  1282.                     U16 right_softkey_icon,
  1283.                     U16 NotificationStringId,
  1284.                     U16 value,
  1285.                     U16 imageId,
  1286.                     U8 *history_buffer);
  1287.     extern void ExitCategory204Screen(void);
  1288.     /* MTK: Brian end */
  1289. #endif /* __MMI_ENGINEER_MODE__ */ 
  1290.     extern void RedrawCategory311Screen(void);
  1291.     extern void ShowCategory311Screen(U8 *message, U16 message_icon, U8 *history_buffer);
  1292.     extern void ExitCategory311Screen(void);
  1293.     extern S32 GetCategory311HistorySize(void);
  1294.     extern U8 *GetCategory311History(U8 *history_buffer);
  1295.     extern void RedrawCategory312Screen(void);
  1296.     /* void ShowCategory312Screen(U8* message,MYTIME *diff,U8* history_buffer); */
  1297.     extern void ExitCategory312Screen(void);
  1298.     extern S32 GetCategory312HistorySize(void);
  1299.     extern U8 *GetCategory312History(U8 *history_buffer);
  1300.     extern void ShowCategory312Screen(U8 *message, FLOAT time_diff_312, U8 *history_buffer);
  1301.     extern void ShowStatusIconsTitle(void);
  1302.     extern void ShowCategory313Screen(U16 message_icon, U8 *history_buffer);
  1303.     extern void RedrawCategory313Screen(void);
  1304.     extern void ExitCategory313Screen(void);
  1305.     extern U8 *GetCategory313History(U8 *history_buffer);
  1306.     extern S32 GetCategory313HistorySize(void);
  1307.     extern void ShowCategoryEMSScreen(
  1308.                     U16 title,
  1309.                     U16 title_icon,
  1310.                     U16 left_softkey,
  1311.                     U16 left_softkey_icon,
  1312.                     U16 right_softkey,
  1313.                     U16 right_softkey_icon,
  1314.                     S32 num_of_symbols,
  1315.                     MMI_ID_TYPE *symbols,
  1316.                     MMI_ID_TYPE *descriptions,
  1317.                     S32 highlighted_item,
  1318.                     U8 *history_buffer);
  1319.     extern U8 *GetCategory400History(U8 *history_buffer);
  1320.     extern S32 GetCategory400HistorySize(void);
  1321.     extern void ShowCategory400Screen(
  1322.                     U16 title,
  1323.                     U16 title_icon,
  1324.                     U16 left_softkey,
  1325.                     U16 left_softkey_icon,
  1326.                     U16 right_softkey,
  1327.                     U16 right_softkey_icon,
  1328.                     U8 *history_buffer);
  1329.     extern void RedrawCategory400Screen(void);
  1330.     extern void ExitCategory400Screen(void);
  1331. #if (defined(__MMI_SMART_MESSAGE_MO__) && !defined(__MMI_MESSAGES_EMS__)) || defined(__MMI_SMART_MESSAGE_MT__) || defined(__MMI_MYPICTURE__)
  1332.     extern void mmi_nsm2_category275_draw_tile(U32 strID);
  1333.     extern void mmi_nsm2_category275_draw_header(U32 identifier, S32 y_offset, S32 x1, S32 y1, S32 x2, S32 y2);
  1334.     extern void mmi_nsm2_category275_draw_inbox_header(S32 yy, S32 x1, S32 y1, S32 x2, S32 y2);
  1335. #endif /* (defined(__MMI_SMART_MESSAGE_MO__) && !defined(__MMI_MESSAGES_EMS__)) || defined(__MMI_SMART_MESSAGE_MT__) || defined(__MMI_MYPICTURE__) */ 
  1336.     extern void ShowCategory354Screen(
  1337.                     U8 *title,
  1338.                     U16 title_icon,
  1339.                     U16 left_softkey,
  1340.                     U16 left_softkey_icon,
  1341.                     U16 right_softkey,
  1342.                     U16 right_softkey_icon,
  1343.                     S32 number_of_items,
  1344.                     U8 **list_of_items1,
  1345.                     U8 **list_of_items2,
  1346.                     U16 *list_of_icons,
  1347.                     S32 highlighted_item,
  1348.                     U8 *history_buffer);
  1349.     extern void ExitCategory354Screen(void);
  1350.     extern void wgui_audio_equalizer_activate_bar(U8 bar_index);
  1351.     extern void wgui_audio_equalizer_change_sound_level(void);
  1352.     extern void ShowCategory334Screen(
  1353.                     U16 title,
  1354.                     U16 title_icon,
  1355.                     U16 left_softkey,
  1356.                     U16 left_softkey_icon,
  1357.                     U16 right_softkey,
  1358.                     U16 right_softkey_icon,
  1359.                     signed char *values,
  1360.                     U8 *history_buffer);
  1361.     extern void ShowCategory402Screen(
  1362.                     U8 *title,
  1363.                     U16 title_icon,
  1364.                     U16 left_softkey,
  1365.                     U16 left_softkey_icon,
  1366.                     U16 right_softkey,
  1367.                     U16 right_softkey_icon,
  1368.                     U8 *string,
  1369.                     U16 percentage,
  1370.                     U8 *progress_string);
  1371.     extern void UpdateCategory402Value(U16 value, U8 *string);
  1372. #ifdef __cplusplus
  1373. }
  1374. #endif 
  1375. #endif /* __WGUI_CATEGORIES_H__ */