VLC 4.0.0-dev
|
LibVLC dialog external API. More...
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. | |
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. | |
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. | |
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. | |
LIBVLC_API void * | libvlc_dialog_get_context (libvlc_dialog_id *p_id) |
Return the opaque pointer associated with the dialog id. | |
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. | |
LIBVLC_API int | libvlc_dialog_post_action (libvlc_dialog_id *p_id, int i_action) |
Post a question answer. | |
LIBVLC_API int | libvlc_dialog_dismiss (libvlc_dialog_id *p_id) |
Dismiss a dialog. | |
LibVLC dialog external API.
typedef struct libvlc_dialog_id libvlc_dialog_id |