Mercurial > MadButterfly
view include/mb_af.h @ 509:3e0d63d7c7ae Android_Skia
Remove absolute pathes from config.cache.
Absolute pathes in config.cache would be the source of problems when
the source tree of Android is different from what is in config.cache.
So, these cached values are removed and re-computed when running
configure.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 01 Dec 2009 22:55:27 +0800 |
parents | 26c302b47de1 |
children | 586e50f82c1f |
line wrap: on
line source
#ifndef __APP_H #define __APP_H typedef struct _mbapp mbaf_t; struct _mbapp { void *rt; redraw_man_t *rdman; mb_sprite_t *rootsprite; mb_obj_t *root; subject_t *kbevents; void *private; }; 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); void mbaf_loop(mbaf_t *app); #define MBAF_DATA(app,type) ((type *) ((app)->private)) #define MBAF_RDMAN(app) (((mbaf_t *) app)->rdman) #define MBAF_KB_SUBJECT(app) ((app)->kbevents) #include "mbbutton.h" #endif /* __MBAF_H_ */