Go to the documentation of this file.
21 #ifndef LIBVLC_DIALOG_H
22 #define LIBVLC_DIALOG_H 1
60 const char *psz_text);
80 const char *psz_title,
const char *psz_text,
81 const char *psz_default_username,
105 const char *psz_title,
const char *psz_text,
107 const char *psz_cancel,
const char *psz_action1,
108 const char *psz_action2);
130 const char *psz_title,
const char *psz_text,
131 bool b_indeterminate,
float f_position,
132 const char *psz_cancel);
154 float f_position,
const char *psz_text);
202 const char *psz_password,
bool b_store);
void(* pf_display_error)(void *p_data, const char *psz_title, const char *psz_text)
Called when an error message needs to be displayed.
Definition: libvlc_dialog.h:58
Definition: libvlc_dialog.h:42
struct libvlc_dialog_id libvlc_dialog_id
Definition: libvlc_dialog.h:29
LIBVLC_API void libvlc_dialog_set_context(libvlc_dialog_id *p_id, void *p_context)
Associate an opaque pointer with the dialog id.
void(* pf_cancel)(void *p_data, libvlc_dialog_id *p_id)
Called when a displayed dialog needs to be cancelled.
Definition: libvlc_dialog.h:142
void(* pf_display_login)(void *p_data, libvlc_dialog_id *p_id, const char *psz_title, const char *psz_text, const char *psz_default_username, bool b_ask_store)
Called when a login dialog needs to be displayed.
Definition: libvlc_dialog.h:78
struct libvlc_dialog_cbs libvlc_dialog_cbs
Dialog callbacks to be implemented.
void(* pf_display_question)(void *p_data, libvlc_dialog_id *p_id, const char *psz_title, const char *psz_text, libvlc_dialog_question_type i_type, const char *psz_cancel, const char *psz_action1, const char *psz_action2)
Called when a question dialog needs to be displayed.
Definition: libvlc_dialog.h:103
Dialog callbacks to be implemented.
Definition: libvlc_dialog.h:49
Definition: libvlc_dialog.h:41
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.
int i_type
Definition: httpd.c:1250
void(* pf_update_progress)(void *p_data, libvlc_dialog_id *p_id, float f_position, const char *psz_text)
Called when a progress dialog needs to be updated.
Definition: libvlc_dialog.h:152
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 int libvlc_dialog_dismiss(libvlc_dialog_id *p_id)
Dismiss a dialog.
void(* pf_display_progress)(void *p_data, libvlc_dialog_id *p_id, const char *psz_title, const char *psz_text, bool b_indeterminate, float f_position, const char *psz_cancel)
Called when a progress dialog needs to be displayed.
Definition: libvlc_dialog.h:128
LIBVLC_API void * libvlc_dialog_get_context(libvlc_dialog_id *p_id)
Return the opaque pointer associated with the dialog id.
#define LIBVLC_API
Definition: libvlc.h:42
LIBVLC_API int libvlc_dialog_post_action(libvlc_dialog_id *p_id, int i_action)
Post a question answer.
struct libvlc_instance_t libvlc_instance_t
This structure is opaque.
Definition: libvlc.h:76
Definition: libvlc_dialog.h:43
libvlc_dialog_question_type
Definition: libvlc_dialog.h:39