source: svn/trunk/newcon3bcm2_21bu/dst/dhl/api/template/DHL_API_Template.c

Last change on this file was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 2.2 KB
Line 
1/**
2        @file
3                DHL_MMM.c
4
5        @brief
6                PHOENIX HAL library
7
8        ÀÌ ¸ðµâ¿¡ ´ëÇÑ °£´ÜÇÑ ¼³¸í..
9        ex: AudioVideo decoding/capture/output implementation
10
11        Copyright 2006~2010 Digital STREAM Technology, Inc.
12        All Rights Reserved
13*/
14
15
16#include "DHL_OSAL.h"
17#include "DHL_DEBUG.h"
18
19#include "DHL_MMM.h"
20
21
22/*
23        ¸ðµç Çì´õ ÆÄÀÏÀ» Æ÷ÇÔÇÏÁö´Â ¾ÊÀ¸¸ç, compile timeÀ» ÁÙÀ̱â À§ÇØ
24        °¢ ¸ðµâÀº ÇÊ¿äÇÑ ¸¸Å­ÀÇ Çì´õ¸¦ ¼±¾ðÇϵµ·Ï ÇÔ.
25*/
26
27
28
29/*
30        DHL µð¹ö±× ¸ðµâ À̸§ Á¤ÀÇ ·ê Âü°í:
31
32        DHL ¸ðµâµéÀº ¸ðµÎ * ·Î ½ÃÀÛ.
33        API´Â ´ë¹®ÀÚ, Platform ¹× ±âŸ´Â ¼Ò¹®ÀÚ »ç¿ë.
34
35        µðÆúÆ® ·¹º§Àº 0À¸·Î ¼³Á¤ÇÑ´Ù. (0: ¿¡·¯ ¸Þ½ÃÁö¸¸ Ãâ·Â)
36       
37       
38*/
39
40//DHL_MODULE("*MMM", 0);
41
42
43
44#if COMMENT
45____Config____(){}
46#endif
47
48/*
49        ÀÌ ¸ðµâ ³»ºÎ¿¡¼­ »ç¿ëµÇ´Â °¢Á¾ configuration Á¤ÀÇ.
50*/
51
52
53/* #define SUPPORT_FAST_SWITCHING_OPTIMIZATION 1 */
54/* #define FUNC_MONITOR_TIMER_ID TIMER_ID_FUNC_MONITOR */
55
56
57
58#if COMMENT
59____Types____(){}
60#endif
61
62/*
63        ÀÌ ¸ðµâ ³»ºÎ¿¡¼­ »ç¿ëµÇ´Â structure ¹× enumerations.
64*/
65
66
67
68#if COMMENT
69____Variables____(){}
70#endif
71
72/*
73        global·Î Àû¿ëµÇ´Â variable Á¤ÀÇ.
74        °¢ function º°·Î Ư¼öÇÑ ¿ëµµÀÇ variableÀº °¢ functionX block ¿¡¼­ Á¤ÀÇ °¡´É.
75*/
76
77
78
79#if COMMENT
80____Group1____(){}
81#endif
82
83
84
85#if COMMENT
86____Group2____(){}
87#endif
88
89
90
91
92#if COMMENT
93____Debug____(){}
94#endif
95
96static void module_stop(void)
97{
98        /* ... */
99}
100
101static void module_restart(void)
102{
103        /* ... */
104}
105
106
107
108#if COMMENT
109____Symbol____(){}
110#endif
111
112
113#if DHL_REGISTER_DEUBG_SYMBOLS
114
115static DHL_SymbolTable _XxxxSymbols[] =
116{
117        /* however, if you want typing short-cut, it is good usage.
118        */
119        DHL_FNC_SYM_ENTRY2("epg_start", App_EpgUpdateStart),
120        DHL_FNC_SYM_ENTRY2("epg_stop", App_EpgUpdateCancel),
121        DHL_FNC_SYM_ENTRY2("epg_list", Dmc_EpgPrintAllTables),
122        DHL_FNC_SYM_ENTRY2("epg_delete", App_EpgDeleteAll),
123
124        DHL_VAR_SYM_ENTRY(g_XX_TestMode),
125
126};
127
128#endif  /* DHL_REGISTER_DEUBG_SYMBOLS */
129
130
131
132#if COMMENT
133____Init____(){}
134#endif
135
136
137void DHL_MMM_Init(void)
138{
139
140#if DHL_REGISTER_DEUBG_SYMBOLS
141        DHL_DBG_RegisterSymbols(_XxxxSymbols, DHL_NUMSYMBOLS(_XxxxSymbols));
142#endif
143
144        /* °¢Á¾ init code.. */
145
146
147
148
149}
150
151void DHL_MMM_Uninit(void)
152{
153
154}
155
156/* end of file */
157
Note: See TracBrowser for help on using the repository browser.