Mercurial > MadButterfly
changeset 994:5d9def42df12 refine_backend_if
Rename mb_backend_t::tman() to mb_backend_t::timer_man()
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 22 Nov 2010 00:42:29 +0800 |
parents | 5b58e74988bc |
children | 8c556e0839eb |
files | include/mb_af.h include/mb_backend.h src/mbaf/mbapp.c |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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)
--- 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);
--- 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)