RetroArch/menu/menu_content.h

49 lines
1.3 KiB
C
Raw Normal View History

2016-01-25 04:32:52 +01:00
/* RetroArch - A frontend for libretro.
2017-01-22 13:40:32 +01:00
* Copyright (C) 2011-2017 - Daniel De Matteis
2016-01-25 04:32:52 +01:00
*
* 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_CONTENT_H__
#define __MENU_CONTENT_H__
#include <stdint.h>
#include <stdlib.h>
2016-01-25 04:44:54 +01:00
#include <boolean.h>
2016-06-03 05:49:46 +02:00
#include <retro_common_api.h>
2016-01-25 04:44:54 +01:00
2016-06-03 05:49:46 +02:00
RETRO_BEGIN_DECLS
2016-01-25 04:32:52 +01:00
2016-02-04 15:00:38 +01:00
typedef struct menu_content_ctx_playlist_info
{
void *data;
unsigned idx;
} menu_content_ctx_playlist_info_t;
2016-01-25 04:44:54 +01:00
typedef struct menu_content_ctx_defer_info
{
void *data;
const char *dir;
const char *path;
const char *menu_label;
char *s;
size_t len;
} menu_content_ctx_defer_info_t;
2016-07-01 15:55:36 +02:00
bool menu_content_playlist_find_associated_core(const char *path,
char *s, size_t len);
2016-06-15 18:58:18 +02:00
2016-06-03 05:49:46 +02:00
RETRO_END_DECLS
2016-01-25 04:32:52 +01:00
#endif