Mercurial > MadButterfly
comparison nodejs/mbfly_njs.cc @ 1040:22e5cf38d8e8 refine_backend_if
Timer manager for njs
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Tue, 23 Nov 2010 10:59:30 +0800 |
parents | 176cba3ad32c |
children | 18256f404193 |
comparison
equal
deleted
inserted
replaced
1039:176cba3ad32c | 1040:22e5cf38d8e8 |
---|---|
169 * Initialize template for MadButterfly runtime objects. | 169 * Initialize template for MadButterfly runtime objects. |
170 */ | 170 */ |
171 xnjsmb_auto_mb_rt_init(); | 171 xnjsmb_auto_mb_rt_init(); |
172 xnjsmb_auto_mb_rt_display_init(); | 172 xnjsmb_auto_mb_rt_display_init(); |
173 xnjsmb_auto_mb_rt_with_win_init(); | 173 xnjsmb_auto_mb_rt_with_win_init(); |
174 X_njs_MB_reg_timer_man(); | |
175 X_njs_MB_reg_IO_man(); | |
174 | 176 |
175 /* | 177 /* |
176 * Add properties to mb_rt templates for other modules. | 178 * Add properties to mb_rt templates for other modules. |
177 */ | 179 */ |
178 xnjsmb_shapes_init_mb_rt_temp(xnjsmb_auto_mb_rt_temp); | 180 xnjsmb_shapes_init_mb_rt_temp(xnjsmb_auto_mb_rt_temp); |
183 | 185 |
184 target->Set(String::New("mb_rt"), | 186 target->Set(String::New("mb_rt"), |
185 xnjsmb_auto_mb_rt_temp->GetFunction()); | 187 xnjsmb_auto_mb_rt_temp->GetFunction()); |
186 target->Set(String::New("mb_rt_with_win"), | 188 target->Set(String::New("mb_rt_with_win"), |
187 xnjsmb_auto_mb_rt_with_win_temp->GetFunction()); | 189 xnjsmb_auto_mb_rt_with_win_temp->GetFunction()); |
188 X_njs_MB_reg_IO_man(); | |
189 } | 190 } |
190 | 191 |
191 /* @} */ | 192 /* @} */ |