Add list_prepend to the menu ctx drivers

This commit is contained in:
Jean-André Santoni 2016-04-11 23:31:49 +07:00
parent 01c82a09f0
commit 8e86d11f57
6 changed files with 7 additions and 0 deletions

View File

@ -1581,6 +1581,7 @@ menu_ctx_driver_t menu_ctx_mui = {
NULL,
NULL,
NULL,
NULL,
mui_list_cache,
mui_list_push,
mui_list_get_selection,

View File

@ -46,6 +46,7 @@ menu_ctx_driver_t menu_ctx_null = {
NULL, /* navigation_ascend_alphabet */
NULL, /* lists_init */
NULL, /* list_insert */
NULL, /* list_prepend */
NULL, /* list_delete */
NULL, /* list_clear */
NULL, /* list_cache */

View File

@ -911,6 +911,7 @@ menu_ctx_driver_t menu_ctx_rgui = {
NULL,
NULL,
NULL,
NULL,
"rgui",
rgui_environ,
rgui_pointer_tap,

View File

@ -3040,6 +3040,7 @@ menu_ctx_driver_t menu_ctx_xmb = {
xmb_menu_init_list,
xmb_list_insert,
NULL,
NULL,
xmb_list_clear,
xmb_list_cache,
xmb_list_push,

View File

@ -1345,6 +1345,7 @@ menu_ctx_driver_t menu_ctx_zarch = {
NULL,
NULL,
NULL,
NULL,
zarch_load_image,
"zarch",
NULL,

View File

@ -325,6 +325,8 @@ typedef struct menu_ctx_driver
bool (*lists_init)(void*);
void (*list_insert)(void *userdata,
file_list_t *list, const char *, const char *, size_t);
int (*list_prepend)(void *userdata,
file_list_t *list, const char *, const char *, size_t);
void (*list_free)(file_list_t *list, size_t, size_t);
void (*list_clear)(file_list_t *list);
void (*list_cache)(void *data, enum menu_list_type, unsigned);