Move file_list.c outside of frontend/menu
This commit is contained in:
parent
5cf88dd5de
commit
bca57d827b
3
Makefile
3
Makefile
|
@ -9,6 +9,7 @@ OBJ = frontend/frontend.o \
|
||||||
frontend/platform/platform_null.o \
|
frontend/platform/platform_null.o \
|
||||||
retroarch.o \
|
retroarch.o \
|
||||||
file.o \
|
file.o \
|
||||||
|
file_list.o \
|
||||||
file_path.o \
|
file_path.o \
|
||||||
hash.o \
|
hash.o \
|
||||||
driver.o \
|
driver.o \
|
||||||
|
@ -114,7 +115,7 @@ endif
|
||||||
OBJ += history.o
|
OBJ += history.o
|
||||||
|
|
||||||
ifeq ($(HAVE_MENU_COMMON), 1)
|
ifeq ($(HAVE_MENU_COMMON), 1)
|
||||||
OBJ += frontend/menu/backend/menu_common_backend.o frontend/menu/menu_input_line_cb.o frontend/menu/menu_common.o frontend/menu/menu_navigation.o frontend/menu/file_list.o
|
OBJ += frontend/menu/backend/menu_common_backend.o frontend/menu/menu_input_line_cb.o frontend/menu/menu_common.o frontend/menu/menu_navigation.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HAVE_THREADS), 1)
|
ifeq ($(HAVE_THREADS), 1)
|
||||||
|
|
|
@ -7,6 +7,7 @@ OBJ = frontend/platform/platform_emscripten.o \
|
||||||
frontend/menu/menu_input_line_cb.o \
|
frontend/menu/menu_input_line_cb.o \
|
||||||
retroarch.o \
|
retroarch.o \
|
||||||
file.o \
|
file.o \
|
||||||
|
file_list.o \
|
||||||
file_path.o \
|
file_path.o \
|
||||||
driver.o \
|
driver.o \
|
||||||
conf/config_file.o \
|
conf/config_file.o \
|
||||||
|
@ -82,7 +83,7 @@ endif
|
||||||
OBJ += history.o
|
OBJ += history.o
|
||||||
|
|
||||||
ifeq ($(HAVE_MENU_COMMON), 1)
|
ifeq ($(HAVE_MENU_COMMON), 1)
|
||||||
OBJ += frontend/menu/backend/menu_common_backend.o frontend/menu/menu_input_line_cb.o frontend/menu/menu_common.o frontend/menu/menu_navigation.o frontend/menu/file_list.o
|
OBJ += frontend/menu/backend/menu_common_backend.o frontend/menu/menu_input_line_cb.o frontend/menu/menu_common.o frontend/menu/menu_navigation.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HAVE_SDL), 1)
|
ifeq ($(HAVE_SDL), 1)
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "boolean.h"
|
#include "boolean.h"
|
||||||
#include "frontend/menu/file_list.h"
|
#include "file_list.h"
|
||||||
#include "frontend/info/core_info.h"
|
#include "frontend/info/core_info.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -17,9 +17,9 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "file_list.h"
|
#include "file_list.h"
|
||||||
#include "../../driver.h"
|
#include "driver.h"
|
||||||
#include "../../compat/strcasestr.h"
|
#include "compat/strcasestr.h"
|
||||||
#include "../../msvc/msvc_compat.h"
|
#include "msvc/msvc_compat.h"
|
||||||
|
|
||||||
struct item_file
|
struct item_file
|
||||||
{
|
{
|
|
@ -21,7 +21,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../../boolean.h"
|
#include "boolean.h"
|
||||||
|
|
||||||
struct item_file;
|
struct item_file;
|
||||||
typedef struct file_list
|
typedef struct file_list
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
#include "../backend/menu_common_backend.h"
|
#include "../backend/menu_common_backend.h"
|
||||||
#include "../menu_common.h"
|
#include "../menu_common.h"
|
||||||
#include "../file_list.h"
|
|
||||||
#include "../../../general.h"
|
#include "../../../general.h"
|
||||||
#include "../../../gfx/gfx_common.h"
|
#include "../../../gfx/gfx_common.h"
|
||||||
#include "../../../gfx/gl_common.h"
|
#include "../../../gfx/gl_common.h"
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
#include "../backend/menu_common_backend.h"
|
#include "../backend/menu_common_backend.h"
|
||||||
#include "../menu_common.h"
|
#include "../menu_common.h"
|
||||||
#include "../file_list.h"
|
|
||||||
#include "../../../general.h"
|
#include "../../../general.h"
|
||||||
#include "../../../gfx/gfx_common.h"
|
#include "../../../gfx/gfx_common.h"
|
||||||
#include "../../../config.def.h"
|
#include "../../../config.def.h"
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
#include "../backend/menu_common_backend.h"
|
#include "../backend/menu_common_backend.h"
|
||||||
#include "../menu_common.h"
|
#include "../menu_common.h"
|
||||||
#include "../file_list.h"
|
|
||||||
#include "../../../general.h"
|
#include "../../../general.h"
|
||||||
#include "../../../gfx/gfx_common.h"
|
#include "../../../gfx/gfx_common.h"
|
||||||
#include "../../../config.def.h"
|
#include "../../../config.def.h"
|
||||||
|
|
|
@ -504,6 +504,7 @@ FILE
|
||||||
============================================================ */
|
============================================================ */
|
||||||
#include "../file.c"
|
#include "../file.c"
|
||||||
#include "../file_path.c"
|
#include "../file_path.c"
|
||||||
|
#include "../file_list.c"
|
||||||
|
|
||||||
/*============================================================
|
/*============================================================
|
||||||
MESSAGE
|
MESSAGE
|
||||||
|
@ -609,7 +610,6 @@ MENU
|
||||||
#include "../frontend/menu/menu_input_line_cb.c"
|
#include "../frontend/menu/menu_input_line_cb.c"
|
||||||
#include "../frontend/menu/menu_common.c"
|
#include "../frontend/menu/menu_common.c"
|
||||||
#include "../frontend/menu/menu_navigation.c"
|
#include "../frontend/menu/menu_navigation.c"
|
||||||
#include "../frontend/menu/file_list.c"
|
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
#include "../frontend/menu/backend/menu_common_backend.c"
|
#include "../frontend/menu/backend/menu_common_backend.c"
|
||||||
|
|
|
@ -218,7 +218,7 @@
|
||||||
<ClCompile Include="..\..\deps\rzlib\zutil.c" />
|
<ClCompile Include="..\..\deps\rzlib\zutil.c" />
|
||||||
<ClCompile Include="..\..\file_extract.c" />
|
<ClCompile Include="..\..\file_extract.c" />
|
||||||
<ClCompile Include="..\..\history.c" />
|
<ClCompile Include="..\..\history.c" />
|
||||||
<ClCompile Include="..\..\frontend\menu\file_list.c" />
|
<ClCompile Include="..\..\file_list.c" />
|
||||||
<ClCompile Include="..\..\frontend\menu\backend\menu_common_backend.c" />
|
<ClCompile Include="..\..\frontend\menu\backend\menu_common_backend.c" />
|
||||||
<ClCompile Include="..\..\frontend\menu\disp\rgui.c" />
|
<ClCompile Include="..\..\frontend\menu\disp\rgui.c" />
|
||||||
<ClCompile Include="..\..\frontend\menu\menu_common.c" />
|
<ClCompile Include="..\..\frontend\menu\menu_common.c" />
|
||||||
|
|
Loading…
Reference in New Issue