Profiles_prot.h
资源名称:mmi.rar [点击查看]
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:18k
源码类别:
MTK
开发平台:
C/C++
- /*****************************************************************************
- * 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:
- * ---------
- * Profiles_prot.h
- *
- * Project:
- * --------
- * MAUI
- *
- * Description:
- * ------------
- * This file is intends for Settings application function prototypes
- *
- * 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!!
- *============================================================================
- ****************************************************************************/
- /*
- * 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 : Profiles_prot.h
- PURPOSE : Settings application function prototypes
- REMARKS : nil
- AUTHOR : Ashima Bajaj
- DATE :
- **************************************************************/
- #ifndef _PIXCOM_PROFILESPROT_H
- #define _PIXCOM_PROFILESPROT_H
- #include "PixTelDataTypes.h"
- extern BOOL mmi_profiles_is_device_profile(void);
- extern void EntryScrProfiles(void);
- extern void ExitScrProfiles(void);
- extern void EntryScrProfilesOptions(void);
- extern void ExitScrProfilesOptions(void);
- extern void EntryScrProfilesActivate(void);
- extern void EntryScrProfilesActivateById(U8 profileId);
- extern void EntryScrProfilesCustomize(void);
- extern void ExitScrProfilesCustomize(void);
- extern void EntryScrProfilesVolumeType(void);
- extern void ExitScrProfilesVolumeType(void);
- extern void EntryScrProfilesCallAlert(void);
- extern void ExitScrProfilesCallAlert(void);
- extern void EntryScrProfilesRingType(void);
- extern void ExitScrProfilesRingType(void);
- #ifdef __MMI_CONNECT_NOTICE__
- extern void EntryScrProfilesConnectNotice(void);
- extern void ExitScrProfilesConnectNotice(void);
- #endif /* __MMI_CONNECT_NOTICE__ */
- extern void GetProfileVolumeLevelHiliteIndex(S32);
- extern void EntryScrProfilesCommonVolumeLevel(void);
- extern void EntryScrProfilesCommonVolumeLevel1(void);
- extern void ExitScrProfilesCommonVolumeLevel(void);
- extern void EntryScrProfilesAnsweringMode(void);
- extern void ExitScrProfilesAnsweringMode(void);
- /* void ExitScrProfilesAnsweringMode(void); */
- extern void EntryScrProfilesLoudSpeaker(void);
- extern void ExitScrProfilesLoudSpeaker(void);
- #ifdef __MMI_STATUS_LED__
- extern void EntryScrStatusLEDPatterns(void);
- extern void ExitScrStatusLEDPatterns(void);
- #endif /* __MMI_STATUS_LED__ */
- //KP Jerry add on 2007-03-31 start
- #ifdef __MMI_PROFILE_POWER_SAVING__
- extern void HighlightPowerSavingProfile(void);
- extern void HighlightSilentProfile(void);
- extern void HighlightProfilesLCDBL(void);
- extern void HighlightProfilesSetBackLiteLevel(S32 index);
- extern void HighlightProfilesSetBackLiteHFTime(S32 index);
- extern void HighlightProfilesKEYBL(void);
- extern void HintProfilesKEYBL(U16 index);
- extern void EntryProfilesSetLCDBackLite(void);
- extern void ProfilesSetLCDBackLiteLSKHdlr(void);
- extern void EntryProfilesSetKeyBacklight(void);
- extern U32 GetCurrentProfileLCDBLlevel(void);
- extern U32 GetCurrentActivatedProfileLCDBKLevel(void);
- extern U32 GetCurrentActivatedProfileLCDBKTime(void);
- extern MMI_BOOL GetCurrentActivatedProfileKeyBKStatus(void);
- extern void ProfilesResetKeyBacklight(void);
- #endif
- //KP Jerry add on 2007-03-31 end
- extern void EntryScrProfilesToneSetup(void);
- extern U8 mmi_profiles_get_melody_list(U16 CurMelodyID, U16 *selecteditem);
- extern void ExitScrProfilesToneSetup(void);
- extern void mmi_profiles_entry_ring_tone_list(void);
- extern void mmi_profiles_exit_ring_tone_list(void);
- extern void EntryScrProfilesPoweronToneSetup(void);
- extern void ExitScrProfilesPoweronToneSetup(void);
- extern void EntryScrProfilesPoweroffToneSetup(void);
- extern void ExitScrProfilesPoweroffToneSetup(void);
- //KP Jerry add for changing the style of message tone list on 2007-4-10 start
- #ifdef __MMI_TONE_LIST_STYLE_CHANGED__
- extern U8 mmi_profiles_get_POn_Off_tone_list(U16 CurMelodyID, U16 *selecteditem);
- extern void mmi_profiles_entry_POn_Off_tone_list(void);
- extern void mmi_profiles_exit_POn_Off_tone_list(void);
- extern void mmi_profiles_POn_Off_tone_list_highlight_hdlr(S32 index);
- extern void EntryScrSetPowerOnToneId(void);
- void EntryScrSetPowerOnToneIdCountId(void (*Func_Callback) (U8, U16));
- extern void EntryScrSetPowerOnToneId_Ext(U8 ExtMelodyFlag, U16 ringTone);
- extern void EntryScrSetPowerOffToneId(void);
- void EntryScrSetPowerOffToneIdCountId(void (*Func_Callback) (U8, U16));
- extern void EntryScrSetPowerOffToneId_Ext(U8 ExtMelodyFlag, U16 ringTone);
- #endif
- //KP Jerry add for changing the style of message tone list on 2007-4-10 end
- /* MTK brian added to wrap cover open/close tone setup, 2003/10/18 */
- #ifdef __MMI_CLAMSHELL__
- extern void HighlightProfilesCoverOpenToneSetup(void);
- extern void EntryScrProfilesCoverOpenToneSetup(void);
- extern void ExitScrProfilesCoverOpenToneSetup(void);
- extern void HighlightProfilesCoverCloseToneSetup(void);
- extern void EntryScrProfilesCoverCloseToneSetup(void);
- extern void ExitScrProfilesCoverCloseToneSetup(void);
- //KP Jerry add for changing the style of message tone list on 2007-4-10 start
- #ifdef __MMI_TONE_LIST_STYLE_CHANGED__
- extern void EntryScrSetCoverOpenToneId(void);
- extern void EntryScrSetCoverOpenToneId_Ext(U8 ExtMelodyFlag, U16 ringTone);
- extern void EntryScrSetCoverCloseToneId(void);
- extern void EntryScrSetCoverCloseToneId_Ext(U8 ExtMelodyFlag, U16 ringTone);
- #endif
- //KP Jerry add for changing the style of message tone list on 2007-4-10 end
- #endif /* __MMI_CLAMSHELL__ */
- /* MTK end */
- extern void EntryScrProfilesMessageToneSetup(void);
- extern void ExitScrProfilesMessageToneSetup(void);
- //KP Jerry add for changing the style of message tone list on 2007-4-10 start
- #ifdef __MMI_TONE_LIST_STYLE_CHANGED__
- extern U8 mmi_profiles_get_ms_tone_list(U16 CurMelodyID, U16 *selecteditem);
- extern void MSToneListRightSoftKeyHandler(void);
- extern void mmi_profiles_entry_ms_tone_list(void);
- extern void mmi_profiles_exit_ms_tone_list(void);
- extern void mmi_profiles_ms_tone_list_highlight_hdlr(S32 index);
- extern void EntryScrSetMSToneId(void);
- void EntryScrSetMSToneIdCountId(void (*Func_Callback) (U8, U16));
- extern void EntryScrSetMSToneId_Ext(U8 ExtMelodyFlag, U16 ringTone);
- extern void PrfSetMSToneExtMelody(void);
- extern void ExitPrfSetMSToneExtMelody(void);
- extern void EntryPrfSetMSToneExtMelody(void);
- #endif
- //KP Jerry add for changing the style of message tone list on 2007-4-10 end
- extern void EntryScrProfilesKeypadToneSetup(void);
- extern void ExitScrProfilesKeypadToneSetup(void);
- extern void EntryScrProfilesAlarmToneSetup(void);
- extern void ExitScrProfilesAlarmToneSetup(void);
- extern void EntryScrSetRingToneId(void);
- void EntryScrSetRingToneIdCountId(void (*Func_Callback) (U8, U16));
- extern void EntryScrSetRingToneId_Ext(U8 ExtMelodyFlag, U16 ringTone);
- extern void PrfSetRingToneExtMelody(void);
- extern void ExitPrfSetRingToneExtMelody(void);
- extern void EntryPrfSetRingToneExtMelody(void);
- extern void EntryScrSetPoweronTone(void);
- extern void EntryScrSetPoweroffTone(void);
- /* MTK brian added to wrap cover open/close tone setup, 2003/10/18 */
- #ifdef __MMI_CLAMSHELL__
- extern void EntryScrSetCoverOpenTone(void);
- extern void EntryScrSetCoverCloseTone(void);
- #endif /* __MMI_CLAMSHELL__ */
- /* MTK end */
- extern void EntryScrSetMessageTone(void);
- extern void EntryScrSetAnsweringMode(void);
- #ifdef __MMI_STATUS_LED__
- extern void EntryScrSetLightColor(void);
- #endif
- extern void EntryScrSetCalltimereminder(void);
- extern void EntryScrSetKeypadTone(void);
- extern void EntryScrSetwarningtone(void);
- extern void EntryScrSetAlarmtone(void);
- extern void EntryScrSetCommonVolumeLevel(void);
- extern void EntryScrSetTime(void);
- extern void EntryScrProfilesExtraToneSetup(void);
- extern void ExitScrProfilesExtraToneSetup(void);
- extern void GetCurrScreenHandler(S32);
- /* void GetCurrScreenHandlertwo(S32); */
- extern void mmi_profiles_melody_list_highlight_hdlr(S32 index);
- extern void GetCurrScreenHandlerfour(S32);
- extern void GetCurrScreenHandlerfive(S32);
- extern void GetCurrScreenHandlersix(S32 item_index);
- void EntryScrProfilesQueryPopup(void (*fn_lsk) (void), void (*fn_rsk) (void));
- extern void ExitScrProfilesQueryPopup(void);
- extern void ProfilesCallAlertPopup(void);
- extern void ProfilesRingTypePopup(void);
- extern void ProfilesFontSizePopup(void);
- extern void ProfilesRingToneSelectPopup(void);
- extern void ProfilesAnsweringModePopup(void);
- extern void ProfilesExtraTonePopup(void);
- extern void EntryPorfPopup(void);
- #if defined(__MMI_INTELLIGENT_CALL_ALERT__)
- extern void EntryScrIntelligentCallAlert(void);
- #endif
- extern S8 *Ringtonestring(void);
- extern S8 *Alarmtonestring(void);
- extern S8 *PowerOntonestring(void);
- extern S8 *CoverOpentonestring(void);
- extern S8 *PowerOfftonestring(void);
- extern S8 *CoverClosetonestring(void);
- extern S8 *MessageToneString(void);
- extern S8 *KeypadToneString(void);
- extern S8 *AlertTypeString(void);
- extern S8 *RingTypeString(void);
- extern S8 *FontSizeString(void);
- extern S8 *AnsweringModeString(void);
- extern void StopRingToneBack(void);
- extern void PlayToneAudio(void);
- extern void StopToneAudio(void);
- extern void VolumeIncreaseDecreaseFunction(void);
- extern void GoBackCommonVolume(void);
- extern void showAlertStatusIcons(void);
- extern void GoIdleScreenCommonVolume(void);
- extern void playcolorID(void);
- extern void StopColorId(void);
- extern void GetDynamicToneIds(void);
- extern void StopSilentProfileVibrator(void);
- extern void SetExtraToneValues(void);
- extern U8 GuardSilentMode(void);
- extern void SetMtCallAlertRing(void);
- extern void SetMtCallAlertVibrationOnly(void);
- extern void SetMtCallAlertVibrationAndRing(void);
- extern void SetMtCallAlertVibrationThenRing(void);
- extern void SetMtCallAlertSilent(void);
- extern void SetRingTypeAscending(void);
- extern void SetRingTypeSingle(void);
- extern void SetRingTypeRepeat(void);
- #ifdef __MMI_CONNECT_NOTICE__
- extern void SetConnectNoticeNone(void);
- extern void SetConnectNoticeToneOnly(void);
- extern void SetConnectNoticeVibOnly(void);
- extern void SetConnectNoticeToneAndVib(void);
- #endif /* __MMI_CONNECT_NOTICE__ */
- extern void SetKeyPadToneSilent(void);
- extern void SetKeyPadToneClick(void);
- extern void SetKeyPadToneTone(void);
- #if defined(__MMI_HUMAN_VOICE_KEYPAD_TONE__)
- extern void SetKeyPadToneHumanVoice1(void);
- extern void SetKeyPadToneHumanVoice2(void);
- extern void SetKeyPadToneHumanVoice3(void);
- extern void SetKeyPadToneHumanVoice4(void);
- extern void SetKeyPadToneHumanVoice5(void);
- extern void SetKeyPadToneHumanVoice6(void);
- #endif /* defined(__MMI_HUMAN_VOICE_KEYPAD_TONE__) */
- #if defined(__MMI_CUST_KEYPAD_TONE__)
- extern void SetKeyPadToneCust1(void);
- extern void SetKeyPadToneCust2(void);
- extern void SetKeyPadToneCust3(void);
- extern void SetKeyPadToneCust4(void);
- extern void SetKeyPadToneCust5(void);
- extern void SetKeyPadToneCust6(void);
- #endif /* defined(__MMI_CUST_KEYPAD_TONE__) */
- extern void ContinueRingTone(void *);
- extern void HintHandlerIncomingCall(U16 index);
- extern void HintHandlerAlarmTone(U16 index);
- extern void HintHandlerPowerOnTone(U16 index);
- extern void HintHandlerPowerOffTone(U16 index);
- /* MTK brian added to wrap cover open/close tone setup, 2003/10/18 */
- #ifdef __MMI_CLAMSHELL__
- extern void HintHandlerCoverOpenTone(U16 index);
- extern void HintHandlerCoverCloseTone(U16 index);
- #endif /* __MMI_CLAMSHELL__ */
- /* MTK end */
- extern void HintHandlerMessgaeTone(U16 index);
- extern void HintHandlerKeypadTone(U16 index);
- extern void HintHandlerAlertType(U16 index);
- extern void HintHandlerRingType(U16 index);
- #ifdef __MMI_CONNECT_NOTICE__
- extern void HintHandlerConnectNotice(U16 index);
- #endif
- extern void HintHandlerRingVolume(U16 index);
- extern void HintHandlerKeyVolume(U16 index);
- #ifdef __MMI_STATUS_LED__
- extern void HintHandlerStatusLED(U16 index);
- #endif
- extern void HighlightKeyPadToneSilent(void);
- extern void HighlightKeyPadToneClick(void);
- extern void HighlightKeyPadToneTone(void);
- #if defined(__MMI_HUMAN_VOICE_KEYPAD_TONE__)
- extern void HighlightKeyPadToneHumanVoice1(void);
- extern void HighlightKeyPadToneHumanVoice2(void);
- extern void HighlightKeyPadToneHumanVoice3(void);
- extern void HighlightKeyPadToneHumanVoice4(void);
- extern void HighlightKeyPadToneHumanVoice5(void);
- extern void HighlightKeyPadToneHumanVoice6(void);
- #endif /* defined(__MMI_HUMAN_VOICE_KEYPAD_TONE__) */
- #if defined(__MMI_CUST_KEYPAD_TONE__)
- extern void HighlightKeyPadToneCust1(void);
- extern void HighlightKeyPadToneCust2(void);
- extern void HighlightKeyPadToneCust3(void);
- extern void HighlightKeyPadToneCust4(void);
- extern void HighlightKeyPadToneCust5(void);
- extern void HighlightKeyPadToneCust6(void);
- #endif /* defined(__MMI_CUST_KEYPAD_TONE__) */
- extern void HighlightRingToneVolume(void);
- extern void HighlightKeyToneVolume(void);
- extern void HighlightRingTypeSingle(void);
- extern void HighlightRingTypeRepeat(void);
- extern void HighlightRingTypeAscending(void);
- #ifdef __MMI_CONNECT_NOTICE__
- extern void HighlightProfilesConnectNotice(void);
- extern void HighlightConnectNoticeNone(void);
- extern void HighlightConnectNoticeToneOnly(void);
- extern void HighlightConnectNoticeVibOnly(void);
- extern void HighlightConnectNoticeToneAndVib(void);
- #endif /* __MMI_CONNECT_NOTICE__ */
- extern void HighlightCallAlertRing(void);
- extern void HighlightCalAlertVibrationOnly(void);
- extern void HighlightCallAlertVibrationAndRing(void);
- extern void HighlightCallAlertVibrationThenRing(void);
- extern void HighlightCallAlertSilent(void);
- extern void HighlightProfilesOptions(void);
- extern void HighlightProfileActivateOptions(void);
- extern void HighlightProfilesCustomize(void);
- extern void HighlightProfilesVolumeLevel(void);
- extern void HighlightProfilesCallAlert(void);
- extern void HighlightProfilesRingType(void);
- extern void HighlightProfilesAnsweringMode(void);
- extern void HighlightProfilesLoudSpeaker(void);
- extern void HighlightProfilesLcdoff(void);
- #ifdef __MMI_STATUS_LED__
- extern void HighlightProfilesStatus(void);
- #endif
- extern void HighlightProfilesToneSetup(void);
- extern void HighlightProfilesRingToneSetup(void);
- extern void HighlightProfilesPoweronToneSetup(void);
- extern void HighlightProfilesPoweroffToneSetup(void);
- extern void HighlightProfilesMessageToneSetup(void);
- extern void HighlightProfilesKeypadToneSetup(void);
- extern void HighlightAlarmToneSetup(void);
- extern void HighlightExtraToneSetup(void);
- extern void HighlightHeadsetProfile(void);
- #ifdef __MMI_BT_PROFILE__
- extern void mmi_profiles_bt_profile_highlight_hdlr(void);
- #endif
- extern void HighlightIndoorProfile(void);
- extern void HighlightOutdoorProfile(void);
- extern void HighlightMeetingProfile(void);
- extern void HighlightGeneralProfile(void);
- #if defined(__MMI_INTELLIGENT_CALL_ALERT__)
- extern void HighlightHandlerIntelligentCallAlert(void);
- extern void HintIntelligentCallAlert(U16 index);
- extern void HighlightHandlerIntelligentCallAlertOn(void);
- extern void HighlightHandlerIntelligentCallAlertOff(void);
- extern void SetIntelligentCallAlertOn(void);
- extern void SetIntelligentCallAlertOff(void);
- #endif /* defined(__MMI_INTELLIGENT_CALL_ALERT__) */
- //void DisplayProfilePopup(U8 * string, U16 imageId, U8 imageOnBottom, U32 popupDuration, U8 toneId);
- //void ExitDisplayProfilePopup(void);
- //void PopupProfileTimerOver(void);
- //void DisplayProfilePopupCheckBox(U8 * string, U16 imageId, U8 imageOnBottom, U32 popupDuration, U8 toneId);
- //void ExitDisplayProfilePopupCheckBox(void);
- //void PopupProfileTimerOverCheckBox(void);
- #endif /* _PIXCOM_PROFILESPROT_H */