| 1 | #ifndef __DST_USERINTERFACE_H__ |
|---|
| 2 | #define __DST_USERINTERFACE_H__ |
|---|
| 3 | |
|---|
| 4 | #include "DST_Common.h" |
|---|
| 5 | #include "DST_CCTask.h" |
|---|
| 6 | |
|---|
| 7 | #define BANNER_NORMAL 0 |
|---|
| 8 | #define BANNER_DIGIT 1 |
|---|
| 9 | |
|---|
| 10 | #define ASPECT_RATIO_WIDE 0 |
|---|
| 11 | #define ASPECT_RATIO_NORMAL 1 |
|---|
| 12 | #define ASPECT_RATIO_ZOOM 2 |
|---|
| 13 | |
|---|
| 14 | #define SM_GOOD_SIGNAL 0 |
|---|
| 15 | #define SM_WAIT_SIGNAL 1 |
|---|
| 16 | #define SM_WEAK_SIGNAL 2 |
|---|
| 17 | #define SM_NO_PROGRAM 3 |
|---|
| 18 | #define SM_AUDIO_ONLY 4 |
|---|
| 19 | |
|---|
| 20 | typedef enum |
|---|
| 21 | { |
|---|
| 22 | MN_AUTO_SCAN, |
|---|
| 23 | MN_MANUAL_SCAN, |
|---|
| 24 | MN_SIGNAL_METER, |
|---|
| 25 | MN_AV_DISPLAY_MODE, |
|---|
| 26 | MN_AV_AUDIO_PREF, |
|---|
| 27 | #if SUPPORT_CHANNEL_EDIT |
|---|
| 28 | MN_CHANNEL_EDIT, |
|---|
| 29 | #endif |
|---|
| 30 | MN_AV_VI, |
|---|
| 31 | MN_CC_DISPLAY, |
|---|
| 32 | MN_SLEEP_TIMER, |
|---|
| 33 | MN_AV_PREFERRED_CONN, |
|---|
| 34 | MN_FACTORY_RESET, |
|---|
| 35 | MN_STB_INFO, |
|---|
| 36 | MN_MAX_NUM |
|---|
| 37 | } MainMenuLists; |
|---|
| 38 | |
|---|
| 39 | typedef enum |
|---|
| 40 | { |
|---|
| 41 | DISPLAY_MODE_WIDE, |
|---|
| 42 | DISPLAY_MODE_NORMAL, |
|---|
| 43 | DISPLAY_MODE_ZOOM, |
|---|
| 44 | DISPLAY_MODE_MAX_NUM |
|---|
| 45 | } DisplayModeLists; |
|---|
| 46 | |
|---|
| 47 | typedef enum |
|---|
| 48 | { |
|---|
| 49 | PREFERRED_CONN_LINE_OUT, |
|---|
| 50 | PREFERRED_CONN_CH34, |
|---|
| 51 | PREFERRED_CONN_MAX_NUM |
|---|
| 52 | } PreferredConnLists; |
|---|
| 53 | |
|---|
| 54 | typedef enum |
|---|
| 55 | { |
|---|
| 56 | SLEEP_TIMER_OFF, |
|---|
| 57 | SLEEP_TIMER_15M, |
|---|
| 58 | SLEEP_TIMER_30M, |
|---|
| 59 | SLEEP_TIMER_60M, |
|---|
| 60 | SLEEP_TIMER_120M, |
|---|
| 61 | SLEEP_TIMER_MAX_NUM |
|---|
| 62 | } SleepTimerLists; |
|---|
| 63 | |
|---|
| 64 | #if 0 |
|---|
| 65 | ____Channel_UI___() |
|---|
| 66 | #endif |
|---|
| 67 | |
|---|
| 68 | // ä³Î ¾÷´Ù¿î ÇÔ¼ö |
|---|
| 69 | void DST_UI_ChannelUpDn(bool bUp); |
|---|
| 70 | |
|---|
| 71 | // ä³Î Æ©´×À» ÇÑ´Ù.TUNE_MODE_AUTO |
|---|
| 72 | // void DST_UI_ChannelTune(DS_U8 RF, DS_U16 program_number=0); |
|---|
| 73 | void DST_UI_ChannelTune(DS_U8 RF, DS_U16 program_number); |
|---|
| 74 | |
|---|
| 75 | #if 0 |
|---|
| 76 | ____Settings_UI___() |
|---|
| 77 | #endif |
|---|
| 78 | |
|---|
| 79 | void DST_UI_InitMenuCursor(); |
|---|
| 80 | |
|---|
| 81 | // Aspect ¼³Á¤ |
|---|
| 82 | DS_U8 DST_UI_GetAspect(void); |
|---|
| 83 | |
|---|
| 84 | // Aspect ¼³Á¤ |
|---|
| 85 | void DST_UI_SetAspect(DS_U8 value); |
|---|
| 86 | |
|---|
| 87 | // MTS Setting (0) Çѱ¹¾î (1) ¿Ü±¹¾î |
|---|
| 88 | DS_U8 DST_UI_GetMTS(); |
|---|
| 89 | |
|---|
| 90 | void DST_UI_SetMTS( DS_U8 nVal); |
|---|
| 91 | |
|---|
| 92 | // VI Setting (0) Off (1) On |
|---|
| 93 | DS_U8 DST_UI_GetVI(); |
|---|
| 94 | |
|---|
| 95 | void DST_UI_SetVI( DS_U8 nVal); |
|---|
| 96 | |
|---|
| 97 | // CC ¼³Á¤ |
|---|
| 98 | void DST_UI_SetCloseCaption(DS_U8 value); |
|---|
| 99 | |
|---|
| 100 | // 0À̸é RF3 1À̸é RF4 |
|---|
| 101 | DS_U8 DST_UI_GetCh34(void); |
|---|
| 102 | |
|---|
| 103 | void DST_UI_SetCh34(DS_U8 bVal); |
|---|
| 104 | |
|---|
| 105 | #if 0 |
|---|
| 106 | ____Volum_UI___() |
|---|
| 107 | #endif |
|---|
| 108 | |
|---|
| 109 | // º¼·ý ¼³Á¤ |
|---|
| 110 | DS_U8 DST_UI_GetVolume(void); |
|---|
| 111 | |
|---|
| 112 | // º¼·ý ¼³Á¤ |
|---|
| 113 | void DST_UI_SetVolume(DS_U8 value); |
|---|
| 114 | |
|---|
| 115 | // ¹ÂÆ® ¼³Á¤ |
|---|
| 116 | bool DST_UI_GetMute(void); |
|---|
| 117 | |
|---|
| 118 | // ¹ÂÆ® ¼³Á¤ |
|---|
| 119 | void DST_UI_SetMute(bool bVal); |
|---|
| 120 | |
|---|
| 121 | #if 0 |
|---|
| 122 | ____Info_Banner_UI___() |
|---|
| 123 | #endif |
|---|
| 124 | |
|---|
| 125 | // ÇöÀç ¹æ¼ÛÁßÀÎ ºñµð¿À°¡ HD ¹æ¼ÛÀΰ¡? |
|---|
| 126 | bool DST_UI_GetHDInfo(void); |
|---|
| 127 | |
|---|
| 128 | // ÇöÀç CC º¸¿©ÁֱⰡ °¡´ÉÇѰ¡? |
|---|
| 129 | bool DST_UI_GetCCInfo(void); |
|---|
| 130 | |
|---|
| 131 | #if SUPPORT_CHANNEL_EDIT |
|---|
| 132 | // ÇöÀç ä³Î ÆíÁý ¸ðµå È®ÀÎ |
|---|
| 133 | void DST_UI_SetChannelEditEnable(DS_U32 ienable); |
|---|
| 134 | |
|---|
| 135 | #endif |
|---|
| 136 | |
|---|
| 137 | #if 0 |
|---|
| 138 | ____EPG_UI___() |
|---|
| 139 | #endif |
|---|
| 140 | |
|---|
| 141 | // ÇöÀç ä³ÎÀÇ Ã¤³Î¹øÈ£¿Í À̸§À» °¡Á®¿Â´Ù. |
|---|
| 142 | // ¹Ýȯ°ªÀÌ trueÀ̸é ä³Î¸Ê¿¡ Àִ ä³Î false¸é ¾ø´Â ä³Î |
|---|
| 143 | // chNum ȸ鿡 Ç¥½ÃÇÒ Ã¤³Î ¹øÈ£ |
|---|
| 144 | // chName ȸ鿡 Ç¥½ÃÇÒ Ã¤³Î À̸§ |
|---|
| 145 | // num ¼ýÀÚ·Î µÈ ä³Î ¹øÈ£ |
|---|
| 146 | // ÀÔ·Â ¹è¿ ±æÀÌ chNum 20ÀÚ chName 21ÀÚ |
|---|
| 147 | //bool DST_UI_GetCurrentChannelInfo(char* chNum, DS_U32* chName, int *num); |
|---|
| 148 | //bool DST_UI_GetCurrentChannelInfo2(char* chNum, DS_U32* chName, int *num); |
|---|
| 149 | int DST_GetCurrentChannelIndex2(void); |
|---|
| 150 | |
|---|
| 151 | // ä³Î¹øÈ£ ä³ÎÀ̸§ |
|---|
| 152 | // ÀÔ·Â ¹è¿ ±æÀÌ 40ÀÚ |
|---|
| 153 | int DST_UI_GetCurrentChannelInfo(DS_U32 *chInfo); |
|---|
| 154 | |
|---|
| 155 | // ½Ã°£ ¹®ÀÚ¿À» ¹ÝȯÇÑ´Ù. |
|---|
| 156 | int DST_UI_GetTimeString(int hour, int min, DS_U16* timeInfo); |
|---|
| 157 | |
|---|
| 158 | // Á֯ļö Å×ÀÌºí °¹¼ö |
|---|
| 159 | int DST_GetFreqCount(); |
|---|
| 160 | // À妽º¸¦ ÀÔ·ÂÇϰí Á֯ļö ¹øÈ£¸¦ ¹Þ´Â´Ù. |
|---|
| 161 | DS_U16 DST_GetFrequencyNumberbyIndex(int index); |
|---|
| 162 | // À妽º¸¦ ÀÔ·ÂÇϰí MHz ´ÜÀ§ÀÇ Á֯ļö¸¦ ¹Þ´Â´Ù. |
|---|
| 163 | DS_U16 DST_GetMHzFrequencybyIndex(int index); |
|---|
| 164 | // Á֯ļö ¹øÈ£¸¦ ÀÔ·ÂÇϰí À妽º °ªÀ» ¹Þ´Â´Ù. |
|---|
| 165 | int DST_GetIndexByRFNumber(int rf_number); |
|---|
| 166 | // MHz´ÜÀ§ÀÇ Á֯ļö¸¦ ÀÔ·ÂÇϰí À妽º °ªÀ» ¹Þ´Â´Ù. |
|---|
| 167 | int DST_GetIndexByMHzFrequency(int MHz); |
|---|
| 168 | |
|---|
| 169 | #endif //__DST_USERINTERFACE_H__ |
|---|
| 170 | |
|---|