diff options
| author | YP3 Audiobook <noreply@example.invalid> | 2026-11-25 17:45:43 -0500 |
|---|---|---|
| committer | YP3 Audiobook <noreply@example.invalid> | 2026-11-25 17:45:43 -0500 |
| commit | 013e3857a1c6480dfd241fb14b36c55b0421939e (patch) | |
| tree | 59b3aa16d4f658eb7b76e5dfbc475c3a408507c7 /tests/chapters/shim/list.h | |
| download | yp3-audiobook-firmware-013e3857a1c6480dfd241fb14b36c55b0421939e.tar.gz | |
initial commit
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;} |
