VLC 4.0.0-dev
libvlc_dialog.h File Reference

LibVLC dialog external API. More...

Include dependency graph for libvlc_dialog.h:

Go to the source code of this file.

Data Structures

struct  libvlc_dialog_cbs
 Dialog callbacks to be implemented. More...
 

Typedefs

typedef struct libvlc_dialog_id libvlc_dialog_id
 
typedef enum libvlc_dialog_question_type libvlc_dialog_question_type
 
typedef struct libvlc_dialog_cbs libvlc_dialog_cbs
 Dialog callbacks to be implemented. More...
 
typedef void(* libvlc_dialog_error_cbs) (void *p_data, const char *psz_title, const char *psz_text)
 Called when an error message needs to be displayed. More...
 

Enumerations

enum  libvlc_dialog_question_type { LIBVLC_DIALOG_QUESTION_NORMAL , LIBVLC_DIALOG_QUESTION_WARNING , LIBVLC_DIALOG_QUESTION_CRITICAL }
 

Functions

LIBVLC_API void libvlc_dialog_set_callbacks (libvlc_instance_t *p_instance, const libvlc_dialog_cbs *p_cbs, void *p_data)
 Register callbacks in order to handle VLC dialogs. More...
 
LIBVLC_API void libvlc_dialog_set_error_callback (libvlc_instance_t *p_instance, libvlc_dialog_error_cbs p_cbs, void *p_data)
 
LIBVLC_API void libvlc_dialog_set_context (libvlc_dialog_id *p_id, void *p_context)
 Associate an opaque pointer with the dialog id. More...
 
LIBVLC_API void * libvlc_dialog_get_context (libvlc_dialog_id *p_id)
 Return the opaque pointer associated with the dialog id. More...
 
LIBVLC_API int libvlc_dialog_post_login (libvlc_dialog_id *p_id, const char *psz_username, const char *psz_password, bool b_store)
 Post a login answer. More...
 
LIBVLC_API int libvlc_dialog_post_action (libvlc_dialog_id *p_id, int i_action)
 Post a question answer. More...
 
LIBVLC_API int libvlc_dialog_dismiss (libvlc_dialog_id *p_id)
 Dismiss a dialog. More...
 

Detailed Description

LibVLC dialog external API.

Typedef Documentation

◆ libvlc_dialog_id