RetroArch
Classes | Typedefs | Enumerations | Functions | Variables
frontend_driver.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <boolean.h>
#include <retro_common_api.h>
#include <lists/string_list.h>
Include dependency graph for frontend_driver.h:

Go to the source code of this file.

Classes

struct  path_change_data
 
struct  frontend_ctx_driver
 

Typedefs

typedef struct path_change_data path_change_data_t
 
typedef void(* environment_get_t) (int *argc, char *argv[], void *args, void *params_data)
 
typedef void(* process_args_t) (int *argc, char *argv[])
 
typedef struct frontend_ctx_driver frontend_ctx_driver_t
 

Enumerations

enum  frontend_powerstate {
  FRONTEND_POWERSTATE_NONE = 0, FRONTEND_POWERSTATE_NO_SOURCE, FRONTEND_POWERSTATE_CHARGING, FRONTEND_POWERSTATE_CHARGED,
  FRONTEND_POWERSTATE_ON_POWER_SOURCE
}
 
enum  frontend_fork { FRONTEND_FORK_NONE = 0, FRONTEND_FORK_CORE, FRONTEND_FORK_CORE_WITH_ARGS, FRONTEND_FORK_RESTART }
 
enum  frontend_architecture {
  FRONTEND_ARCH_NONE = 0, FRONTEND_ARCH_X86, FRONTEND_ARCH_X86_64, FRONTEND_ARCH_PPC,
  FRONTEND_ARCH_ARM, FRONTEND_ARCH_ARMV7, FRONTEND_ARCH_ARMV8, FRONTEND_ARCH_MIPS,
  FRONTEND_ARCH_TILE
}
 
enum  path_change_type { PATH_CHANGE_TYPE_MODIFIED = (1 << 0), PATH_CHANGE_TYPE_WRITE_FILE_CLOSED = (1 << 1), PATH_CHANGE_TYPE_FILE_MOVED = (1 << 2), PATH_CHANGE_TYPE_FILE_DELETED = (1 << 3) }
 

Functions

frontend_ctx_driver_tfrontend_ctx_find_driver (const char *ident)
 
frontend_ctx_driver_tfrontend_get_ptr (void)
 
frontend_ctx_driver_tfrontend_ctx_init_first (void)
 
int frontend_driver_parse_drive_list (void *data, bool load_content)
 
void frontend_driver_content_loaded (void)
 
bool frontend_driver_set_fork (enum frontend_fork fork_mode)
 
void frontend_driver_process_args (int *argc, char *argv[])
 
bool frontend_driver_is_inited (void)
 
void frontend_driver_init_first (void *args)
 
void frontend_driver_free (void)
 
enum frontend_architecture frontend_driver_get_cpu_architecture (void)
 
environment_get_t frontend_driver_environment_get_ptr (void)
 
bool frontend_driver_has_get_video_driver_func (void)
 
const struct video_driverfrontend_driver_get_video_driver (void)
 
void frontend_driver_shutdown (bool a)
 
void frontend_driver_deinit (void *args)
 
void frontend_driver_exitspawn (char *s, size_t len)
 
bool frontend_driver_has_fork (void)
 
bool frontend_driver_get_core_extension (char *s, size_t len)
 
bool frontend_driver_get_salamander_basename (char *s, size_t len)
 
uint64_t frontend_driver_get_total_memory (void)
 
uint64_t frontend_driver_get_used_memory (void)
 
void frontend_driver_install_signal_handler (void)
 
int frontend_driver_get_signal_handler_state (void)
 
void frontend_driver_set_signal_handler_state (int value)
 
void frontend_driver_destroy_signal_handler_state (void)
 
void frontend_driver_attach_console (void)
 
void frontend_driver_detach_console (void)
 
bool frontend_driver_can_watch_for_changes (void)
 
void frontend_driver_watch_path_for_changes (struct string_list *list, int flags, path_change_data_t **change_data)
 
bool frontend_driver_check_for_path_changes (path_change_data_t *change_data)
 
void frontend_driver_set_sustained_performance_mode (bool on)
 

Variables

frontend_ctx_driver_t frontend_ctx_gx
 
frontend_ctx_driver_t frontend_ctx_wiiu
 
frontend_ctx_driver_t frontend_ctx_ps3
 
frontend_ctx_driver_t frontend_ctx_xdk
 
frontend_ctx_driver_t frontend_ctx_qnx
 
frontend_ctx_driver_t frontend_ctx_darwin
 
frontend_ctx_driver_t frontend_ctx_unix
 
frontend_ctx_driver_t frontend_ctx_psp
 
frontend_ctx_driver_t frontend_ctx_ps2
 
frontend_ctx_driver_t frontend_ctx_ctr
 
frontend_ctx_driver_t frontend_ctx_switch
 
frontend_ctx_driver_t frontend_ctx_win32
 
frontend_ctx_driver_t frontend_ctx_uwp
 
frontend_ctx_driver_t frontend_ctx_xenon
 
frontend_ctx_driver_t frontend_ctx_emscripten
 
frontend_ctx_driver_t frontend_ctx_dos
 
frontend_ctx_driver_t frontend_ctx_null
 

Typedef Documentation

◆ environment_get_t

typedef void(* environment_get_t) (int *argc, char *argv[], void *args, void *params_data)

◆ frontend_ctx_driver_t

◆ path_change_data_t

◆ process_args_t

typedef void(* process_args_t) (int *argc, char *argv[])

Enumeration Type Documentation

◆ frontend_architecture

Enumerator
FRONTEND_ARCH_NONE 
FRONTEND_ARCH_X86 
FRONTEND_ARCH_X86_64 
FRONTEND_ARCH_PPC 
FRONTEND_ARCH_ARM 
FRONTEND_ARCH_ARMV7 
FRONTEND_ARCH_ARMV8 
FRONTEND_ARCH_MIPS 
FRONTEND_ARCH_TILE 

◆ frontend_fork

Enumerator
FRONTEND_FORK_NONE 
FRONTEND_FORK_CORE 
FRONTEND_FORK_CORE_WITH_ARGS 
FRONTEND_FORK_RESTART 

◆ frontend_powerstate

Enumerator
FRONTEND_POWERSTATE_NONE 
FRONTEND_POWERSTATE_NO_SOURCE 
FRONTEND_POWERSTATE_CHARGING 
FRONTEND_POWERSTATE_CHARGED 
FRONTEND_POWERSTATE_ON_POWER_SOURCE 

◆ path_change_type

Enumerator
PATH_CHANGE_TYPE_MODIFIED 
PATH_CHANGE_TYPE_WRITE_FILE_CLOSED 
PATH_CHANGE_TYPE_FILE_MOVED 
PATH_CHANGE_TYPE_FILE_DELETED 

Function Documentation

◆ frontend_ctx_find_driver()

frontend_ctx_driver_t* frontend_ctx_find_driver ( const char *  ident)

frontend_ctx_find_driver: : Identifier name of driver to find.

Finds driver with . Does not initialize.

Returns: pointer to driver if successful, otherwise NULL.

Here is the call graph for this function:

◆ frontend_ctx_init_first()

frontend_ctx_driver_t* frontend_ctx_init_first ( void  )

frontend_ctx_init_first:

Finds first suitable driver and initialize.

Returns: pointer to first suitable driver, otherwise NULL.

Here is the caller graph for this function:

◆ frontend_driver_attach_console()

void frontend_driver_attach_console ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_can_watch_for_changes()

bool frontend_driver_can_watch_for_changes ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_check_for_path_changes()

bool frontend_driver_check_for_path_changes ( path_change_data_t change_data)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_content_loaded()

void frontend_driver_content_loaded ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_deinit()

void frontend_driver_deinit ( void args)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_destroy_signal_handler_state()

void frontend_driver_destroy_signal_handler_state ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_detach_console()

void frontend_driver_detach_console ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_environment_get_ptr()

environment_get_t frontend_driver_environment_get_ptr ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_exitspawn()

void frontend_driver_exitspawn ( char *  s,
size_t  len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_free()

void frontend_driver_free ( void  )
Here is the caller graph for this function:

◆ frontend_driver_get_core_extension()

bool frontend_driver_get_core_extension ( char *  s,
size_t  len 
)
Here is the caller graph for this function:

◆ frontend_driver_get_cpu_architecture()

enum frontend_architecture frontend_driver_get_cpu_architecture ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_get_salamander_basename()

bool frontend_driver_get_salamander_basename ( char *  s,
size_t  len 
)
Here is the caller graph for this function:

◆ frontend_driver_get_signal_handler_state()

int frontend_driver_get_signal_handler_state ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_get_total_memory()

uint64_t frontend_driver_get_total_memory ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_get_used_memory()

uint64_t frontend_driver_get_used_memory ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_get_video_driver()

const struct video_driver* frontend_driver_get_video_driver ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_has_fork()

bool frontend_driver_has_fork ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_has_get_video_driver_func()

bool frontend_driver_has_get_video_driver_func ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_init_first()

void frontend_driver_init_first ( void args)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_install_signal_handler()

void frontend_driver_install_signal_handler ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_is_inited()

bool frontend_driver_is_inited ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_parse_drive_list()

int frontend_driver_parse_drive_list ( void data,
bool  load_content 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_process_args()

void frontend_driver_process_args ( int *  argc,
char *  argv[] 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_set_fork()

bool frontend_driver_set_fork ( enum frontend_fork  fork_mode)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_set_signal_handler_state()

void frontend_driver_set_signal_handler_state ( int  value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_set_sustained_performance_mode()

void frontend_driver_set_sustained_performance_mode ( bool  on)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_shutdown()

void frontend_driver_shutdown ( bool  a)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_driver_watch_path_for_changes()

void frontend_driver_watch_path_for_changes ( struct string_list list,
int  flags,
path_change_data_t **  change_data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_get_ptr()

frontend_ctx_driver_t* frontend_get_ptr ( void  )
Here is the caller graph for this function:

Variable Documentation

◆ frontend_ctx_ctr

frontend_ctx_driver_t frontend_ctx_ctr

◆ frontend_ctx_darwin

frontend_ctx_driver_t frontend_ctx_darwin

◆ frontend_ctx_dos

frontend_ctx_driver_t frontend_ctx_dos

◆ frontend_ctx_emscripten

frontend_ctx_driver_t frontend_ctx_emscripten

◆ frontend_ctx_gx

frontend_ctx_driver_t frontend_ctx_gx

◆ frontend_ctx_null

frontend_ctx_driver_t frontend_ctx_null

◆ frontend_ctx_ps2

frontend_ctx_driver_t frontend_ctx_ps2

◆ frontend_ctx_ps3

frontend_ctx_driver_t frontend_ctx_ps3

◆ frontend_ctx_psp

frontend_ctx_driver_t frontend_ctx_psp

◆ frontend_ctx_qnx

frontend_ctx_driver_t frontend_ctx_qnx

◆ frontend_ctx_switch

frontend_ctx_driver_t frontend_ctx_switch

◆ frontend_ctx_unix

frontend_ctx_driver_t frontend_ctx_unix

◆ frontend_ctx_uwp

frontend_ctx_driver_t frontend_ctx_uwp

◆ frontend_ctx_wiiu

frontend_ctx_driver_t frontend_ctx_wiiu

◆ frontend_ctx_win32

frontend_ctx_driver_t frontend_ctx_win32

◆ frontend_ctx_xdk

frontend_ctx_driver_t frontend_ctx_xdk

◆ frontend_ctx_xenon

frontend_ctx_driver_t frontend_ctx_xenon