# HG changeset patch # User Thinker K.F. Li # Date 1290357749 -28800 # Node ID 5d9def42df12195069683ac6dbc07bab5509b588 # Parent 5b58e74988bc22db5a998e540229467bcf478965 Rename mb_backend_t::tman() to mb_backend_t::timer_man() diff -r 5b58e74988bc -r 5d9def42df12 include/mb_af.h --- a/include/mb_af.h Mon Nov 22 00:42:29 2010 +0800 +++ b/include/mb_af.h Mon Nov 22 00:42:29 2010 +0800 @@ -16,7 +16,7 @@ }; mbaf_t *mbaf_init(const char *module, const char *module_dir); void mbaf_set_data(mbaf_t *app,void *data); -mb_tman_t *mbaf_get_timer(mbaf_t *app); +mb_timer_man_t *mbaf_get_timer(mbaf_t *app); void mbaf_loop(mbaf_t *app); #define MBAF_DATA(app,type) ((type *) ((app)->private)) #define MBAF_RDMAN(app) (((mbaf_t *) app)->rdman) diff -r 5b58e74988bc -r 5d9def42df12 include/mb_backend.h --- a/include/mb_backend.h Mon Nov 22 00:42:29 2010 +0800 +++ b/include/mb_backend.h Mon Nov 22 00:42:29 2010 +0800 @@ -61,7 +61,7 @@ subject_t *(*kbevents)(mb_rt_t *rt); redraw_man_t *(*rdman)(mb_rt_t *rt); - mb_timer_man_t *(*tman)(mb_rt_t *rt); + mb_timer_man_t *(*timer_man)(mb_rt_t *rt); ob_factory_t *(*ob_factory)(mb_rt_t *rt); mb_img_ldr_t *(*loader)(mb_rt_t *rt); diff -r 5b58e74988bc -r 5d9def42df12 src/mbaf/mbapp.c --- a/src/mbaf/mbapp.c Mon Nov 22 00:42:29 2010 +0800 +++ b/src/mbaf/mbapp.c Mon Nov 22 00:42:29 2010 +0800 @@ -37,9 +37,9 @@ app->private = (void *) data; } -mb_tman_t *mbaf_get_timer(mbaf_t *app) +mb_timer_man_t *mbaf_get_timer(mbaf_t *app) { - return backend.tman(app->rt); + return backend.timer_man(app->rt); } void mbaf_loop(mbaf_t *app)