⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mmibookshared.c

📁 是一个手机功能的模拟程序
💻 C
📖 第 1 页 / 共 5 页
字号:
/*******************************************************************************

          CONDAT (UK)

********************************************************************************

 This software product is the property of Condat (UK) Ltd and may not be
 disclosed to any third party without the express permission of the owner.

********************************************************************************

 $Project name: Basic MMI
 $Project code: BMI (6349)
 $Module:   PhoneBook
 $File:       MmiBookShared.c
 $Revision:   1.0
 
 $Author:   Condat(UK)
 $Date:       25/10/00

********************************************************************************

 Description:

    Shared definitions of data elements are made in here
    and accessed via the primitive operations supplied

********************************************************************************

 $History: MmiBookShared.c

  25/10/00      Original Condat(UK) BMI version.
  01/08/02   ver0.101   change for add listIcon menu define
  04/08/02   ver0.102   change for settings related menu define
  07/08/02   ver0.103   change for settings related menu define
  08/08      ver0.104   modified
  09/08      ver0.105   modified
  12/08/02   ver0.106   mainmenu and setting menu
  08/14/2002 ver0.107   modified suoha menu
  14/08/02   ver0.108   modified scene mode menu
  15/08/02   ver0.109   modified schedule and autopower menu
  16/08/02   ver0.110   modified
  19/08/02   ver0.111   modified 
  19/08/02   ver0.112   modified 
  20/08/02   ver0.113   modified
  28/08/02              modified
  29/08/02   ver0.114   modified 
 $End

*******************************************************************************/


/*******************************************************************************

                                Include Files

*******************************************************************************/
#ifndef GPRS
#define GPRS
#endif
#define ENTITY_MFW

/* includes */
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

#if defined (NEW_FRAME)

#include "typedefs.h"
#include "vsi.h"
#include "pei.h"
#include "custom.h"
#include "gsm.h"

#else

#include "stddefs.h"
#include "custom.h"
#include "gsm.h"
#include "vsi.h"

#endif

#include "mfw_sys.h"

#include "mfw_mfw.h"
#include "mfw_win.h"
#include "mfw_kbd.h"
#include "mfw_lng.h"
#include "mfw_edt.h"
#include "mfw_icn.h"
#include "mfw_mnu.h"
#include "mfw_tim.h"

#include "mfw_sim.h"
#include "mfw_cm.h"
#include "mfw_nm.h"
#include "mfw_phb.h"
#include "mfw_mme.h"
#include "mfw_sat.h"
#include "mfw_sms.h"

#include "dspl.h"

#include "ksd.h"
#include "psa.h"

#include "MmiMain.h"
#include "MmiBookController.h"
#include "MmiDummy.h"
#include "MmiDialogs.h"
#include "MmiLists.h"



#include "MmiMenu.h"
#include "MmiCall.h"
#include "MmiIcons.h"
#include "MmiIdle.h"

#include "MmiSoftKeys.h"
#include "MmiSounds.h"
#include "MmiIdle.h"
#include "MmiNetwork.h"
#include "MmiSat_i.h"
#include "MmiAoc.h"

#include "gdi.h"
#include "audio.h"

#include "cus_aci.h"
#include "p_sim.h"
#include "MmiTimers.h"

//


#include "MmiBookShared.h"
#include "MmiBookController.h"
#include "MmiResources.h"

#include "MmiNetwork.h"
#include "MmiSettings.h"
#include "MmiServices.h"
#include "MmiPins.h"
#include "MmiTimeDate.h"
#include "MmiecTimeDate.h"  //include our time and date
#include "mmiSmsBroadcast.h"
#include "mmiSimToolkit.h"
#include "mmiSmsMenu.h"
#include "mmiSmssend.h"
//#include "MmiCalculatorMain.h"
#include "AUIWapext.h"
#include "MmiSounds.h"
#include "MmiLists.h"
#include "MmiTimers.h"
#include "MmiVoiceMemo.h"
#include "MmiIcons.h"
#include "MmiAoc.h"
#ifdef MMI_EM_ENABLED	//Robert.Chen added, 2004-08-02
#include "MmiEm.h" /*SPR1209*/
#endif

//#ifdef MMIGAME
//#include "Mmigame.h"
//#endif
#include "suoha_main.h"
//#include "mmiboxman.h"
#include "mmiboxman.h"
#include "mmiballoon.h"
#include "MmiRussia.h"
#include "MmiCPHS.h"
#include "MmiBand.h"
#ifdef MMI_GPRS_ENABLED
#include "MmiGprs.h"
#endif
#include "MmiBookUtils.h"   //2002.04.19
#include "Mmihost.h"
#include "Mmiautopower.h"
#include "Mmitoolkit_timer.h"
#include "Mmischedule.h"
#include "Mmicalculator.h"
#include "Mmistopwatch.h"
#include "MmiUnitConversion.h"
#include "Mmimemo.h"
#include "Mmishortcutmnu.h"
#include "fieldtest.h"
#include "mmisettings.h"
#ifdef QQFUNC//hxl add for qq func switch,2003-3-24
#include "mmiqq.h" 
#endif
#include "mmiiconresource.h"/* 2004/06 sunsj modify for icon manage */

#ifdef _MMS_ENABLE_
//begin xie
#include "mmiMMSMenu.h"
#include "mmiMMSGlobalDef.h"
#include "mmiMMSNEW.h"
#include "mmiMMSFolders.h"
#include "mmiMMSDeleteAll.h"
#include "mmiMMSSetting.h"
//end xie
#endif

//2004.08.02 Added by Cathy for Camera
#ifdef CAMERA_ENABLED
#include "mmicamera.h"
#endif

/*talcon add for pcsyn,2004.07.06*/
#ifdef MMI_PCSYN_ENABLED
#include "mmipcsyn.h"
#endif

extern int M_exeSendNew(MfwMnu* m, MfwMnuItem* i); // MZ
//extern int M_exeRead(MfwMnu* m, MfwMnuItem* i);    /*2003/11/28, wangyan delete*/
//extern int M_exeNVMMsg(MfwMnu* m, MfwMnuItem* i);/*2003/11/28, wangyan delete*/
#include "CPHS_mod.h"
extern void soundsSetVolume(void);
extern int SmsSend_R_OPTExeCentreEdit(MfwMnu* m, MfwMnuItem* i);
extern int GetCurrentMemory(MfwMnu* m, MfwMnuItem* i);
extern USHORT SetUserDefinedPic(struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi);//chenjun
/*2003/12/18,talcon add */
extern int  GameSnakeEntry(MfwMnu* m, MfwMnuItem* i);
/*******************************************************************************

                                Static members

*******************************************************************************/

/* Menu areas*/
/* Call list buffer*/

static UBYTE callList[NAME_LIST_SIZE][NAME_SCREEN_MAX];

/* menu buffers*/
static MfwMnuItem menuNamesItems [] =
{
   { 0, 0, 0, (char *) callList[0], 0, 0, item_flag_none },
   { 0, 0, 0, (char *) callList[1], 0, 0, item_flag_none },
    { 0, 0, 0, (char *) callList[2], 0, 0, item_flag_none }/*,
    { 0, 0, 0, (char *) callList[3], 0, 0, item_flag_none }*/

};

static MfwMnuAttr menudetailsList =
{
    0,
    &menuNamesArea,
    MNU_LEFT | MNU_LIST | MNU_CUR_LINE,
    -1,
    menuNamesItems,
    sizeof(menuNamesItems)/sizeof(MfwMnuItem),
    0
    //,
    //(MfwIcnAttr *)&menuup
};

/* Global text message structure*/
static int textMessage;
/******************************************************************************

                                Menu Definitions

*******************************************************************************/

#define DEF_MENU_STYLE          (MNU_LEFT | MNU_LIST | MNU_CUR_LINE)
#define BEGIN_MENU( name ) \
static const MfwMnuItem name##Items [] = {

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -