RetroArch/frontend/menu/menu_entries.h

49 lines
1.5 KiB
C
Raw Normal View History

/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2014 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef MENU_ENTRIES_H__
#define MENU_ENTRIES_H__
#include <stdlib.h>
#include "menu_common.h"
#include "../../file_list.h"
#include "../../settings_data.h"
#ifdef __cplusplus
extern "C" {
#endif
2014-09-01 03:50:20 +00:00
void menu_entries_push(file_list_t *list,
const char *path, const char *label, unsigned type,
2014-09-01 04:01:01 +00:00
size_t directory_ptr);
2014-09-02 03:32:04 +00:00
void menu_entries_pop_list(file_list_t *list);
int menu_entries_deferred_push(file_list_t *list, file_list_t *menu_list);
2014-09-02 03:32:04 +00:00
2014-09-06 00:47:31 +00:00
void menu_entries_pop_stack(file_list_t *list, const char *needle);
2014-09-02 03:32:04 +00:00
void menu_flush_stack_type(file_list_t *list, unsigned final_type);
void menu_flush_stack_label(file_list_t *list, const char *needle);
2014-10-13 00:08:39 +00:00
bool menu_entries_init(menu_handle_t *menu);
#ifdef __cplusplus
}
#endif
#endif