Create menu_entries_push

This commit is contained in:
twinaphex 2015-10-17 17:10:29 +02:00
parent a3d306becc
commit 92b7fd582e
3 changed files with 207 additions and 198 deletions

File diff suppressed because it is too large Load Diff

View File

@ -272,3 +272,9 @@ void menu_entries_new_list(menu_entries_t *entries, unsigned flags)
return;
entries->list_settings = menu_setting_new(flags);
}
void menu_entries_push(file_list_t *list, const char *path, const char *label,
unsigned type, size_t directory_ptr, size_t entry_idx)
{
menu_list_push(list, path, label, type, directory_ptr, entry_idx);
}

View File

@ -52,6 +52,9 @@ void menu_entries_set_refresh(bool nonblocking);
void menu_entries_unset_refresh(bool nonblocking);
void menu_entries_push(file_list_t *list, const char *path, const char *label,
unsigned type, size_t directory_ptr, size_t entry_idx);
bool menu_entries_init(void *data);
void menu_entries_free(void);