| 1 | |
|---|
| 2 | #include "App_Main.h" |
|---|
| 3 | #include "App_Fnc_Common.h" |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | #if SUPPORT_NVRAM==0 |
|---|
| 7 | |
|---|
| 8 | #include "App_Fnc_NvRam.h" |
|---|
| 9 | |
|---|
| 10 | void App_NVM_PrintUcm(int level){} |
|---|
| 11 | |
|---|
| 12 | STATUS App_NVM_Sync(void) {return statusOK;} |
|---|
| 13 | |
|---|
| 14 | STATUS App_NVM_LoadNvParam(void) {return statusOK;} |
|---|
| 15 | STATUS App_NVM_SaveNvParam(void) {return statusOK;} |
|---|
| 16 | STATUS App_NVM_FormatNvParam(BOOL bWaitComplete) {return statusOK;} |
|---|
| 17 | |
|---|
| 18 | STATUS App_NVM_RegisterModule(tApp_NvmModule module, int size, tApp_NvmFormatFunc func) {return statusOK;} |
|---|
| 19 | STATUS App_NVM_SaveModuleParam(tApp_NvmModule module, void *pparam) {return statusOK;} |
|---|
| 20 | STATUS App_NVM_LoadModuleParam(tApp_NvmModule module, void *pparam) {return statusOK;} |
|---|
| 21 | |
|---|
| 22 | STATUS App_NVM_LoadUcm(void) {return statusOK;} |
|---|
| 23 | STATUS App_NVM_SaveUcm(void) {return statusOK;} |
|---|
| 24 | void App_NVM_EraseUcm(void) {} |
|---|
| 25 | |
|---|
| 26 | void App_NVM_Init(void) {} |
|---|
| 27 | void App_AudioParamInit(void) {} |
|---|
| 28 | |
|---|
| 29 | #endif |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | #if SUPPORT_CC==0 |
|---|
| 33 | |
|---|
| 34 | #include "App_Fnc_CC.h" |
|---|
| 35 | |
|---|
| 36 | void App_CC_Init(void) {} |
|---|
| 37 | void App_CCParamInit(void) {} |
|---|
| 38 | void App_CC_SaveVar(void) {} |
|---|
| 39 | |
|---|
| 40 | STATUS App_CC_GetAspectRatioFromPmt(UINT8 user_cc_service, UINT8 *pis_wide) { return statusOK;} |
|---|
| 41 | STATUS App_CC_GetAspectRatioFromEit(int uid, UINT8 user_cc_service, UINT8 *pis_wide) { return statusOK;} |
|---|
| 42 | void App_CC_SetScreenRatio(void) {} |
|---|
| 43 | BOOL App_CC_IsServiceOn(UINT8 service) { return FALSE;} |
|---|
| 44 | |
|---|
| 45 | #endif |
|---|
| 46 | |
|---|
| 47 | |
|---|
| 48 | #if SUPPORT_EA==0 |
|---|
| 49 | |
|---|
| 50 | #include "App_Fnc_EA.h" |
|---|
| 51 | |
|---|
| 52 | void App_EAInit() {} |
|---|
| 53 | void App_EAParamInit(void) {} |
|---|
| 54 | void App_EAMonStart() {} |
|---|
| 55 | void App_EAMonStop() {} |
|---|
| 56 | void App_EAPause() {} |
|---|
| 57 | void App_EAResume() {} |
|---|
| 58 | void App_EAExit() {} |
|---|
| 59 | void App_EASetLow(BOOL bon) {} |
|---|
| 60 | void App_EASetMedium(BOOL bon) {} |
|---|
| 61 | BOOL App_EAIsLow() {return FALSE;} |
|---|
| 62 | BOOL App_EAIsMedium() {return FALSE;} |
|---|
| 63 | |
|---|
| 64 | void App_EAInitPriority() {} |
|---|
| 65 | void App_EASavePriority() {} |
|---|
| 66 | void App_EALoadPriority() {} |
|---|
| 67 | |
|---|
| 68 | #endif |
|---|
| 69 | |
|---|
| 70 | |
|---|
| 71 | #if SUPPORT_EPG==0 |
|---|
| 72 | |
|---|
| 73 | #include "App_Fnc_EPG.h" |
|---|
| 74 | |
|---|
| 75 | void App_EpgInit(void) {} |
|---|
| 76 | void App_EpgUpdateStart(void) {} |
|---|
| 77 | void App_EpgUpdateCancel(void) {} |
|---|
| 78 | void App_EpgDeleteAll(void) {} |
|---|
| 79 | |
|---|
| 80 | #endif |
|---|
| 81 | |
|---|
| 82 | |
|---|
| 83 | #if SUPPORT_POD==0 |
|---|
| 84 | |
|---|
| 85 | #include "App_Fnc_Pod.h" |
|---|
| 86 | |
|---|
| 87 | BOOL AppInfoRegisterOn(BOOL bOn) {return FALSE;} |
|---|
| 88 | void APP_POD_OpenDialog(char *url) {} |
|---|
| 89 | void APP_POD_CloseDialog(void) {} |
|---|
| 90 | unsigned char* ReceiveCardMmi(unsigned char *pData) { return (unsigned char *)"not supported";} |
|---|
| 91 | |
|---|
| 92 | void APP_POD_Start(void) {} |
|---|
| 93 | void APP_POD_Stop(void) {} |
|---|
| 94 | void APP_POD_Init(void) {} |
|---|
| 95 | |
|---|
| 96 | BOOL APP_POD_IsPodInserted(void) {return FALSE;} |
|---|
| 97 | void APP_POD_NotifyPmtChange(MPEG_PMT *pPmt) {} |
|---|
| 98 | |
|---|
| 99 | void APP_ScteSiStart(void) {} |
|---|
| 100 | void APP_ScteSiStop(void) {} |
|---|
| 101 | UINT32 APP_ScteSiChListUpdateCount(void) {return 0;} |
|---|
| 102 | void APP_ScteSiUpdateChList(void) {} |
|---|
| 103 | |
|---|
| 104 | #endif |
|---|
| 105 | |
|---|
| 106 | |
|---|
| 107 | #if SUPPORT_POWEROFF==0 |
|---|
| 108 | |
|---|
| 109 | #include "App_Fnc_Power.h" |
|---|
| 110 | |
|---|
| 111 | void App_Pwr_ChangePowerState(APP_POWER_STATE state) {} |
|---|
| 112 | APP_POWER_STATE App_Pwr_GetPowerState(void) {return eAPP_PS_NORMAL;} |
|---|
| 113 | void App_Pwr_Ready(void) {} |
|---|
| 114 | |
|---|
| 115 | #if SUPPORT_POD |
|---|
| 116 | void App_Op_CheckOperationState(void) {} |
|---|
| 117 | void App_Op_ChangeOperationState(APP_OP_STATE state) {} |
|---|
| 118 | APP_OP_STATE App_Op_GetOperationState(void) {return eAPP_OP_INIT;} |
|---|
| 119 | void App_Op_Start(void) {} |
|---|
| 120 | #endif |
|---|
| 121 | |
|---|
| 122 | // this is for backward compatibility.. |
|---|
| 123 | void App_Pwr_Exit(void) {} |
|---|
| 124 | void App_Pwr_Reset(void) {} |
|---|
| 125 | void App_Pwr_Init(void) {} |
|---|
| 126 | |
|---|
| 127 | #endif |
|---|
| 128 | |
|---|
| 129 | |
|---|
| 130 | |
|---|
| 131 | #if SUPPORT_RATING==0 |
|---|
| 132 | |
|---|
| 133 | #include "App_Fnc_Rating.h" |
|---|
| 134 | |
|---|
| 135 | void AppRating_AVBlockOnOff(BOOL bOn) {} |
|---|
| 136 | |
|---|
| 137 | void AppRating_SetMasterBlock(BOOL bSet, BOOL bSaveNvRam) {} |
|---|
| 138 | BOOL AppRating_GetMasterBlock() { return FALSE;} |
|---|
| 139 | |
|---|
| 140 | BOOL AppRating_CheckIfPasswordMatch(UINT8 *pPasswd, BOOL bapply) {return FALSE;} |
|---|
| 141 | void AppRating_SetRatingPassword(UINT8 *pPasswd, BOOL bSaveNvRam) {} |
|---|
| 142 | |
|---|
| 143 | BOOL AppRating_IsBlockOn(void) {return FALSE;} |
|---|
| 144 | |
|---|
| 145 | UINT8 *AppRating_Get766Table(void) { return NULL;} |
|---|
| 146 | void AppRating_Update766Table(UINT8 *d, BOOL bSaveNvRam) {} |
|---|
| 147 | |
|---|
| 148 | /* cafrii 070711 add */ |
|---|
| 149 | BOOL AppRating_GetR12RatingString(DMW_Rating5 *rating, char *str) {return FALSE;} |
|---|
| 150 | |
|---|
| 151 | BOOL AppRating_GetCurRatingStr(UINT16 *str, int strSize) {return FALSE;} |
|---|
| 152 | |
|---|
| 153 | BOOL AppRating_GetRatingInfo(DMW_Rating5 *pRating) {return FALSE;} |
|---|
| 154 | BOOL AppRating_GetRatingInfo_R5R1(char *strRating) {return FALSE;} |
|---|
| 155 | |
|---|
| 156 | UINT16 *AppRating_DoRatingBlock() {return NULL;} |
|---|
| 157 | void AppRating_CheckRatingBlock(UINT32 nDelayMs) {} |
|---|
| 158 | void AppRating_CancelCheckRatingBlock(void) {} |
|---|
| 159 | |
|---|
| 160 | void AppRating_DrawBlockOSD(UINT16 *msg) {} |
|---|
| 161 | void AppRating_EraseBlockOSD(void) {} |
|---|
| 162 | |
|---|
| 163 | void AppRating_BlockForceOff(void) {} |
|---|
| 164 | |
|---|
| 165 | void AppRating_NotifyOsdToken(BOOL bAvail) {} |
|---|
| 166 | |
|---|
| 167 | void AppRating_InitBlock(void) {} |
|---|
| 168 | |
|---|
| 169 | #endif |
|---|
| 170 | |
|---|
| 171 | |
|---|
| 172 | #if SUPPORT_RRT==0 |
|---|
| 173 | |
|---|
| 174 | #include "App_Fnc_RRT.h" |
|---|
| 175 | |
|---|
| 176 | void AppRrt_Init(void) {} |
|---|
| 177 | |
|---|
| 178 | void AppRrt_ResetRrtDB(BOOL bSync) {} |
|---|
| 179 | void AppRrt_SaveRrt(void) {} |
|---|
| 180 | void AppRrt_LoadRrt(void) {} |
|---|
| 181 | |
|---|
| 182 | void AppRrt_PrintRrt(BOOL bDetail) {} |
|---|
| 183 | BOOL AppRrt_ChangeRrtOption(int dim, int value, EPG_RRT_BLOCK_OPTION action, BOOL bSaveNvRam) { return FALSE;} |
|---|
| 184 | |
|---|
| 185 | void AppRrt_UseDRRT(BOOL bUse) {} |
|---|
| 186 | |
|---|
| 187 | /* iskang */ |
|---|
| 188 | void AppRrt_SaveCopiedRrtSection(rrtSectionPtr_t rrt) {} |
|---|
| 189 | rrtSectionPtr_t AppRrt_GetRrt() {return NULL;} |
|---|
| 190 | BOOL AppRrt_ChangeCopiedRrtOption(rrtSectionPtr_t rrt,int idim, int ivalue |
|---|
| 191 | ,EPG_RRT_BLOCK_OPTION action) {return FALSE;} |
|---|
| 192 | |
|---|
| 193 | #endif |
|---|
| 194 | |
|---|
| 195 | |
|---|
| 196 | |
|---|
| 197 | #if SUPPORT_SIGMON==0 |
|---|
| 198 | |
|---|
| 199 | #include "App_Fnc_SignalMonitor.h" |
|---|
| 200 | |
|---|
| 201 | void App_Resume_SMTask(void) {} |
|---|
| 202 | void App_Pause_SMTask(void) {} |
|---|
| 203 | void App_Restart_SMTask(BOOL bAnalog, BOOL bTuneSuccess) {} |
|---|
| 204 | void App_ForceDisableSMTask(BOOL bDisable) {} |
|---|
| 205 | void App_NotifySigMonBannerToken(BOOL bAvail) {} |
|---|
| 206 | |
|---|
| 207 | UINT32 App_GetSigMonParam(APP_SIGMON_PARAM param) {return 0;} |
|---|
| 208 | void App_ChangeSigMonParam(APP_SIGMON_PARAM param, int value) {} |
|---|
| 209 | |
|---|
| 210 | void App_GetSigMonInfo(APP_SIGMON_INFO *pinfo) {} |
|---|
| 211 | |
|---|
| 212 | void SigMon_SetDbgLevel(int debug_level) {} |
|---|
| 213 | int SigMon_GetDbgLevel(void) {return 0;} |
|---|
| 214 | |
|---|
| 215 | int SigMon_GetStrength(void) {return 100;} |
|---|
| 216 | |
|---|
| 217 | void App_SMInit(void) {} |
|---|
| 218 | |
|---|
| 219 | #endif |
|---|
| 220 | |
|---|
| 221 | |
|---|
| 222 | #if SUPPORT_TIME==0 |
|---|
| 223 | |
|---|
| 224 | #include "App_Fnc_Time.h" |
|---|
| 225 | |
|---|
| 226 | STATUS AppTime_GetCurTime(APP_TIME_T *tm, int nMode) { return statusOK;} |
|---|
| 227 | void AppTime_GetTimeFromGPS(UINT32 nGPSTime, APP_TIME_T *tm) {} |
|---|
| 228 | void AppTime_SetTimeByUserTime(int nMode, APP_TIME_T *t) {} |
|---|
| 229 | void AppTime_DmwTime2STime(APP_TIME_T *t1, STime_t *t2) {} |
|---|
| 230 | void AppTime_STime2DmwTime(STime_t *t2, APP_TIME_T *t1) {} |
|---|
| 231 | |
|---|
| 232 | int App_GetTimeZone(void) {return 0;} |
|---|
| 233 | void App_SetTimeZone(APP_TIMEZONE tz, BOOL bUpdateToNvRam) {} |
|---|
| 234 | void App_SetDayLightSaving(BOOL nDayLightSaving, BOOL bUpdateToNvRam) {} |
|---|
| 235 | |
|---|
| 236 | void App_SetLocalTime(STime_t *t) {} |
|---|
| 237 | void App_GetLocalTime(STime_t *t) {} |
|---|
| 238 | |
|---|
| 239 | UINT8 App_GetSleepTimer() {return 0;} |
|---|
| 240 | void App_SetSleepTimer(UINT8 timer) {} |
|---|
| 241 | |
|---|
| 242 | UINT8 App_GetMenuTimeout() {return 0;} |
|---|
| 243 | void App_SetMenuTimeout(UINT8 timeout, BOOL bSave) {} |
|---|
| 244 | |
|---|
| 245 | UINT8 App_GetNoKeyPowerDownTimeout() {return 0;} |
|---|
| 246 | void App_SetNoKeyPowerDownTimeout(UINT8 timeout, BOOL bSave) {} |
|---|
| 247 | |
|---|
| 248 | UINT8 App_GetNoSigPowerDownTimeout() {return 0;} |
|---|
| 249 | void App_SetNoSigPowerDownTimeout(UINT8 timeout, BOOL bSave) {} |
|---|
| 250 | |
|---|
| 251 | #if SUPPORT_MANUAL_TIMER |
|---|
| 252 | BOOL App_IsManualTimeContext(void) {return 0;} |
|---|
| 253 | void App_SetManualTimeContext(BOOL bManualMode, BOOL bUpdateToNvRam) {} |
|---|
| 254 | #endif |
|---|
| 255 | |
|---|
| 256 | void App_PrintCurrentTime(int level) {} |
|---|
| 257 | |
|---|
| 258 | void App_SetTimeBySTT(void) {} |
|---|
| 259 | void App_DeferredSyncSTT(void) {} |
|---|
| 260 | void App_CancelSyncSTT(void) {} |
|---|
| 261 | |
|---|
| 262 | void App_TimeInit(void) {} |
|---|
| 263 | void App_TimeParamInit(void) {} |
|---|
| 264 | |
|---|
| 265 | #endif |
|---|
| 266 | |
|---|
| 267 | |
|---|
| 268 | #if SUPPORT_RFUPDATE==0 |
|---|
| 269 | |
|---|
| 270 | #include "App_Fnc_RfUpdate.h" |
|---|
| 271 | |
|---|
| 272 | RFUPDATE_RESULT App_RfUpdateStart(tDHL_FreqStd std, |
|---|
| 273 | UINT32 rf, tDHL_Demod mod, |
|---|
| 274 | UINT32 timeoutSec, |
|---|
| 275 | void (*reportfn)(RfUpdateReport msg, UINT32 value), |
|---|
| 276 | BOOL(*checkfn)(void)) |
|---|
| 277 | {return RFUPDATE_OK;} |
|---|
| 278 | |
|---|
| 279 | void App_RfUpdateSetting(UINT8 chtype, UINT8 rf) {} |
|---|
| 280 | void App_RfUpdateByCommand(void) {} |
|---|
| 281 | |
|---|
| 282 | void App_RfUpdateInit(void) {} |
|---|
| 283 | |
|---|
| 284 | #endif |
|---|
| 285 | |
|---|
| 286 | |
|---|
| 287 | /* end of file */ |
|---|