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

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) 2002
  8. *
  9. *******************************************************************************/
  10. /*******************************************************************************
  11.  * Filename:
  12.  * ---------
  13.  * CurrencyConvLGE.h
  14.  *
  15.  * Project:
  16.  * --------
  17.  * MAUI
  18.  *
  19.  * Description:
  20.  * ------------
  21.  * This file defines constant, enum values, structure, and function prototypes for currency converter application.
  22.  *
  23.  * Author:
  24.  * -------
  25.  * -------
  26.  *
  27.  *==============================================================================
  28.  *             HISTORY
  29.  * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! 
  30.  *------------------------------------------------------------------------------
  31.  *
  32.  *------------------------------------------------------------------------------
  33.  * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! 
  34.  *==============================================================================
  35.  *******************************************************************************/
  36. #ifndef _MMI_CURRENCYCONV_H
  37. #define _MMI_CURRENCYCONV_H
  38. #include "MMI_features.h"
  39. #ifdef __MMI_EXTENDED_CURRENCY_CONVERTER__
  40. #include "PixtelDataTypes.h"
  41. /* 
  42.  * Define
  43.  */
  44. /* 
  45.  * Typedef 
  46.  */
  47. typedef enum
  48. {
  49.     CCONV_CURRENCY_INLINE_LOCAL_SELECT = 0,
  50.     CCONV_CURRENCY_INLINE_LOCAL,
  51.     CCONV_CURRENCY_INLINE_FORE_SELECT,
  52.     CCONV_CURRENCY_INLINE_FORE,
  53.     CCONV_CURRENCY_INLINE_TOTAL
  54. } CCONV_CURRENCY_INLINE_ITEM_ENUM;
  55. typedef enum
  56. {
  57.     CCONV_RATE_INLINE_LOCAL_CAP = 0,
  58.     CCONV_RATE_INLINE_LOCAL_SELECT,
  59.     CCONV_RATE_INLINE_FORE_CAP,
  60.     CCONV_RATE_INLINE_FORE_SELECT1,
  61.     CCONV_RATE_INLINE_RATE1,
  62.     CCONV_RATE_INLINE_FORE_SELECT2,
  63.     CCONV_RATE_INLINE_RATE2,
  64.     CCONV_RATE_INLINE_FORE_SELECT3,
  65.     CCONV_RATE_INLINE_RATE3,
  66.     CCONV_RATE_INLINE_FORE_SELECT4,
  67.     CCONV_RATE_INLINE_RATE4,
  68.     CCONV_RATE_INLINE_FORE_SELECT5,
  69.     CCONV_RATE_INLINE_RATE5,
  70.     CCONV_RATE_INLINE_TOTAL
  71. } CCONV_RATE_INLINE_ITEM_ENUM;
  72. typedef enum
  73. {
  74.     STR_CURRENCYCONV_RATEINPUT = CURRENCY_CONVERTER + 1,
  75.     STR_CURRENCYCONV_EXCHANGE,
  76.     STR_CURRENCYCONV_RATE,
  77.     STR_CURRENCYCONV_INPUT,
  78.     STR_CURRENCYCONV_LOCAL,
  79.     STR_CURRENCYCONV_FOREIGN,
  80.     STR_CURRENCYCONV_USD,
  81.     STR_CURRENCYCONV_EUR,
  82.     STR_CURRENCYCONV_RUB,
  83.     STR_CURRENCYCONV_JPY,
  84.     STR_CURRENCYCONV_GBP,
  85.     STR_CURRENCYCONV_HKD,
  86.     STR_CURRENCYCONV_CUSTOM1,
  87.     STR_CURRENCYCONV_CUSTOM2,
  88.     STR_CURRENCYCONV_CUSTOM3,
  89.     STR_CURRENCYCONV_USD_ABBR,
  90.     STR_CURRENCYCONV_EUR_ABBR,
  91.     STR_CURRENCYCONV_RUB_ABBR,
  92.     STR_CURRENCYCONV_JPY_ABBR,
  93.     STR_CURRENCYCONV_GBP_ABBR,
  94.     STR_CURRENCYCONV_HKD_ABBR,
  95.     ERROR_CURRENCYCONV_RATE1,
  96.     ERROR_CURRENCYCONV_RATE2,
  97.     STR_ID_CURRENCYCONVERTOR_RESET,
  98.     EXTRA_MENU_CURRENCYCONVERTOR_STRINGID
  99. } STR_CCONV_ENUM;
  100. typedef enum
  101. {
  102.     EXTRA_MENU_CURRENCYCONVERTOR_IMAGEID = CURRENCY_CONVERTER + 1,
  103.     CURRENCY_CONVERTOR_IMAGE
  104. } IMG_ID_CCONV_ENUM;
  105. typedef enum
  106. {
  107.     SCR_ID_CCONV_RATE_INPUT = CURRENCY_CONVERTER + 1,
  108.     SCR_ID_CCONV_COMPUTE,
  109.     SCR_ID_CCONV_DUMMY
  110. } SCR_ID_CCONV_ENUM;
  111. /* 
  112.  * Extern Global Variable
  113.  */
  114. /* 
  115.  * Extern Global Function
  116.  */
  117. extern void mmi_cconv_init(void);
  118. extern void mmi_cconv_deinit(void);
  119. extern void mmi_cconv_menu_highlight_hdlr(void);
  120. extern void mmi_cconv_pre_entry_app(void);
  121. extern void mmi_cconv_entry_app(void);
  122. extern void mmi_cconv_exit_app(void);
  123. extern void mmi_cconv_pre_entry_rate(void);
  124. extern void mmi_cconv_entry_rate(void);
  125. extern void mmi_cconv_exit_rate(void);
  126. #endif /* __MMI_EXTENDED_CURRENCY_CONVERTER__ */ // #ifdef __MMI_EXTENDED_CURRENCY_CONVERTER__
  127. #endif /* _MMI_CURRENCYCONV_H */ // #ifndef _MMI_CURRENCYCONV_H