RetroArch
Classes | Typedefs | Enumerations | Functions | Variables
tasks_internal.h File Reference
#include <stdint.h>
#include <boolean.h>
#include <retro_common_api.h>
#include <retro_miscellaneous.h>
#include <queues/message_queue.h>
#include <queues/task_queue.h>
#include "../content.h"
#include "../core_type.h"
#include "../msg_hash.h"
Include dependency graph for tasks_internal.h:

Go to the source code of this file.

Classes

struct  nbio_handle
 
struct  file_transfer_t
 

Typedefs

typedef struct nbio_handle nbio_handle_t
 

Enumerations

enum  content_mode_load { CONTENT_MODE_LOAD_NONE = 0, CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_MENU, CONTENT_MODE_LOAD_CONTENT_WITH_FFMPEG_CORE_FROM_MENU, CONTENT_MODE_LOAD_CONTENT_WITH_IMAGEVIEWER_CORE_FROM_MENU }
 
enum  nbio_status_enum { NBIO_STATUS_INIT = 0, NBIO_STATUS_TRANSFER, NBIO_STATUS_TRANSFER_PARSE, NBIO_STATUS_TRANSFER_FINISHED }
 
enum  nbio_status_flags { NBIO_FLAG_NONE = 0, NBIO_FLAG_IMAGE_SUPPORTS_RGBA }
 
enum  nbio_type {
  NBIO_TYPE_NONE = 0, NBIO_TYPE_JPEG, NBIO_TYPE_PNG, NBIO_TYPE_TGA,
  NBIO_TYPE_BMP, NBIO_TYPE_OGG, NBIO_TYPE_FLAC, NBIO_TYPE_MP3,
  NBIO_TYPE_MOD, NBIO_TYPE_WAV
}
 

Functions

bool task_push_image_load (const char *fullpath, retro_task_callback_t cb, void *userdata)
 
bool task_check_decompress (const char *source_file)
 
bool task_push_decompress (const char *source_file, const char *target_dir, const char *target_file, const char *subdir, const char *valid_ext, retro_task_callback_t cb, void *user_data)
 
bool task_push_load_content_with_current_core_from_companion_ui (const char *fullpath, content_ctx_info_t *content_info, enum rarch_core_type type, retro_task_callback_t cb, void *user_data)
 
bool task_push_load_content_from_cli (const char *core_path, const char *fullpath, content_ctx_info_t *content_info, enum rarch_core_type type, retro_task_callback_t cb, void *user_data)
 
bool task_push_load_new_core (const char *core_path, const char *fullpath, content_ctx_info_t *content_info, enum rarch_core_type type, retro_task_callback_t cb, void *user_data)
 
bool task_push_start_builtin_core (content_ctx_info_t *content_info, enum rarch_core_type type, retro_task_callback_t cb, void *user_data)
 
bool task_push_start_current_core (content_ctx_info_t *content_info)
 
bool task_push_start_dummy_core (content_ctx_info_t *content_info)
 
bool task_push_load_content_with_new_core_from_companion_ui (const char *core_path, const char *fullpath, content_ctx_info_t *content_info, retro_task_callback_t cb, void *user_data)
 
void task_file_load_handler (retro_task_t *task)
 
bool task_audio_mixer_load_handler (retro_task_t *task)
 
bool take_screenshot (const char *path, bool silence, bool has_valid_framebuffer, bool fullpath, bool use_thread)
 
bool event_load_save_files (void)
 
bool event_save_files (void)
 
void path_init_savefile_rtc (const char *savefile_path)
 
voidsavefile_ptr_get (void)
 
void path_init_savefile_new (void)
 
bool input_is_autoconfigured (unsigned i)
 
unsigned input_autoconfigure_get_device_name_index (unsigned i)
 
void input_autoconfigure_reset (void)
 
bool input_autoconfigure_connect (const char *name, const char *display_name, const char *driver, unsigned idx, unsigned vid, unsigned pid)
 
bool input_autoconfigure_disconnect (unsigned i, const char *ident)
 
bool input_autoconfigure_get_swap_override (void)
 
void input_autoconfigure_joypad_reindex_devices (void)
 
void task_push_get_powerstate (void)
 
enum frontend_powerstate get_last_powerstate (int *percent)
 
bool task_push_audio_mixer_load_and_play (const char *fullpath, retro_task_callback_t cb, void *user_data)
 
bool task_push_audio_mixer_load (const char *fullpath, retro_task_callback_t cb, void *user_data)
 
void set_save_state_in_background (bool state)
 

Variables

RETRO_BEGIN_DECLS typedef int(* transfer_cb_t )(void *data, size_t len)
 
const char *const input_builtin_autoconfs []
 

Typedef Documentation

◆ nbio_handle_t

typedef struct nbio_handle nbio_handle_t

Enumeration Type Documentation

◆ content_mode_load

Enumerator
CONTENT_MODE_LOAD_NONE 
CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_MENU 
CONTENT_MODE_LOAD_CONTENT_WITH_FFMPEG_CORE_FROM_MENU 
CONTENT_MODE_LOAD_CONTENT_WITH_IMAGEVIEWER_CORE_FROM_MENU 

◆ nbio_status_enum

Enumerator
NBIO_STATUS_INIT 
NBIO_STATUS_TRANSFER 
NBIO_STATUS_TRANSFER_PARSE 
NBIO_STATUS_TRANSFER_FINISHED 

◆ nbio_status_flags

Enumerator
NBIO_FLAG_NONE 
NBIO_FLAG_IMAGE_SUPPORTS_RGBA 

◆ nbio_type

enum nbio_type
Enumerator
NBIO_TYPE_NONE 
NBIO_TYPE_JPEG 
NBIO_TYPE_PNG 
NBIO_TYPE_TGA 
NBIO_TYPE_BMP 
NBIO_TYPE_OGG 
NBIO_TYPE_FLAC 
NBIO_TYPE_MP3 
NBIO_TYPE_MOD 
NBIO_TYPE_WAV 

Function Documentation

◆ event_load_save_files()

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

◆ event_save_files()

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

◆ get_last_powerstate()

enum frontend_powerstate get_last_powerstate ( int *  percent)
Here is the caller graph for this function:

◆ input_autoconfigure_connect()

bool input_autoconfigure_connect ( const char *  name,
const char *  display_name,
const char *  driver,
unsigned  idx,
unsigned  vid,
unsigned  pid 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ input_autoconfigure_disconnect()

bool input_autoconfigure_disconnect ( unsigned  i,
const char *  ident 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ input_autoconfigure_get_device_name_index()

unsigned input_autoconfigure_get_device_name_index ( unsigned  i)
Here is the caller graph for this function:

◆ input_autoconfigure_get_swap_override()

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

◆ input_autoconfigure_joypad_reindex_devices()

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

◆ input_autoconfigure_reset()

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

◆ input_is_autoconfigured()

bool input_is_autoconfigured ( unsigned  i)
Here is the caller graph for this function:

◆ path_init_savefile_new()

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

◆ path_init_savefile_rtc()

void path_init_savefile_rtc ( const char *  savefile_path)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ savefile_ptr_get()

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

◆ set_save_state_in_background()

void set_save_state_in_background ( bool  state)
Here is the caller graph for this function:

◆ take_screenshot()

bool take_screenshot ( const char *  path,
bool  silence,
bool  has_valid_framebuffer,
bool  fullpath,
bool  use_thread 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_audio_mixer_load_handler()

bool task_audio_mixer_load_handler ( retro_task_t task)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_check_decompress()

bool task_check_decompress ( const char *  source_file)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_file_load_handler()

void task_file_load_handler ( retro_task_t task)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_push_audio_mixer_load()

bool task_push_audio_mixer_load ( const char *  fullpath,
retro_task_callback_t  cb,
void user_data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_push_audio_mixer_load_and_play()

bool task_push_audio_mixer_load_and_play ( const char *  fullpath,
retro_task_callback_t  cb,
void user_data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_push_decompress()

bool task_push_decompress ( const char *  source_file,
const char *  target_dir,
const char *  target_file,
const char *  subdir,
const char *  valid_ext,
retro_task_callback_t  cb,
void user_data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_push_get_powerstate()

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

◆ task_push_image_load()

bool task_push_image_load ( const char *  fullpath,
retro_task_callback_t  cb,
void userdata 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_push_load_content_from_cli()

bool task_push_load_content_from_cli ( const char *  core_path,
const char *  fullpath,
content_ctx_info_t content_info,
enum rarch_core_type  type,
retro_task_callback_t  cb,
void user_data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_push_load_content_with_current_core_from_companion_ui()

bool task_push_load_content_with_current_core_from_companion_ui ( const char *  fullpath,
content_ctx_info_t content_info,
enum rarch_core_type  type,
retro_task_callback_t  cb,
void user_data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_push_load_content_with_new_core_from_companion_ui()

bool task_push_load_content_with_new_core_from_companion_ui ( const char *  core_path,
const char *  fullpath,
content_ctx_info_t content_info,
retro_task_callback_t  cb,
void user_data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_push_load_new_core()

bool task_push_load_new_core ( const char *  core_path,
const char *  fullpath,
content_ctx_info_t content_info,
enum rarch_core_type  type,
retro_task_callback_t  cb,
void user_data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_push_start_builtin_core()

bool task_push_start_builtin_core ( content_ctx_info_t content_info,
enum rarch_core_type  type,
retro_task_callback_t  cb,
void user_data 
)
Here is the call graph for this function:

◆ task_push_start_current_core()

bool task_push_start_current_core ( content_ctx_info_t content_info)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_push_start_dummy_core()

bool task_push_start_dummy_core ( content_ctx_info_t content_info)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ input_builtin_autoconfs

const char* const input_builtin_autoconfs[]

◆ transfer_cb_t

RETRO_BEGIN_DECLS typedef int(* transfer_cb_t) (void *data, size_t len)