source: svn/newcon3bcm2_21bu/dst/app/src/Function/App_Fnc_Dummy.c

Last change on this file was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

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