diff options
Diffstat (limited to 'tests/chapters/shim/list.h')
| -rw-r--r-- | tests/chapters/shim/list.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/chapters/shim/list.h b/tests/chapters/shim/list.h new file mode 100644 index 0000000..0df3489 --- /dev/null +++ b/tests/chapters/shim/list.h @@ -0,0 +1,6 @@ +#pragma once +struct gui_synclist; +typedef const char *list_get_name(int, void *, char *, size_t); +struct simplelist_info { const char *title; int count; int selection; bool hide_theme; list_get_name *get_name; }; +static inline void simplelist_info_init(struct simplelist_info *i, char *t, int c, void *d){(void)d; i->title=t;i->count=c;i->selection=0;} +static inline bool simplelist_show_list(struct simplelist_info *i){(void)i; return true;} |
