SATProts.h
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:15k
- /*****************************************************************************
- * 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:
- * ---------
- * SATProts.h
- *
- * Project:
- * --------
- * MAUI
- *
- * Description:
- * ------------
- * SIM application toolkit related functions
- *
- * 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!
- *
- *------------------------------------------------------------------------------
- * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *==============================================================================
- *******************************************************************************/
- /**
- * Copyright Notice
- * ?2002 - 2003, Pixtel Communications, Inc., 1489 43rd Ave. W.,
- * Vancouver, B.C. V6M 4K8 Canada. All Rights Reserved.
- * (It is illegal to remove this copyright notice from this software or any
- * portion of it)
- */
- /**************************************************************
- FILENAME : SATProts.h
- PURPOSE : SAT application
- REMARKS : nil
- AUTHOR : NEERAJ SHARMA
- DATE : Mar 24,03
- **************************************************************/
- #ifndef _PIXTEL_SATPROTS_H
- #define _PIXTEL_SATPROTS_H
- extern void SATMessageWaitTimer(void);
- extern void SATStopWaitTimer(void);
- extern void SATPleaseWaitScreen(U16 string, U16 image);
- extern void PleaseWaitActualScreen(void);
- extern void StartSATTimerNoResponsefromUser(FuncPtr FuncPtr);
- extern void StopSATTimerNoResponsefromUser(void);
- extern void TemporaryStopSATTimerNoResponsefromUser(void);
- extern void RestartSATTimerNoResponsefromUser(void);
- extern void StartSATTimerHelp(FuncPtr FuncPtr);
- extern void StopSATTimerHelp(void);
- extern void TemporaryStopSATTimerHelp(void);
- extern void RestartSATTimerHelp(void);
- extern void InitSimAppToolkit(void);
- extern void ExitSATToIdle(void);
- extern void ExitVariables(void);
- extern void SATHistoryHandler(void);
- extern void SATSaveHistory(void);
- extern void SATSetupMenuInd(void *msgPtr);
- extern void GoToSATMainMenu(void);
- extern void SendTerminalResponseSetupMenu(U8 res, U8 *cmdDetail);
- extern void SATSetupMenuRsp(void *msgPtr);
- /* micha0216 */
- extern void SATMenuSelectRsp(void *msgPtr);
- extern void ExitSATMainMenu(void);
- extern void SATMenuIndex(S32 index);
- extern void EnvelopeSetupMenuOK(void);
- extern void EnvelopeSetupMenuHelp(void);
- extern void EnvelopeSetupMenu(U8 itemId, U8 isHelpInfoRequested);
- extern void FreeMainMenu(SATSETUPMENU *mainMenu);
- extern void SATCompletePreviousTransaction(void);
- extern void SATSelectItemInd(void *msgPtr);
- extern void SATSelectItemRsp(void *msgPtr);
- extern void FreeSubMenu(void);
- extern void TerminalResponseSelectItemOK(void);
- extern void TerminalResponseSelectItemMoveBack(void);
- extern void TerminalResponseSelectItemHelp(void);
- extern void TerminalResponseSelectItemExpire(void);
- extern void TerminalResponseSelectItem(U8 res, U8 itemId, U8 *cmdDetail);
- extern void GoToSATSubMenu(void);
- extern void SelectItemTimer(void);
- extern void SelectItemWrongData(void);
- extern void SATDisplayTextInd(void *msgPtr);
- extern void SATDisplayTextRsp(void *msgPtr);
- extern void GoToSATDisplayTextScreen(void);
- extern void TerminalResponseDisplayTextOK(void);
- extern void TerminalResponseDisplayTextMoveBack(void);
- extern void TerminalResponseDisplayTextExpire(void);
- extern void TerminalResponseDisplayText(U8 res, U8 *cmdDetail);
- extern void FreeDisplayText(void);
- extern void DisplayTextTimer(void);
- extern void SATGetInputInd(void *msgPtr);
- extern void SATGetInputRsp(void *msgPtr);
- extern void GoToGetInput(void);
- extern void TerminalResponseGetInputMoveBack(void);
- extern void TerminalResponseGetInputHelp(void);
- extern void TerminalResponseGetInputExpire(void);
- extern void TerminalResponseGetInputOK(void);
- extern void TerminalResponseGetInput(U8 res, U8 *cmdDetail);
- extern void FreeGetInput(void);
- extern void GetInputTimer(void);
- extern void SATGetInkeyInd(void *msgPtr);
- extern void SATGetInkeyRsp(void *msgPtr);
- extern void GoToGetInkey(void);
- extern void TerminalResponseGetInkeyMoveBack(void);
- extern void TerminalResponseGetInkeyOK(void);
- extern void TerminalResponseGetInkeyYes(void);
- extern void TerminalResponseGetInkeyNo(void);
- extern void TerminalResponseGetInkeyHelp(void);
- extern void TerminalResponseGetInkeyExpire(void);
- extern void TerminalResponseGetInkey(U8 res, U8 isYesSelected, U8 *cmdDetail);
- extern void FreeGetInkey(void);
- extern void GetInkeyTimer(void);
- extern void SATHiliteYesNo(S32 index);
- extern void TerminalResponseGetInkeyYesNo(void);
- extern void SATCallSetupInd(void *msgPtr);
- extern void SATCallSetupStage1Rsp(void *msgPtr);
- extern void SATCallSetupStage2Rsp(void *msgPtr);
- extern void GoToCallConformationScreen(void);
- extern void TerminalResponseCallSetupExpire(void);
- extern void SATCallSetupTerminalResponseMoveBack(void);
- extern void TerminalResponseCallSetup(U8 res, U8 addInfo, U8 *cmdDetail);
- extern void SATCallSetupStage1Req(void);
- extern void FreeCallSetup(void);
- extern void GoToCallConformationScreen(void);
- extern void SATCallExitCause(U8 cause);
- extern void SATCMCallBackScreen(void);
- extern void SATCMCallBackScreenExitHandler(void);
- extern U8 SATCallRedialStatus(void);
- extern void SATSendSMSInd(void *msgPtr);
- extern void SATSendSMSStage1Rsp(void *msgPtr);
- extern void SATSendSMSStage2Rsp(void *msgPtr);
- extern void TerminalResponseSendSMS(U8 res, U8 cause, U8 *cmdDetail);
- extern void SATSendSMSStage1Req(void);
- extern void GoToSMSConformationScreen(void);
- extern void SATSendSmsTerminalResponseUnable(void);
- extern void SATSendSmsTerminalResponseExpire(void);
- extern void DisplaySMSWindow(void);
- extern void SATEntryScrForInputMethodAndDone(void);
- extern void SATInputMethodAndDoneHiliteHandler(S32 index);
- extern void SATGoBacknHistoryFromInputMethod(void);
- extern void TerminalResponseGetInputOKDone(void);
- extern void FreeSendSms(void);
- extern void SATSendSSInd(void *msgPtr);
- extern void SATSendSSStage1Rsp(void *msgPtr);
- extern void SATSendSSStage2Rsp(void *msgPtr);
- extern void TerminalResponseSendSS(U8 res, U8 len, U8 *info, U8 *cmdDetail);
- extern void SATSendSSStage1Req(mmi_sat_send_ss_ind_struct *sendSSInd);
- extern void DisplaySSWindow(void);
- extern void FreeSendSS(void);
- extern void SATSendUSSDInd(void *msgPtr);
- extern void SATSendUSSDStage1Rsp(void *msgPtr);
- extern void SATSendUSSDStage2Rsp(void *msgPtr);
- extern void TerminalResponseSendUSSD(U8 res, U8 len, U8 *info, U8 *cmdDetail);
- extern void SATSendUSSDStage1Req(mmi_sat_send_ussd_ind_struct *sendSSInd);
- extern void DisplayUSSDWindow(void);
- extern void FreeSendUSSD(void);
- extern void SATMMIInfoInd(void *msgPtr);
- extern void ExitMMIInfo(void);
- extern void MMIInfoKey(void);
- extern void SATPlayToneInd(void *msgPtr);
- extern void SATPlayToneRsp(void *msgPtr);
- extern void DisplayPlayToneWindow(void);
- extern void SATPlayToneTimer(void);
- extern void TerminalResponsePlayTone(U8 res, U8 *cmdDetail);
- extern void TerminalResponsePlayToneBackward(void);
- extern void TerminalResponsePlayToneOK(void);
- extern void TerminalResponsePlayToneExpire(void);
- extern void FreePlayTone(void);
- extern void ExitPlayTone(void);
- extern void SATSendReadSimFileRsp(void *msgPtr);
- extern void SATSendReadSimFileReq(U16 fileIdx, U16 recordNo, U16 length);
- extern void SendImageDataRecordReq(mmi_smu_read_sim_rsp_struct *satReadSimRes);
- extern void SendImageInstRecordReq(mmi_smu_read_sim_rsp_struct *satReadSimRes);
- extern void SendImageLenRecordReq(U8 iconId);
- extern void SendColorDataCallBack(mmi_smu_read_sim_rsp_struct *satReadSimRes);
- extern void SATSendSSUSSDError(void);
- extern void SATEVDLBrowserTerminationInd(void *msgPtr);
- extern void SATEVDLBrowserTermination(U8 res);
- extern void SATLangNotifyInd(void *msgPtr);
- extern void SATSetLanguage(PU8 Lang);
- extern void TerminalResponseLangNotify(U8 res, U8 *cmdDetail);
- extern void SATLaunchBrowserInd(void *msgPtr);
- extern void GoToLaunchBrowserConformationScreen(void);
- extern void LaunchBrowserConformationOK(void);
- extern void WAPLaunchBrowserRsp(void *msgPtr);
- extern void SATSendLaunchBrowserTerminalResponseExpire(void);
- extern void SATSendLaunchBrowserTerminalResponseUnable(void);
- extern void TerminalResponseLaunchBrowser(U8 res, U8 add_info, U8 *cmdDetail);
- extern void SATLaunchBrowserRsp(void *msgPtr);
- extern void FreeLaunchBrowser(void);
- extern void SATSendDTMFInd(void *msgPtr);
- extern void GoToDTMFConformationScreen(void);
- extern void SATSendDTMFTerminalResponseExpire(void);
- extern void SATSendDTMFTerminalResponseUnable(void);
- extern void SATSendDTMFStage1Req(void);
- extern void DisplayDTMFWindow(void);
- extern void SATSendDTMFAbortReq(void);
- extern void SATSendDTMFStage1Rsp(void *msgPtr);
- extern void TerminalResponseSendDTMF(U8 res, U8 cause, U8 *cmdDetail);
- extern void SATSendDTMFStage2Rsp(void *msgPtr);
- extern void FreeSendDTMF(void);
- extern void SATSetupIdleDisplayInd(void *msgPtr);
- extern void TerminalResponseSetupIdleDisplay(U8 res, U8 *cmdDetail);
- /* void(*SATGetIconCompleteCallBack)(void); */
- extern void SATGetIconDataCallBack(void);
- extern void SATClearAllIcons(void);
- extern void SendImageInstRecordReq(mmi_smu_read_sim_rsp_struct *satReadSimRes);
- extern void SendImageDataRecordReq(mmi_smu_read_sim_rsp_struct *satReadSimRes);
- extern void SendImageDataCallBack(mmi_smu_read_sim_rsp_struct *satReadSimRes);
- extern void SATRunATCommandInd(void *msgptr);
- extern void DisplayATCommandScreen(void);
- extern void ExitDisplayATCommandScreen(void);
- extern void DisplayATCommandTimerOver(void);
- extern void SATGenericExitHandler(void);
- /* micha0714 */
- extern void SATNoFurtherCommandInd(void *msgPtr);
- /* micha0201 */
- extern void SATSIMFileChangeInd(void *msgPtr);
- extern void GoToSATRebootScreen(void);
- extern void SATRefreshRebootTimeOut(void);
- /* micha1016 */
- extern void GoToSATSetupIdleDisplay(void);
- /* micha0125 */
- extern U8 SATScrKeyHandler(KEYBRD_MESSAGE *eventKey);
- extern void SetIsInSATScreen(void);
- extern void ClearIsInSATScreen(void);
- #ifdef __SATCE__
- extern void SATOpenChannelInd(void *msgPtr);
- extern void GoToOpenChannelConformationScreen(void);
- extern void SATOpenChannelTerminalResponseExpire(void);
- extern void SATOpenChannelTerminalResponseUnable(void);
- extern void TerminalResponseOpenChannel(U8 res, U8 *cmdDetail);
- extern void SATOpenChannelReq(void);
- extern void DisplayOpenChannelWindow(void);
- extern void SATOpenChannelRes(void *msgPtr);
- extern void FreeOpenChannel(void);
- extern void SATCloseChannelInd(void *msgPtr);
- extern void DisplayCloseChannelScreen(void);
- extern void ExitCloseChannelScreen(void);
- extern void CloseChannelCommandTimerOver(void);
- extern void SATSendDataInd(void *msgPtr);
- extern void GoToSendDataConformationScreen(void);
- extern void SATSendDataTerminalResponseExpire(void);
- extern void SATSendDataTerminalResponseUnable(void);
- extern void TerminalResponseSendData(U8 res, U8 *cmdDetail);
- extern void SATSendDataReq(void);
- extern void DisplaySendDataWindow(void);
- extern void SATSendDataRes(void *msgPtr);
- extern void FreeSendData(void);
- extern void SATRecvDataInd(void *msgPtr);
- extern void GoToRecvDataConformationScreen(void);
- extern void SATRecvDataTerminalResponseExpire(void);
- extern void SATRecvDataTerminalResponseUnable(void);
- extern void TerminalResponseRecvData(U8 res, U8 *cmdDetail);
- extern void SATRecvDataReq(void);
- extern void DisplayRecvDataWindow(void);
- extern void SATRecvDataRes(void *msgPtr);
- extern void FreeRecvData(void);
- #endif /* __SATCE__ */
- /* diamond, 2006/01/14 restart please wait timer */
- extern void mmi_sat_restart_please_wait_timer(U32 please_wait_time);
- extern void mmi_sat_read_sim_file_with_path(U16 offset, U16 length, U8 *path); /* read from EF path, total 6 bytes for path */
- extern void mmi_sat_clear_idle_display_text(U16 refresh_type);
- extern void mmi_sat_refresh_to_update_imsi(U16 refresh_type);
- extern void mmi_sat_get_msisdn_info(void);
- extern void mmi_sat_get_spn_data(void);
- extern void mmi_sat_nw_detach_before_reboot(void);
- extern void mmi_sat_remove_text_pending_characters(U8 *text_string, U16 *text_length, U8 text_dcs);
- #ifdef __USAT__
- extern void mmi_sat_terminal_response_get_inkey_digit(void);
- extern U32 mmi_sat_count_get_inkey_user_rsp(void);
- #endif /* __USAT__ */
- extern U16 gCurrLangIndex;
- extern void RefreshNwProviderName(U8 *UpdatePlmn);
- extern void EntryIdleScreen(void);
- #ifdef __MMI_CLAMCLOSE_BACK2IDLE__
- extern void DisplayIdleScreen(void);
- extern BOOL IsClamClose(void);
- #endif /* __MMI_CLAMCLOSE_BACK2IDLE__ */
- #ifdef MMI_ON_HARDWARE_P
- extern kal_bool is_test_sim(void);
- #endif
- /* micha0901 */
- extern void MakeHold(void);
- #endif /* _PIXTEL_SATPROTS_H */