IMERes.h
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:6k
- /*****************************************************************************
- * 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) 2001
- *
- * 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:
- * ---------
- * IMERes.h
- *
- * Project:
- * --------
- * Maui_Software
- *
- * Description:
- * ------------
- * This is header file for IME structure for Multiple Bin.
- *
- * Author:
- * -------
- * -------
- *
- *============================================================================
- * HISTORY
- * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *------------------------------------------------------------------------------
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- * removed!
- * removed!
- * removed!
- *
- *------------------------------------------------------------------------------
- * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *============================================================================
- ****************************************************************************/
- #ifndef _IME_Res_H_
- #define _IME_Res_H_
- #include "MMI_features.h"
- /* __CUSTPACK_MULTIBIN Terry BEGIN */
- #define MAX_LDB_NUMBER 20
- #include "CommonScreensenum.h"
- #include "SettingDefs.h"
- #include "gui_data_types.h"
- #include "wgui_categories_inputsenum.h"
- #if defined(__MMI_T9__)
- #include "t9api.h"
- typedef struct T9LdbMemData_s
- {
- T9U16 wLdbNum; /* Language ID */
- T9U32 nNumFullBlk; /* Number of the blocks whose */
- /* data size is BLOCKSIZE. */
- /* BLOCKSIZE is the size of each */
- /* block with assumption that all */
- /* data blocks but the last one */
- /* are in the same size. */
- T9U32 dwLastBlkSize; /* Size of the last data block if */
- /* its size is smaller than */
- /* BLOCKSIZE. Set to 0 if the */
- /* size equals BLOCKSIZE. And */
- /* this block should be added */
- /* into nNumFullBlk. */
- #if defined(__MMI_T9_V7__)
- //START PMT VANDANA 20051506
- //Increased the size to 7 as russian has 7 language database arrays
- //PMT CZ_PO_TU START 20050812
- //Increased the size to 9 as Turkish has 9 language database arrays
- //PMT NO_AR_SL_DU START 20050909
- //Increased the size to 10 as Arabic has 10 language database arrays
- //PMT LANGUAGE START 20051221
- //Increased the size to 12 as Greek has 11 language database arrays
- const T9U8 T9FARDATA *dwLdbDataBlk[12];
- //PMT LANGUAGE END 20051221
- //PMT NO_AR_SL_DU END 20050909
- //PMT CZ_PO_TU END 20050812
- //END PMT
- #else /* defined(__MMI_T9_V7__) */
- //START PMT VANDANA 20051506
- //PMT CZ_PO_TU START 20050812
- //Increased the size to 9 as Turkish has 9 language database arrays
- //PMT NO_AR_SL_DU START 20050909
- //Increased the size to 10 as Arabic has 10 language database arrays
- //PMT LANGUAGE START 20051221
- //Increased the size to 12 as Greek has 11 language database arrays
- const T9U8 FARDATA *dwLdbDataBlk[12];
- //PMT LANGUAGE END 20051221
- //PMT NO_AR_SL_DU END 20050909
- //PMT CZ_PO_TU END 20050812
- //END PMT
- #endif /* defined(__MMI_T9_V7__) */
- /* Pointers to each data block. */
- } T9LdbMemData;
- #elif defined(__MMI_ZI__)
- #include "zi8api.h"
- #define ZI_TR_CHINESE 0
- #define ZI_SIM_CHINESE 1
- #endif
- typedef struct _IMEModeDetails
- {
- SUPPORT_INPUT_MODES IME_Mode_ID;
- SUPPORT_INPUT_TYPES IME_Type_ID;
- U16 Common_Screen_StringID;
- U16 Prefered_IMEStringID;
- MMI_BOOL English_Only_Flag;
- } sIMEModeDetails;
- #if defined(__MMI_T9__)
- typedef T9LdbMemData sIMELDBDetails;
- #elif defined(__MMI_ZI__)
- #if defined(__MMI_ZI_DYNAMIC_LAN_LIB_INIT__)
- typedef ZI8_LANGUAGE_ENTRY sIMELDBDetails[MAX_LDB_NUMBER];
- #else
- typedef ZI8_LANGUAGE_ENTRY sIMELDBDetails;
- #endif
- #else
- typedef char sIMELDBDetails;
- #endif
- typedef enum
- {
- ZiV5,
- ZiV6,
- T9V6,
- T9V7,
- IME_OTHERS
- } sIMEModuleDetails;
- /* __CUSTPACK_MULTIBIN Terry END */
- #endif /* _IME_Res_H_ */ /* IME_RES_H */