微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > MMIDateType.h文件问题

MMIDateType.h文件问题

时间:10-02 整理:3721RD 点击:
这个文件中没有定义基础ID的范围?是不是文件有问题?

/*****************************************************************************
*  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:
* ---------
*   PixtelDataType.h
*
* Project:
* --------
*  MAUI
*
* Description:
* ------------
*  MMI data type define
*
* 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!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* 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_DATA_TYPE_H
#define _MMI_DATA_TYPE_H
#ifdef __cplusplus
extern "C"
{
#endif
#ifdef __ASCII
    #ifndef ENCODING_LENGTH
    #define ENCODING_LENGTH         1
    #endif
#else
    /* no matter define __UCS2_ENCODING or not, the encoding length is 2 */
    #ifndef ENCODING_LENGTH
    #define ENCODING_LENGTH         2
    #endif
#endif
#define CONST_HARDWARE const

/* the application package name (include the terminal character) */
#define MMI_APP_NAME_MAX_LEN    (60)
/* The maximum length of a file's fullname (Ex. "test.jpg"), NOT including null character.
* This value should be the same with SRV_FMGR_PATH_MAX_FILE_NAME_LEN
*/
#define MMI_MAX_FILE_NAME_LEN   (255)
/****************************************************************************
*
* Data Type
*
*****************************************************************************/
#ifdef __RESOURCE_GEN_
#include "stdafx.h"
#include "ResgenDataType.h"
// to avoid kal_general_types.h define WCHAR
#define _WINNT_
    typedef char CHAR;
    typedef CHAR                mmi_app_package_char;             /* define the app name (UTF8) */
    typedef mmi_app_package_char mmi_app_package_name_struct[MMI_APP_NAME_MAX_LEN]; /* the struct of application package name */

#else /* __RESOURCE_GEN_ */
#include "kal_release.h"
  #ifndef FALSE
    #define FALSE           0
  #endif
  #ifndef TRUE
    #define TRUE            1
  #endif
    #define ST_SUCCESS      1
    #define ST_FAILURE      0
    #define MMI_BOOL        kal_bool
    #define MMI_FALSE       KAL_FALSE
    #define MMI_TRUE        KAL_TRUE
    #define MMI_RET_OK          (0)         /* the return value of mmi_ret */
    #define MMI_RET_CHANGED         (-498)                /* the return value of mmi_ret */
    #define MMI_RET_DONT_CARE   (-499)      /* the return value of mmi_ret */
    #define MMI_RET_ERR         (-500)      /* the return value of mmi_ret */
        //#if defined(__MMI_FRM_INPUT_EVT__)
    #define MMI_RET_NEXT_LOCAL_APP (-1000)/*skip current, goto next app*/
        #define MMI_RET_LOCAL_APP_LAUNCHED (-1001)
        #define MMI_RET_LOCAL_APP_UNLAUNCHED (-1002)
    #define MMI_EVT_PARAM_HEADER    \
        U16 evt_id;                 \
        U16 size;                   \
        void *user_data;
    #define MMI_EVT_GROUP_PARAM_HEADER    \
        MMI_EVT_PARAM_HEADER            \
        mmi_id sender_id;
    typedef double              DOUBLE;  /* double type */
    typedef float               FLOAT;   /* float type */
#ifndef S8
    typedef char                S8;      /* signed 8 bit integer */
#endif   
    typedef char                *PS8;    /* signed 8 bit integer pointer */
#ifndef U8   
    typedef unsigned char       U8;      /* unsigned 8 bit integer */
#endif   
    typedef unsigned char       *PU8;    /* unsigned 8 bit integer pointer */
    typedef unsigned short      pBOOL;

    typedef char                CHAR;    /* ASCII char type */
    typedef char                DCHAR;   /* UCS2 char type, the address of which is NOT required to be 2-byte align */
/* typedef unsigned short      WCHAR; -->  UCS2 char type, the address of which is required to be 2-byte align
                                            defined in kal_general_types.h */
#ifndef S16
    typedef signed short int    S16;     /* signed 16 bit integer */
#endif   
    typedef signed short int    *PS16;   /* signed 16 bit integer pointer */
#ifndef U16   
    typedef unsigned short int  U16;     /* unsigned 16 bit integer */
#endif
    typedef unsigned short int  *PU16;   /* unsigned 16 bit integer pointer */
    typedef unsigned short int  WCH16;
    typedef unsigned short int  *PWCH16;
#ifndef S32  
    typedef signed int          S32;     /* signed 32 bit integer */
#endif   
    typedef signed int          *PS32;   /* signed 32 bit integer pointer */
#ifndef U32     
    typedef unsigned int        U32;     /* unsigned 32 bit integer */
#endif   
    typedef unsigned int        *PU32;   /* unsigned 32 bit integer pointer */
#ifdef WIN32
#ifndef U64
   typedef unsigned __int64     U64;     /* unsigned 64 bit integer */
#endif
#ifndef S64
   typedef __int64              S64;     /* signed 64 bit integer */
#endif
#else
#ifndef U64  
   typedef unsigned long long   U64;     /* unsigned 64 bit integer */
#endif   
   typedef long long            S64;     /* signed 64 bit integer */
#endif
    typedef unsigned int        UINT;

    #define mmi_id              MMI_ID
    #define mmi_img_id          MMI_IMG_ID
    #define mmi_str_id          MMI_STR_ID
    #define mmi_menu_id         MMI_MENU_ID
    #define mmi_timer_id        MMI_TIMER_ID
    #define mmi_event_id        MMI_EVENT_ID
    #define mmi_ret             MMI_RET
    typedef unsigned short      MMI_ID_TYPE;
    typedef U16                 MMI_ID;         /* app id, group id, screen id */
    typedef U16                 MMI_IMG_ID;     /* image or icon */
    typedef U16                 MMI_STR_ID;     /* string */
    typedef U16                 MMI_MENU_ID;    /* menu item id, hilite id, hint id */
    typedef U16                 MMI_TIMER_ID;   /* timer */
    typedef U16                 MMI_EVENT_ID;  
    typedef S32                 MMI_RET;
    typedef CHAR                mmi_app_package_char;             /* define the app name (UTF8) */
    typedef mmi_app_package_char mmi_app_package_name_struct[MMI_APP_NAME_MAX_LEN]; /* the struct of application package name */
    /* Image source type */
    typedef enum
    {
        MMI_IMAGE_SRC_TYPE_NULL = 0,             /* Null image */
        MMI_IMAGE_SRC_TYPE_RES_ID,               /* Image from resource ID (Only for VfxImageSrc) */
        MMI_IMAGE_SRC_TYPE_PATH,                 /* Image from file path pointer */
        MMI_IMAGE_SRC_TYPE_MEM,                   /* Image from mem buffer */
        MMI_IMAGE_SRC_TYPE_ROM_memory,
        MMI_IMAGE_SRC_TYPE_MAX
    }mmi_image_src_type_enum;
    /* Imagr source structure */
    typedef struct
    {
        mmi_image_src_type_enum type;            /* Image source type */
        union
        {
            MMI_ID      res_id;                  /* Resource ID if using MMI_IMAGE_SRC_TYPE_RES_ID type */
            WCHAR path[MMI_MAX_FILE_NAME_LEN+1]; /* File path if using MMI_IMAGE_SRC_TYPE_PATH */
            U8* mem;                             /* Mem address if using MMI_IMAGE_SRC_TYPE_MEM */
            struct image_struct
                  {
                          U8 *image_ptr;                                                 /*Image memory pointer if using MMI_IMAGE_SRC_TYPE_MEMORY*/
                          U32 image_len;
                  }image;
        } data;
    }mmi_image_src_struct;

#if !defined(WIN32) || !defined(_WINDEF_)
#ifndef BOOL
    typedef unsigned char   BOOL;
#endif   
#ifndef CONST
    #define CONST const;
#endif
#endif /* ~WIN32 || ~_WINDOWS_ */
/* DOM-NOT_FOR_SDK-BEGIN */
/*
* For DOM generation, these type will be defined in mmi_cb_mgr_gprot.h,
* otherwise MMI_EVT_PARAM_HEADER will generate class not struct.
*/
#ifndef __BUILD_DOM__
    typedef struct _mmi_event_struct
    {
        MMI_EVT_PARAM_HEADER
    }mmi_event_struct;
    typedef struct
    {
        MMI_EVT_PARAM_HEADER
        mmi_ret result;
        mmi_event_struct *evt_p;
    } mmi_post_result_event_struct;
    typedef struct _mmi_group_event_struct
    {
        MMI_EVT_GROUP_PARAM_HEADER
    }mmi_group_event_struct;
#endif /* __BUILD_DOM__ */
    typedef void (*oslTimerFuncPtr)(void*);
    typedef void (*oslTaskFuncPtr)(void*);
    typedef void (*mmi_void_funcptr_type)(void);
    typedef void (*mmi_int_funcptr_type)(S32);
    typedef void (*mmi_bool_funcptr_type)(MMI_BOOL);
    /* Move from php?mod=tag&id=6090" target="_blank" class="relatedlink">Frameworkstruct.h */
    /* FuncPtr is a pointer to a func returns void */
    typedef void (*FuncPtr) (void);
    typedef void (*FuncPtrShort) (U16);
    /* FuncPtr is a pointer to a func that takes void* has a parameter &  returns void */
    typedef void (*PsFuncPtr) (void *);
    typedef U8(*PsIntFuncPtr) (void *);
    typedef void (*PsFuncPtrU32) (void *, U32);
    typedef void (*PsExtFuncPtr) (void *, int); /* add by hjf, to pass the mod_src */
    typedef U8(*PsExtIntFuncPtr) (void *, int); /* add by hjf, to pass the mod_src */
    typedef void (*PsExtPeerFuncPtr) (void *, int, void *);
    typedef U8(*PsExtPeerIntFuncPtr) (void *, int, void *);
/* DOM-NOT_FOR_SDK-END */
    /* Application launch category */
    typedef enum
    {
        MMI_LAUNCH_APP_IN_OPEN_CATEGORY,                   /* Launch app by using open method */
        MMI_LAUNCH_APP_IN_Editor_CATEGORY,                 /* Launch app by using edit method */
        MMI_LAUNCH_APP_IN_VIEW_CATEGORY,                   /* Launch app by using view method */
        MMI_LAUNCH_APP_IN_CUSTOMIZE_CATEGORY = 0x1000,     /* Customize begin */
        MMI_LAUNCH_APP_IN_CUSTOMIZE_CATEGORY_END = 0X2000, /* Customize end */
        MMI_LAUNCH_APP_MAX_CATEGORY
    }mmi_app_launch_category_enum;
    /* Application launch structure */
    typedef struct
    {
        mmi_app_launch_category_enum    cat;    /* Category */
        void                            *param; /* Parameter of the launch category */
    }mmi_app_launch_param_struct;
    typedef MMI_ID (*mmi_app_launch_func) (mmi_app_launch_param_struct* param, U32 param_size);
#ifndef __BUILD_DOM__
    typedef mmi_ret (*mmi_proc_func) (mmi_event_struct *param);
    typedef mmi_ret (*mmi_post_event_result_proc_func)(mmi_post_result_event_struct *result_evt);
#endif /* __BUILD_DOM__ */
    typedef enum {
       OSL_SUCCESS,
       OSL_ERROR,
       OSL_Q_FULL,
       OSL_Q_EMPTY,
       OSL_SEM_NOT_AVAILABLE,
       OSL_WOULD_BLOCK,
       OSL_MESSAGE_TOO_BIG,
       OSL_INVALID_ID,
       OSL_NOT_INITIALIZED,
       OSL_INVALID_LENGHT,
       OSL_NULL_ADDRESS,
       OSL_NOT_RECEIVE,
       OSL_NOT_SEND,
       OSL_MEMORY_NOT_VALID
    } OSLSTATUS;
#endif /* __RESOURCE_GEN_ */
/****************************************************************************
*
* Memory Enum
*
*****************************************************************************/
typedef enum
{
    MMI_FRM_MEM_OSL,
    MMI_FRM_MEM_ASM,
    MMI_FRM_MEM_APP_ASM,
    MMI_FRM_MEM_SCR_ASM,
    MMI_FRM_MEM_TYPE_TOTAL
} mmi_frm_mem_type;

/****************************************************************************
*
* ApPLCation Enum
*
*****************************************************************************/

typedef enum _image_type_enum
{
    SYSTEM_IMAGE,
    EXT_IMAGE,
    NFB_PROGRESS_IMAGE,
    EXT_FONT
}image_type_enum;

/****************************************************************************
*
* SIM type and network type Enum
*
* The enums are defined for the platform, which support bitwise operation
* eg. The app can define its own type, like APP_TYPE,  as (MMI_SIM1 | MMI_GSM)
*     If (APP_TYPE & MMI_SIM2) has value, it is SIM2 type
*     If (APP_TYPE & MMI_GSM) has value, it is GSM type
*
* The enums are extensible if there is new sim type or new network type
*
*****************************************************************************/
typedef enum
{
    MMI_SIM_NONE = 0, /* No bit-wise operation for none case */
    MMI_SIM1 = 0x0001,
    MMI_SIM2 = 0x0002,
    MMI_SIM3 = 0x0004,
    MMI_SIM4 = 0x0008,
    MMI_SIM_END_OF_ENUM
}mmi_sim_enum;
typedef enum
{
    MMI_NETWORK_NONE = 0, /* No bit-wise operation for none case */
    MMI_GSM = 0x0100,
    MMI_WCDMA = 0x0200,
    MMI_NETWORK_END_OF_ENUM
} mmi_network_enum;
typedef enum
{
    MMI_NETWORK_CAPABILITY_NONE = 0,
    MMI_GPRS  = 0x0010,
    MMI_EDGE  = 0x0020,
    MMI_HSDPA = 0x0040,
    MMI_HSUPA = 0x0080,
    MMI_NETWORK_CAPABILITY_END_OF_ENUM
} mmi_network_capability_enum;

#include "mmi_res_range_def.h"
#ifdef __cplusplus
}   /* extern "C" */
#endif
#endif /* _MMI_DATA_TYPE_H */

没看懂你的问题。

基础ID定义在plutommi\MMI\Inc\MMIDataType.h文件,也就是上面的那个文件,可是我的文件里面哪些是基础ID的定义?

基础ID定义在plutommi\MMI\Inc\MMIDataType.h文件,也就是上面的那个文件,可是我的文件里面哪些是基础ID的定义?

基础ID定义在plutommi\MMI\Inc\MMIDataType.h文件,也就是上面的那个文件,可是我的文件里面哪些是基础ID的定义?

你的文档与代码相差比较大了,你需要自己去找了。不是同一套代码,可能是有一些小的差别的。

哪你能告诉我,我的这个文档定义的是写什么东西?

你自己看一下,别人写这个是什么意思?然后在你现在的代码里找到差不多的,搜索看一下,你要看懂别人加这个的意思。否则你就是只会COPY,我很多年没有做功能机,现在功能机代码都没有了。
只能提供思路。

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top