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

📄 mmibookshared.c

📁 是一个手机功能的模拟程序
💻 C
📖 第 1 页 / 共 5 页
字号:
MENU_LISTICON_ITEM( &colist, TxtMMSDelete,   MMS_Folder_Opt_Delete,  item_flag_none),       
END_LISTICON_MENU( menuMMSNotifyOption, menuListArea )


BEGIN_LISTICON_MENU( menuMMSSendFolderOption )
MENU_LISTICON_ITEM( &colist, TxtMMSSend,  MMS_Folder_Opt_Send,  item_flag_none ), 
MENU_LISTICON_ITEM( &colist, TxtMMSDelete,   MMS_Folder_Opt_Delete,  item_flag_none),       
MENU_LISTICON_ITEM( &colist, TxtMMSReplay,  MMS_Folder_Opt_Replay,  item_flag_none ), 
MENU_LISTICON_ITEM( &colist, TxtMMSDetails,  MMS_Folder_Opt_Details,  item_flag_none), 
//MENU_LISTICON_ITEM( &colist, TxtMMSMoveToSentFolder,   MMS_Folder_Opt_MoveToSentFolder,  item_flag_none)     
END_LISTICON_MENU( menuMMSSendFolderOption, menuListArea )

BEGIN_LISTICON_MENU( menuMMSDraftFolderOption )
SUB_LISTICON_MENU( &colist, TxtMMSCutMedia ,   menuMMSFolderOptMedia,  item_flag_none ), 
MENU_LISTICON_ITEM( &colist, TxtMMSSend,  MMS_Folder_Opt_Send,  item_flag_none ), 
MENU_LISTICON_ITEM( &colist, TxtMMSDelete,   MMS_Folder_Opt_Delete,  item_flag_none),       
MENU_LISTICON_ITEM( &colist, TxtMMSReplay,  MMS_Folder_Opt_Replay,  item_flag_none ), 
MENU_LISTICON_ITEM( &colist, TxtMMSDetails,  MMS_Folder_Opt_Details,  item_flag_none),
//MENU_LISTICON_ITEM( &colist, TxtMMSMoveToSentFolder,   MMS_Folder_Opt_MoveToSentFolder,  item_flag_none)     
END_LISTICON_MENU( menuMMSDraftFolderOption, menuListArea )

BEGIN_LISTICON_MENU( menuMMSSentFolderOption )
//MENU_LISTICON_ITEM( &colist, TxtMMSReply,   MMS_Folder_Opt_Reply,  item_flag_none),       
MENU_LISTICON_ITEM( &colist, TxtMMSFarward,  MMS_Folder_Opt_Farward,  item_flag_none ),  
MENU_LISTICON_ITEM( &colist, TxtMMSDelete,   MMS_Folder_Opt_Delete,  item_flag_none),       
MENU_LISTICON_ITEM( &colist, TxtMMSReplay,  MMS_Folder_Opt_Replay,  item_flag_none ), 
//SUB_LISTICON_MENU( &colist, TxtMMSCutMedia ,   menuMMSFolderOptMedia,  item_flag_none ), 
//MENU_LISTICON_ITEM( &colist, TxtMMSCutAddress,   MMS_Folder_Opt_CutAddress,  item_flag_none),       
MENU_LISTICON_ITEM( &colist, TxtMMSDetails,  MMS_Folder_Opt_Details,  item_flag_none)
END_LISTICON_MENU( menuMMSSentFolderOption, menuListArea )

BEGIN_LISTICON_MENU( menuMMSSendReport )
MENU_LISTICON_ITEM( &situationIcon, TxtMMSSendReportOn,   MMS_Setting_SendReport_On,  MMS_Setting_flagFunc),       
MENU_LISTICON_ITEM( &situationIcon, TxtMMSSendReportOff,  MMS_Setting_SendReport_Off,  MMS_Setting_flagFunc ) 
END_LISTICON_MENU( menuMMSSendReport, menuListArea )

BEGIN_LISTICON_MENU( menuMMSAutoSave )
MENU_LISTICON_ITEM( &situationIcon, TxtMMSAutoSaveOn,   MMS_Setting_AutoSave_On,  MMS_Setting_flagFunc ),       
MENU_LISTICON_ITEM( &situationIcon, TxtMMSAutoSaveOff,  MMS_Setting_AutoSave_Off,  MMS_Setting_flagFunc ) 
END_LISTICON_MENU( menuMMSAutoSave, menuListArea )

BEGIN_LISTICON_MENU( menuMMSAutoRecv )
MENU_LISTICON_ITEM( &situationIcon, TxtMMSAutoRecvOn,   MMS_Setting_AutoRecv_On,  MMS_Setting_flagFunc ),       
MENU_LISTICON_ITEM( &situationIcon, TxtMMSAutoRecvOff,  MMS_Setting_AutoRecv_Off,  MMS_Setting_flagFunc ) 
END_LISTICON_MENU( menuMMSAutoRecv, menuListArea )

BEGIN_LISTICON_MENU(menuMMSSendSettings)
SUB_LISTICON_MENU( &colist,TxtMMSSendReport,    menuMMSSendReport,      item_flag_none )
END_LISTICON_MENU(menuMMSSendSettings,menuListArea)

BEGIN_LISTICON_MENU(menuMMSRecvSettings)
SUB_LISTICON_MENU( &colist,TxtMMSAutoSave,    menuMMSAutoSave,      item_flag_none ),
SUB_LISTICON_MENU( &colist,TxtMMSAutoRecv,    menuMMSAutoRecv,      item_flag_none )
END_LISTICON_MENU(menuMMSRecvSettings,menuListArea)

BEGIN_LISTICON_MENU(menuMMSGSMGateway)
MENU_LISTICON_ITEM( &colist, TxtMMSIPAddress,  MMS_Setting_GSM_IPAddress,   item_flag_none ),
MENU_LISTICON_ITEM( &colist, TxtMMSIPPort,     MMS_Setting_GSM_IPPort,      item_flag_none )
END_LISTICON_MENU(menuMMSGSMGateway,menuListArea)

#if 0 //deleted by xie 04-07-14
BEGIN_LISTICON_MENU(menuMMSDataCallType)
MENU_LISTICON_ITEM( &situationIcon, TxtMMSISDN,  MMS_Setting_GSM_ISDN,   MMS_Setting_flagFunc ),
MENU_LISTICON_ITEM( &situationIcon, TxtMMSAnologue,     MMS_Setting_GSM_Anologue,  MMS_Setting_flagFunc )
END_LISTICON_MENU(menuMMSDataCallType,menuListArea)
#endif

BEGIN_LISTICON_MENU(menuMMSGSMSettings)
SUB_LISTICON_MENU( &colist,TxtMMSGateway,    menuMMSGSMGateway,      item_flag_none ),
//SUB_LISTICON_MENU( &colist,TxtMMSDataCallType,   menuMMSDataCallType,      item_flag_none ), //deleted by xie 04-07-14
MENU_LISTICON_ITEM( &colist,TxtMMSDiaNumber,    MMS_Setting_GSM_Dial_Number,      item_flag_none ),
MENU_LISTICON_ITEM( &colist,TxtMMSLoginID,    MMS_Setting_GSM_Login_ID,      item_flag_none ),
MENU_LISTICON_ITEM( &colist,TxtMMSPassword,   MMS_Setting_GSM_Password,      item_flag_none )
END_LISTICON_MENU(menuMMSGSMSettings,menuListArea)

BEGIN_LISTICON_MENU(menuMMSGPRSGateway)
MENU_LISTICON_ITEM( &colist, TxtMMSIPAddress, MMS_Setting_GPRS_IPAddress,   item_flag_none ),
MENU_LISTICON_ITEM( &colist,TxtMMSIPPort,     MMS_Setting_GPRS_IPPort,      item_flag_none )
END_LISTICON_MENU(menuMMSGPRSGateway,menuListArea)

BEGIN_LISTICON_MENU(menuMMSGPRSSettings)
SUB_LISTICON_MENU( &colist, TxtMMSGateway,  menuMMSGPRSGateway,      item_flag_none ),
MENU_LISTICON_ITEM( &colist,TxtMMSAPN,          MMS_Setting_GPRS_APN,      item_flag_none ),
MENU_LISTICON_ITEM( &colist,TxtMMSLoginID,         MMS_Setting_GPRS_Login_ID,      item_flag_none ),
MENU_LISTICON_ITEM( &colist,TxtMMSPassword,     MMS_Setting_GPRS_Password,      item_flag_none )
END_LISTICON_MENU(menuMMSGPRSSettings,menuListArea)

BEGIN_LISTICON_MENU(menuMMSTransportMode)
MENU_LISTICON_ITEM( &situationIcon,TxtMMSOnlyGPRS,   MMS_Setting_Only_GPRS,     MMS_Setting_flagFunc ),
MENU_LISTICON_ITEM( &situationIcon,TxtMMSOnlyGSM,    MMS_Setting_Only_GSM,      MMS_Setting_flagFunc )
END_LISTICON_MENU(menuMMSTransportMode,menuListArea)

BEGIN_LISTICON_MENU(menuMMSNetSeettings)
MENU_LISTICON_ITEM(&colist, TxtMMSMMSCURL,       MMS_Setting_MMSCURL,  item_flag_none ),       
SUB_LISTICON_MENU( &colist, TxtMMSGSMSettings,     menuMMSGSMSettings,     item_flag_none ),
SUB_LISTICON_MENU( &colist, TxtMMSGPRSSettings,    menuMMSGPRSSettings,    item_flag_none ),       
SUB_LISTICON_MENU( &colist, TxtMMSTransportMode,   menuMMSTransportMode,   item_flag_none ),
END_LISTICON_MENU(menuMMSNetSeettings,menuListArea)

BEGIN_LISTICON_MENU(menuMMSAllSettings)
MENU_LISTICON_ITEM( &colist,TxtMMSEditGroupName,     MMS_Setting_Group_Name,      item_flag_none ),
SUB_LISTICON_MENU( &colist,TxtMMSSendSettings,    menuMMSSendSettings,      item_flag_none ),
SUB_LISTICON_MENU( &colist,TxtMMSRecvSettings,    menuMMSRecvSettings,      item_flag_none ),
SUB_LISTICON_MENU( &colist,TxtMMSNetSettings,    menuMMSNetSeettings,      item_flag_none )
END_LISTICON_MENU(menuMMSAllSettings,menuListArea)

BEGIN_LISTICON_MENU(menuMMSSettings)
MENU_LISTICON_ITEM( &colist,TxtMMSCurSettings,    MMS_Cur_Settings_List,      item_flag_none ),
MENU_LISTICON_ITEM( &colist,TxtMMSAllSettings,    MMS_All_Settings_List,      item_flag_none )
END_LISTICON_MENU(menuMMSSettings,menuListArea)

BEGIN_LISTICON_MENU( menuDeleteAll )
MENU_LISTICON_ITEM( &situation3Icon, TxtMMSDelAll,          MMS_Del_All_OnOff,          MMS_Del_flagFunc ),       
MENU_LISTICON_ITEM( &situation3Icon, TxtMMSDelSendFolder,   MMS_Del_SendFolder_OnOff,   MMS_Del_flagFunc ), 
MENU_LISTICON_ITEM( &situation3Icon, TxtMMSDelRecvFolder,   MMS_Del_RecvFolder_OnOff,   MMS_Del_flagFunc ),       
MENU_LISTICON_ITEM( &situation3Icon, TxtMMSDelDraftFolder,  MMS_Del_DraftFolder_OnOff,  MMS_Del_flagFunc ),
MENU_LISTICON_ITEM( &situation3Icon, TxtMMSDelSentFolder,   MMS_Del_SentFolder_OnOff,   MMS_Del_flagFunc )
END_LISTICON_MENU( menuDeleteAll, menuListArea )

BEGIN_TITLEICON_MENU(menuMMS)
MENU_LISTICON_ITEM(&colist,  TxtMMSNew,         MMS_Menu_New,     item_flag_none ),
MENU_LISTICON_ITEM(&colist,TxtMMSRecvFolder,   MMS_Menu_Recv_Folder,      item_flag_none ),
MENU_LISTICON_ITEM( &colist,  TxtMMSSendFolder,  MMS_Menu_Send_Folder,     item_flag_none),
MENU_LISTICON_ITEM( &colist,TxtMMSDraftFolder,   MMS_Menu_Draft_Folder,         item_flag_none ),
MENU_LISTICON_ITEM( &colist,TxtMMSSentFolder,   MMS_Menu_Sent_Folder,  item_flag_none ),
//SUB_LISTICON_MENU( &colist,TxtMMSDeleteAll,     menuDeleteAll,  item_flag_none ),
MENU_LISTICON_ITEM( &colist,TxtMMSDeleteAll,     MMS_Menu_Delete_All,  item_flag_none ),

MENU_LISTICON_ITEM ( &colist,TxtMMSSettings,   MMS_SettingsMenu,        item_flag_none )
END_TITLEICON_MENU( menuMMS, menuListArea,smsTitleicon )

MfwMnuAttr *MMSRetrieveMsgOptionMenuAttributes( void )
{
    return (MfwMnuAttr *) &menuMMSNotifyOption;
}

MfwMnuAttr *MMSRecvFolderOptionMenuAttributes( void )
{
    return (MfwMnuAttr *) &menuMMSRecvFolderOption;
}

MfwMnuAttr *MMSSendFolderOptionMenuAttributes( void )
{
    return (MfwMnuAttr *) &menuMMSSendFolderOption;
}

MfwMnuAttr *MMSDraftFolderOptionMenuAttributes( void )
{
    return (MfwMnuAttr *) &menuMMSDraftFolderOption;
}

MfwMnuAttr *MMSSentFolderOptionMenuAttributes( void )
{
    return (MfwMnuAttr *) &menuMMSSentFolderOption;
}


MfwMnuAttr *MMSDeleteAllOptionMenuAttributes( void )
{
    return (MfwMnuAttr *) &menuDeleteAll;
}

MfwMnuAttr *MMSMainMenuAttributes( void )
{
    return (MfwMnuAttr *) &menuMMS;
}

MfwMnuAttr * MMSSettingsMenuAttributes(void)
{
    return (MfwMnuAttr *) &menuMMSSettings;
}

MfwMnuAttr * MMSAllSettingsMenuAttributes(void)
{
    return (MfwMnuAttr *) &menuMMSAllSettings;
}
//end xie
#endif	/* _MMS_ENABLE_ */
BEGIN_TITLEICON_MENU( menuMsg )
    #ifdef _MMS_ENABLE_
    //begin xie
//  SUB_LISTICON_MENU (&colist,TxtMMS,   menuMMS,   MMS_Entry_MMSMenu),
    MENU_LISTICON_ITEM( &colist,TxtMMS,    MMS_MainMenu,      item_flag_none ),
    //end xie
    #endif

#ifdef EASY_TEXT_ENABLED
    MENU_LISTICON_ITEM(&colist,TxtSendSms,    showeZiTextIcon,       item_flag_none ),
#else
    MENU_LISTICON_ITEM( &colist,TxtSendSms,    M_exeSendNew,      item_flag_none ),	//写消息
#endif
    MENU_LISTICON_ITEM(&colist,  TxtReadMt,  SmsRead_R_KINDExeIncoming,     item_flag_none ),
    MENU_LISTICON_ITEM(&colist,  TxtReadMo,  SmsRead_R_KINDExeOutgoing,     item_flag_none),
#ifdef 	QQFUNC//hxl add for qq func switch,2003-3-24
    SUB_LISTICON_MENU ( &QQlist,TxtQQ,   menuQQ,        get_current_service ),//hxl add for QQ 2002-12-16
#endif
    SUB_LISTICON_MENU( &colist,TxtNVMMsg,      menuNVMMsg,         item_flag_none ),
    //MENU_LISTICON_ITEM( &colist,TxtNVMMsg,    	M_exeNVMMsg,      item_flag_none ),
    MENU_LISTICON_ITEM( &colist,TxtCommonMsg,  smscb_M_common_msg,  item_flag_none ),//常用信息
    SUB_LISTICON_MENU( &colist,TxtDeleteAll,    menuDelAll,  item_flag_none ),
    SUB_LISTICON_MENU ( &colist,TxtBroadcast,    menuBroadMsg,      item_flag_none ),
    //MENU_ITEM ( TxtBroadcast,    cellbroadcast_start,      item_flag_none ),
//    SUB_LISTICON_MENU ( &colist,TxtVoicemail,    menuVoiceMsg,        item_flag_none ),
    SUB_LISTICON_MENU ( &colist,TxtSMSSettings,   menuSetMsg,        item_flag_none )
END_TITLEICON_MENU( menuMsg, menuListArea,smsTitleicon )
//END_TITLEICON_MENU( menuMsg, menuListArea,smsTitleicon )
//modify by wangyan 03-09-17

/*---------------------------------------------------------------------------*/
/* Phone book menus*/
// Sub-Menu of
BEGIN_MENU( menuRepRedOptions )//通话选项菜单
    MENU_ITEM( TxtStoreNumber, bookRepRedNameEnter, item_flag_none ),
    MENU_ITEM( TxtSendMessage, bookSendMessage,     item_flag_none ),
    MENU_ITEM( TxtDetails,     bookCallListDetails,      item_flag_none ),
    MENU_ITEM( TxtDelete,      bookRepRedDelete,     item_flag_none ),
    MENU_ITEM( TxtDeleteAll,   bookDeleteAll,          item_flag_none ),
END_MENU( menuRepRedOptions, menuListArea )
//END_MENU( menuRepRedOptions, menuListArea )

BEGIN_MENU ( bookNvmNameEnter )
    MENU_LISTICON_ITEM( &colist,	TxtEnterNumber, bookNumberEnter,	item_flag_none),//手机
    MENU_LISTICON_ITEM( &colist,	TxtEnterHome,   bookHomeEnter,		item_flag_none),//住宅电话
    MENU_LISTICON_ITEM( &colist,	TxtEnterOffice,	bookOfficeEnter,	item_flag_none),//办公电话
END_MENU( bookNvmNameEnter,menuListArea )
//END_MENU( bookNvmNameEnter,menuListArea)

/* 2003/12/01 sunsj remove submenu about nvm book enter */
BEGIN_MENU ( bookNameAdd )//电话本添加(SIM卡和NVM)
    MENU_LISTICON_ITEM( &colist, TxtSIMBook,	bookNameEnter,		item_flag_none),//SIM卡电话本
    //SUB_LISTICON_MENU ( &colist, TxtNVMBook,	bookNvmNameEnter,	item_flag_none),//手机电话本
    MENU_LISTICON_ITEM( &colist, TxtNVMBook,    bookNvmNumberEnter,	item_flag_none),
END_MENU ( bookNameAdd,menuListArea )
//END_MENU ( bookNameAdd,menuListArea )

BEGIN_MENU( bookCopyAll )
    MENU_LISTICON_ITEM( &colist,TxtCopySIMtoNVM, bookCopyAllSIMToNVM,  item_flag_none),//SIM卡到手机
    MENU_LISTICON_ITEM(&colist, TxtCopyNVMtoSIM, bookCopyAllNVMToSIM,  item_flag_none),//手机到SIM卡
END_MENU ( bookCopyAll,menuListArea )

BEGIN_MENU ( bookChoiceCopy )
    MENU_LISTICON_ITEM(&colist, TxtCopySIMtoNVM, bookChoiceCopySIMToNVM,  item_flag_none),//SIM卡到手机
    MENU_LISTICON_ITEM(&colist, TxtCopyNVMtoSIM, bookChoiceCopyNVMToSIM,  item_flag_none),//手机到SIM卡
END_MENU( bookChoiceCopy, menuListArea )
    
BEGIN_MENU( bookMultiCopy )//电话本复制(SIM卡和NVM)    
    SUB_LISTICON_MENU(&colist, TxtCopyAll,    bookCopyAll,		item_flag_none),//全部复制
    SUB_LISTICON_MENU(&colist, TxtChoiceCopy, bookChoiceCopy,	item_flag_none),//选择复制
END_MENU( bookMultiCopy,menuListArea )

BEGIN_MENU( bookClearAll )
    MENU_LISTICON_ITEM(&colist, TxtSIMBook, bookSimDeleteAll,  item_flag_none), //SIM卡电话簿
    MENU_LISTICON_ITEM(&colist, TxtNVMBook, bookNvmDeleteAll,  item_flag_none),	//手机电话簿
END_MENU( bookClearAll,menuListArea )
    
// Menu of Phonebook
BEGIN_MENU( menuPhbk )
    MENU_LISTICON_ITEM( &colist,	TxtPhoneSearch,     bookNameSearch,		item_flag_none),//查询
    SUB_LISTICON_MENU ( &colist,	TxtPhoneAdd,        bookNameAdd,		item_flag_none),//添加
    MENU_LISTICON_ITEM( &colist,	TxtGroupingSetting, bookGroupingSetting,item_flag_none),//分组
    SUB_LISTICON_MENU ( &colist,	TxtMultiCopy,       bookMultiCopy,      item_flag_none),//复制
    SUB_LISTICON_MENU ( &colist,	TxtClearAll,        bookClearAll,       item_flag_none),//全部删除
    MENU_LISTICON_ITEM( &colist,	TxtShortCutDial,    bookShortCutDial,   item_flag_none),//快捷拨号
    MENU_LISTICON_ITEM( &colist,	TxtMyNumber,		bookOwnNumber,		item_flag_none),//本机号码
    MENU_LISTICON_ITEM( &colist,	TxtMemory,			bookMemoryStatus,   item_flag_none),//内存容量      
    //MENU_LISTICON_ITEM( &colist,	TxtVoiceList,       bookVoiceList,      item_flag_none),//语音列表	/* 2004/04/10 sunsj remove */
END_MENU( menuPhbk, menuListArea )

//begin xzy add 2002/10/24 for phone book grouping icon
/*

⌨️ 快捷键说明

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