1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-03 00:38:44 +00:00

Move enums to related header

This commit is contained in:
twinaphex 2020-02-17 03:06:07 +01:00
parent a59eec01e1
commit c855eb38d8
3 changed files with 25 additions and 23 deletions

View File

@ -390,6 +390,7 @@
#define DEFAULT_OVERLAY_AUTO_ROTATE false
#endif
#include "runtime_file.h"
#ifdef HAVE_MENU
#include "menu/menu_driver.h"

View File

@ -324,28 +324,6 @@ enum menu_action
MENU_ACTION_POINTER_PRESSED
};
enum playlist_sublabel_runtime
{
PLAYLIST_RUNTIME_PER_CORE = 0,
PLAYLIST_RUNTIME_AGGREGATE,
PLAYLIST_RUNTIME_LAST
};
enum playlist_sublabel_last_played_style_type
{
PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS = 0,
PLAYLIST_LAST_PLAYED_STYLE_YMD_HM,
PLAYLIST_LAST_PLAYED_STYLE_MDYYYY,
PLAYLIST_LAST_PLAYED_STYLE_DM_HM,
PLAYLIST_LAST_PLAYED_STYLE_MD_HM,
PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS_AM_PM,
PLAYLIST_LAST_PLAYED_STYLE_YMD_HM_AM_PM,
PLAYLIST_LAST_PLAYED_STYLE_MDYYYY_AM_PM,
PLAYLIST_LAST_PLAYED_STYLE_DM_HM_AM_PM,
PLAYLIST_LAST_PLAYED_STYLE_MD_HM_AM_PM,
PLAYLIST_LAST_PLAYED_STYLE_LAST
};
enum playlist_inline_core_display_type
{
PLAYLIST_INLINE_CORE_DISPLAY_HIST_FAV = 0,

View File

@ -30,7 +30,6 @@
#include <boolean.h>
#include "playlist.h"
#include "menu/menu_defines.h"
RETRO_BEGIN_DECLS
@ -58,6 +57,30 @@ typedef struct
char path[PATH_MAX_LENGTH];
} runtime_log_t;
enum playlist_sublabel_last_played_style_type
{
PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS = 0,
PLAYLIST_LAST_PLAYED_STYLE_YMD_HM,
PLAYLIST_LAST_PLAYED_STYLE_MDYYYY,
PLAYLIST_LAST_PLAYED_STYLE_DM_HM,
PLAYLIST_LAST_PLAYED_STYLE_MD_HM,
PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS_AM_PM,
PLAYLIST_LAST_PLAYED_STYLE_YMD_HM_AM_PM,
PLAYLIST_LAST_PLAYED_STYLE_MDYYYY_AM_PM,
PLAYLIST_LAST_PLAYED_STYLE_DM_HM_AM_PM,
PLAYLIST_LAST_PLAYED_STYLE_MD_HM_AM_PM,
PLAYLIST_LAST_PLAYED_STYLE_LAST
};
enum playlist_sublabel_runtime
{
PLAYLIST_RUNTIME_PER_CORE = 0,
PLAYLIST_RUNTIME_AGGREGATE,
PLAYLIST_RUNTIME_LAST
};
/* Initialisation */
/* Initialise runtime log, loading current parameters