CurrencyConvertorE.h
资源名称:mmi.rar [点击查看]
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:4k
源码类别:
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) 2002
- *
- *******************************************************************************/
- /*******************************************************************************
- * Filename:
- * ---------
- * CurrencyConvLGE.h
- *
- * Project:
- * --------
- * MAUI
- *
- * Description:
- * ------------
- * This file defines constant, enum values, structure, and function prototypes for currency converter application.
- *
- * Author:
- * -------
- * -------
- *
- *==============================================================================
- * HISTORY
- * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *------------------------------------------------------------------------------
- *
- *------------------------------------------------------------------------------
- * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *==============================================================================
- *******************************************************************************/
- #ifndef _MMI_CURRENCYCONV_H
- #define _MMI_CURRENCYCONV_H
- #include "MMI_features.h"
- #ifdef __MMI_EXTENDED_CURRENCY_CONVERTER__
- #include "PixtelDataTypes.h"
- /*
- * Define
- */
- /*
- * Typedef
- */
- typedef enum
- {
- CCONV_CURRENCY_INLINE_LOCAL_SELECT = 0,
- CCONV_CURRENCY_INLINE_LOCAL,
- CCONV_CURRENCY_INLINE_FORE_SELECT,
- CCONV_CURRENCY_INLINE_FORE,
- CCONV_CURRENCY_INLINE_TOTAL
- } CCONV_CURRENCY_INLINE_ITEM_ENUM;
- typedef enum
- {
- CCONV_RATE_INLINE_LOCAL_CAP = 0,
- CCONV_RATE_INLINE_LOCAL_SELECT,
- CCONV_RATE_INLINE_FORE_CAP,
- CCONV_RATE_INLINE_FORE_SELECT1,
- CCONV_RATE_INLINE_RATE1,
- CCONV_RATE_INLINE_FORE_SELECT2,
- CCONV_RATE_INLINE_RATE2,
- CCONV_RATE_INLINE_FORE_SELECT3,
- CCONV_RATE_INLINE_RATE3,
- CCONV_RATE_INLINE_FORE_SELECT4,
- CCONV_RATE_INLINE_RATE4,
- CCONV_RATE_INLINE_FORE_SELECT5,
- CCONV_RATE_INLINE_RATE5,
- CCONV_RATE_INLINE_TOTAL
- } CCONV_RATE_INLINE_ITEM_ENUM;
- typedef enum
- {
- STR_CURRENCYCONV_RATEINPUT = CURRENCY_CONVERTER + 1,
- STR_CURRENCYCONV_EXCHANGE,
- STR_CURRENCYCONV_RATE,
- STR_CURRENCYCONV_INPUT,
- STR_CURRENCYCONV_LOCAL,
- STR_CURRENCYCONV_FOREIGN,
- STR_CURRENCYCONV_USD,
- STR_CURRENCYCONV_EUR,
- STR_CURRENCYCONV_RUB,
- STR_CURRENCYCONV_JPY,
- STR_CURRENCYCONV_GBP,
- STR_CURRENCYCONV_HKD,
- STR_CURRENCYCONV_CUSTOM1,
- STR_CURRENCYCONV_CUSTOM2,
- STR_CURRENCYCONV_CUSTOM3,
- STR_CURRENCYCONV_USD_ABBR,
- STR_CURRENCYCONV_EUR_ABBR,
- STR_CURRENCYCONV_RUB_ABBR,
- STR_CURRENCYCONV_JPY_ABBR,
- STR_CURRENCYCONV_GBP_ABBR,
- STR_CURRENCYCONV_HKD_ABBR,
- ERROR_CURRENCYCONV_RATE1,
- ERROR_CURRENCYCONV_RATE2,
- STR_ID_CURRENCYCONVERTOR_RESET,
- EXTRA_MENU_CURRENCYCONVERTOR_STRINGID
- } STR_CCONV_ENUM;
- typedef enum
- {
- EXTRA_MENU_CURRENCYCONVERTOR_IMAGEID = CURRENCY_CONVERTER + 1,
- CURRENCY_CONVERTOR_IMAGE
- } IMG_ID_CCONV_ENUM;
- typedef enum
- {
- SCR_ID_CCONV_RATE_INPUT = CURRENCY_CONVERTER + 1,
- SCR_ID_CCONV_COMPUTE,
- SCR_ID_CCONV_DUMMY
- } SCR_ID_CCONV_ENUM;
- /*
- * Extern Global Variable
- */
- /*
- * Extern Global Function
- */
- extern void mmi_cconv_init(void);
- extern void mmi_cconv_deinit(void);
- extern void mmi_cconv_menu_highlight_hdlr(void);
- extern void mmi_cconv_pre_entry_app(void);
- extern void mmi_cconv_entry_app(void);
- extern void mmi_cconv_exit_app(void);
- extern void mmi_cconv_pre_entry_rate(void);
- extern void mmi_cconv_entry_rate(void);
- extern void mmi_cconv_exit_rate(void);
- #endif /* __MMI_EXTENDED_CURRENCY_CONVERTER__ */ // #ifdef __MMI_EXTENDED_CURRENCY_CONVERTER__
- #endif /* _MMI_CURRENCYCONV_H */ // #ifndef _MMI_CURRENCYCONV_H