annotate inkscape/firefox/template/textmenu/app.h @ 657:32d0eef1ee46

Force type-casting for member variables. For some member that need a casting for the type is that what we want. For example, casting a void * type to a struct pointer type. This force will skip type checking, but it works for the variables with a generic type and we want to specialize its type.
author Thinker K.F. Li <thinker@branda.to>
date Sat, 31 Jul 2010 14:37:19 +0800
parents 9b8dda201ccb
children
rev   line source
371
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
1 #ifndef _APP_H
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
2 #define _APP_H
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
3 typedef struct {
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
4 mb_animated_menu_t *m;
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
5 }MyAppData;
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
6
454
9b8dda201ccb Make naming convention consistent with MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents: 371
diff changeset
7 extern void MyApp_InitContent(mbaf_t *app,int argc, char *argv[]);
371
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
8
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
9 void myselect_callback(mb_animated_menu_t *m, int select);
3d21115297ba Add textmenu template
wycc
parents:
diff changeset
10 #endif