/******************************************************************************* ** app_guiobj_channel.h : Description ...... ** ** Copyright(c) 2008 Sunmedia Technologies - All Rights Reserved ** Author : qin.he ** ** $Id: app_guiobj_channel.h 1069 2010-11-16 10:32:32Z b.yang_c1 $ *******************************************************************************/ #ifndef _APP_GUIOBJ_CHANNEL_H_ #define _APP_GUIOBJ_CHANNEL_H_ /******************************************************************** Extern Global Functions ********************************************************************/ #ifdef CONFIG_DTV_SUPPORT #include "al_fw.h" #include "board_config.h" #include "drv_tuner_external.h" #if defined(CONFIG_DVB_SYSTEM) || defined(CONFIG_AUS_DVB_SYSTEM) || defined(CONFIG_DTMB_SYSTEM) INT32 APP_GUIOBJ_Channel_GetStringIDByRFType(UINT32 u32RFType); INT32 APP_GUIOBJ_Channel_GetCurrentRFTypeString(UINT32 *u32String); INT32 APP_GUIOBJ_Channel_SetRFTypeByStringID(UINT32 u32StringID); INT32 APP_GUIOBJ_Channel_SetRFType(DRV_Frontend_Connect_Type_t tFrontendType, AL_RecHandle_t hProgHdl); UINT32 APP_GUIOBJ_Channel_GetRFTypeStringNum(void); UINT32* APP_GUIOBJ_Channel_GetRFTypeStringTbl(void); /***************************************************************************** ** APP_GUIOBJ_Channel_SetRFTypeWithHdl ** input param: eRFType -- the RF type to set hNextHdl -- program handle at this RF type ** if the handle given is invalid or no mattch with the RF type, it will read the default handle *****************************************************************************/ INT32 APP_GUIOBJ_Channel_SetRFTypeWithHdl(APP_RFType_en eRFType, AL_RecHandle_t hProgHdl); #endif void APP_GUIOBJ_Channel_SetFrontendRFType(void); //zhongbaoxing added for Frontend RF Type switch @20110509 #ifdef SUPPORT_LCN void _APP_GUIOBJ_Channel_Get_LCN_ONOFF(UINT32 *pLCN_Mode); //zhongbaoxing added for LCN on off feature @20110808 void _APP_GUIOBJ_Channel_Update_LCN(void); #endif #ifdef CELLO_5V_FROM_ANTENNA void APP_GUIOBJ_Channel_Active5vSettingForAntenna(void); void APP_GUIOBJ_Channel_Get5vfromantenna(UINT32 *u5vfromantenna); #endif #endif typedef enum _BaseCoutry_Item { BASECOUNTRY_PRESUBTITLE = 0, BASECOUNTRY_PREAUDIO, BASECOUNTRY_ALL, BASECOUNTRY_ITEM_MAX, }BaseCoutry_Item; void APP_GUIOBJ_Channel_SetValue_BaseCountry(BaseCoutry_Item Item); UINT32 APP_GUIOBJ_Channel_GetCountryNum(void); UINT32* APP_GUIOBJ_Channel_GetCountryTbl(void); UINT32 APP_GUIOBJ_Channel_GetAreaBySupportCountryIdx(UINT32 u32Index); UINT32 APP_GUIOBJ_Channel_GetSupportCountryIdxByArea(UINT8 uiValue); #endif /***************************************************************************** ** $Rev: 1069 $ ** *****************************************************************************/