app_guiobj_channel.h 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /*******************************************************************************
  2. ** app_guiobj_channel.h : Description ......
  3. **
  4. ** Copyright(c) 2008 Sunmedia Technologies - All Rights Reserved
  5. ** Author : qin.he
  6. **
  7. ** $Id: app_guiobj_channel.h 1069 2010-11-16 10:32:32Z b.yang_c1 $
  8. *******************************************************************************/
  9. #ifndef _APP_GUIOBJ_CHANNEL_H_
  10. #define _APP_GUIOBJ_CHANNEL_H_
  11. /********************************************************************
  12. Extern Global Functions
  13. ********************************************************************/
  14. #ifdef CONFIG_DTV_SUPPORT
  15. #include "al_fw.h"
  16. #include "board_config.h"
  17. #include "drv_tuner_external.h"
  18. #if defined(CONFIG_DVB_SYSTEM) || defined(CONFIG_AUS_DVB_SYSTEM) || defined(CONFIG_DTMB_SYSTEM)
  19. INT32 APP_GUIOBJ_Channel_GetStringIDByRFType(UINT32 u32RFType);
  20. INT32 APP_GUIOBJ_Channel_GetCurrentRFTypeString(UINT32 *u32String);
  21. INT32 APP_GUIOBJ_Channel_SetRFTypeByStringID(UINT32 u32StringID);
  22. INT32 APP_GUIOBJ_Channel_SetRFType(DRV_Frontend_Connect_Type_t tFrontendType, AL_RecHandle_t hProgHdl);
  23. UINT32 APP_GUIOBJ_Channel_GetRFTypeStringNum(void);
  24. UINT32* APP_GUIOBJ_Channel_GetRFTypeStringTbl(void);
  25. /*****************************************************************************
  26. ** APP_GUIOBJ_Channel_SetRFTypeWithHdl
  27. ** input param: eRFType -- the RF type to set
  28. hNextHdl -- program handle at this RF type
  29. ** if the handle given is invalid or no mattch with the RF type,
  30. it will read the default handle
  31. *****************************************************************************/
  32. INT32 APP_GUIOBJ_Channel_SetRFTypeWithHdl(APP_RFType_en eRFType, AL_RecHandle_t hProgHdl);
  33. #endif
  34. void APP_GUIOBJ_Channel_SetFrontendRFType(void); //zhongbaoxing added for Frontend RF Type switch @20110509
  35. #ifdef SUPPORT_LCN
  36. void _APP_GUIOBJ_Channel_Get_LCN_ONOFF(UINT32 *pLCN_Mode); //zhongbaoxing added for LCN on off feature @20110808
  37. void _APP_GUIOBJ_Channel_Update_LCN(void);
  38. #endif
  39. #ifdef CELLO_5V_FROM_ANTENNA
  40. void APP_GUIOBJ_Channel_Active5vSettingForAntenna(void);
  41. void APP_GUIOBJ_Channel_Get5vfromantenna(UINT32 *u5vfromantenna);
  42. #endif
  43. #endif
  44. typedef enum _BaseCoutry_Item
  45. {
  46. BASECOUNTRY_PRESUBTITLE = 0,
  47. BASECOUNTRY_PREAUDIO,
  48. BASECOUNTRY_ALL,
  49. BASECOUNTRY_ITEM_MAX,
  50. }BaseCoutry_Item;
  51. void APP_GUIOBJ_Channel_SetValue_BaseCountry(BaseCoutry_Item Item);
  52. UINT32 APP_GUIOBJ_Channel_GetCountryNum(void);
  53. UINT32* APP_GUIOBJ_Channel_GetCountryTbl(void);
  54. UINT32 APP_GUIOBJ_Channel_GetAreaBySupportCountryIdx(UINT32 u32Index);
  55. UINT32 APP_GUIOBJ_Channel_GetSupportCountryIdxByArea(UINT8 uiValue);
  56. #endif
  57. /*****************************************************************************
  58. ** $Rev: 1069 $
  59. **
  60. *****************************************************************************/