72#define vlc_dialog_display_error(a, b, c, ...) \
73 vlc_dialog_display_error(VLC_OBJECT(a), b, c, ##__VA_ARGS__)
83 const char *psz_fmt, va_list ap);
107 char **ppsz_password,
bool *p_store,
108 const char *psz_default_username,
109 const char *
psz_title,
const char *psz_fmt, ...)
111#define vlc_dialog_wait_login(a, b, c, d, e, f, g, ...) \
112 vlc_dialog_wait_login(VLC_OBJECT(a), b, c, d, e, f, g, ##__VA_ARGS__)
122 char **ppsz_password,
bool *p_store,
123 const char *psz_default_username,
124 const char *
psz_title,
const char *psz_fmt, va_list ap);
146 const char *psz_cancel,
const char *psz_action1,
147 const char *psz_action2,
const char *
psz_title,
149#define vlc_dialog_wait_question(a, b, c, d, e, f, g, ...) \
150 vlc_dialog_wait_question(VLC_OBJECT(a), b, c, d, e, f, g, ##__VA_ARGS__)
161 const char *psz_cancel,
const char *psz_action1,
162 const char *psz_action2,
const char *
psz_title,
163 const char *psz_fmt, va_list ap);
182 float f_position,
const char *psz_cancel,
183 const char *
psz_title,
const char *psz_fmt, ...)
185#define vlc_dialog_display_progress(a, b, c, d, e, f, ...) \
186 vlc_dialog_display_progress(VLC_OBJECT(a), b, c, d, e, f, ##__VA_ARGS__)
196 float f_position,
const char *psz_cancel,
197 const char *
psz_title,
const char *psz_fmt,
211#define vlc_dialog_update_progress(a, b, c) \
212 vlc_dialog_update_progress(VLC_OBJECT(a), b, c)
225 float f_position,
const char *psz_fmt, ...)
227#define vlc_dialog_update_progress_text(a, b, c, d, ...) \
228 vlc_dialog_update_progress_text(VLC_OBJECT(a), b, c, d, ##__VA_ARGS__)
238 float f_position,
const char *psz_fmt,
251#define vlc_dialog_release(a, b) \
252 vlc_dialog_release(VLC_OBJECT(a), b)
262#define vlc_dialog_is_cancelled(a, b) \
263 vlc_dialog_is_cancelled(VLC_OBJECT(a), b)
295 const char *psz_title,
const char *psz_text,
296 const char *psz_default_username,
320 const char *psz_title,
const char *psz_text,
322 const char *psz_cancel,
const char *psz_action1,
323 const char *psz_action2);
345 const char *psz_title,
const char *psz_text,
346 bool b_indeterminate,
float f_position,
347 const char *psz_cancel);
369 float f_position,
const char *psz_text);
390#define vlc_dialog_provider_set_callbacks(a, b, c) \
391 vlc_dialog_provider_set_callbacks(VLC_OBJECT(a), b, c)
404#define vlc_dialog_provider_set_error_callback(a, b, c) \
405 vlc_dialog_provider_set_error_callback(VLC_OBJECT(a), b, c)
434 const char *psz_password,
bool b_store);
471#define vlc_ext_dialog_update(a, b) \
472 vlc_ext_dialog_update(VLC_OBJECT(a), b)
491#define vlc_dialog_provider_set_ext_callback(a, b, c) \
492 vlc_dialog_provider_set_ext_callback(VLC_OBJECT(a), b, c)
#define VLC_API
Definition: fourcc_gen.c:31
#define VLC_FORMAT(x, y)
String format function annotation.
Definition: vlc_common.h:204
#define vlc_dialog_wait_question(a, b, c, d, e, f, g,...)
Definition: vlc_dialog.h:150
int vlc_dialog_wait_question_va(vlc_object_t *p_obj, vlc_dialog_question_type i_type, const char *psz_cancel, const char *psz_action1, const char *psz_action2, const char *psz_title, const char *psz_fmt, va_list ap)
Asks a total (Yes/No/Cancel) question.
Definition: dialog.c:541
#define vlc_dialog_release(a, b)
Definition: vlc_dialog.h:252
int vlc_dialog_update_progress_text_va(vlc_object_t *p_obj, vlc_dialog_id *p_id, float f_position, const char *psz_fmt, va_list ap)
Update the position and the message of the progress dialog.
Definition: dialog.c:704
#define vlc_dialog_is_cancelled(a, b)
Definition: vlc_dialog.h:263
vlc_dialog_id * vlc_dialog_display_progress_va(vlc_object_t *p_obj, bool b_indeterminate, float f_position, const char *psz_cancel, const char *psz_title, const char *psz_fmt, va_list ap)
Display a progress dialog.
Definition: dialog.c:631
#define vlc_dialog_display_progress(a, b, c, d, e, f,...)
Definition: vlc_dialog.h:186
#define vlc_dialog_update_progress_text(a, b, c, d,...)
Definition: vlc_dialog.h:228
vlc_dialog_question_type
Dialog question type, see vlc_dialog_wait_question()
Definition: vlc_dialog.h:54
#define vlc_dialog_display_error(a, b, c,...)
Definition: vlc_dialog.h:73
int vlc_dialog_display_error_va(vlc_object_t *p_obj, const char *psz_title, const char *psz_fmt, va_list ap)
Sends an error message.
Definition: dialog.c:382
#define vlc_dialog_update_progress(a, b, c)
Definition: vlc_dialog.h:212
int vlc_dialog_wait_login_va(vlc_object_t *p_obj, char **ppsz_username, char **ppsz_password, bool *p_store, const char *psz_default_username, const char *psz_title, const char *psz_fmt, va_list ap)
Requests an user name and a password.
Definition: dialog.c:453
#define vlc_dialog_wait_login(a, b, c, d, e, f, g,...)
Definition: vlc_dialog.h:112
@ VLC_DIALOG_QUESTION_CRITICAL
Definition: vlc_dialog.h:57
@ VLC_DIALOG_QUESTION_NORMAL
Definition: vlc_dialog.h:55
@ VLC_DIALOG_QUESTION_WARNING
Definition: vlc_dialog.h:56
#define vlc_ext_dialog_update(a, b)
Definition: vlc_dialog.h:472
#define vlc_dialog_provider_set_ext_callback(a, b, c)
Definition: vlc_dialog.h:492
void(* vlc_dialog_ext_update_cb)(extension_dialog_t *p_ext_dialog, void *p_data)
Dialog extension callback to be implemented.
Definition: vlc_dialog.h:478
void(* vlc_dialog_error_cbs)(void *p_data, const char *psz_title, const char *psz_text)
Called when an error message needs to be displayed.
Definition: vlc_dialog.h:380
void vlc_dialog_id_set_context(vlc_dialog_id *p_id, void *p_context)
Associate an opaque pointer with the dialog id.
Definition: dialog.c:757
void * vlc_dialog_id_get_context(vlc_dialog_id *p_id)
Return the opaque pointer associated with the dialog id.
Definition: dialog.c:765
int vlc_dialog_id_dismiss(vlc_dialog_id *p_id)
Dismiss a dialog.
Definition: dialog.c:841
int vlc_dialog_id_post_login(vlc_dialog_id *p_id, const char *psz_username, const char *psz_password, bool b_store)
Post a login answer.
Definition: dialog.c:802
int vlc_dialog_id_post_action(vlc_dialog_id *p_id, int i_action)
Post a question answer.
Definition: dialog.c:828
#define vlc_dialog_provider_set_callbacks(a, b, c)
Definition: vlc_dialog.h:391
#define vlc_dialog_provider_set_error_callback(a, b, c)
Definition: vlc_dialog.h:405
struct vlc_dialog_cbs vlc_dialog_cbs
Dialog callbacks to be implemented.
int i_type
Definition: httpd.c:1282
Dialog descriptor for extensions.
Definition: vlc_extensions.h:214
char * psz_title
Title for the Dialog (in TitleBar)
Definition: vlc_extensions.h:217
Definition: vlc_objects.h:91
Dialog callbacks to be implemented.
Definition: vlc_dialog.h:277
void(* pf_cancel)(void *p_data, vlc_dialog_id *p_id)
Called when a displayed dialog needs to be cancelled.
Definition: vlc_dialog.h:359
void(* pf_display_question)(void *p_data, vlc_dialog_id *p_id, const char *psz_title, const char *psz_text, vlc_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: vlc_dialog.h:320
void(* pf_display_progress)(void *p_data, vlc_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: vlc_dialog.h:345
void(* pf_update_progress)(void *p_data, vlc_dialog_id *p_id, float f_position, const char *psz_text)
Called when a progress dialog needs to be updated.
Definition: vlc_dialog.h:369
void(* pf_display_login)(void *p_data, vlc_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: vlc_dialog.h:295
VLC object common members.
Definition: vlc_objects.h:45
This file is a collection of common definitions and types.
void libvlc_InternalDialogClean(libvlc_int_t *p_libvlc)
Definition: dialog.c:242
int libvlc_InternalDialogInit(libvlc_int_t *p_libvlc)
Definition: dialog.c:151