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) 285 const char *psz_text);
305 const char *psz_title,
const char *psz_text,
306 const char *psz_default_username,
330 const char *psz_title,
const char *psz_text,
332 const char *psz_cancel,
const char *psz_action1,
333 const char *psz_action2);
355 const char *psz_title,
const char *psz_text,
356 bool b_indeterminate,
float f_position,
357 const char *psz_cancel);
379 float f_position,
const char *psz_text);
391 #define vlc_dialog_provider_set_callbacks(a, b, c) \ 392 vlc_dialog_provider_set_callbacks(VLC_OBJECT(a), b, c) 421 const char *psz_password,
bool b_store);
458 #define vlc_ext_dialog_update(a, b) \ 459 vlc_ext_dialog_update(VLC_OBJECT(a), b) 478 #define vlc_dialog_provider_set_ext_callback(a, b, c) \ 479 vlc_dialog_provider_set_ext_callback(VLC_OBJECT(a), b, c) #define vlc_dialog_provider_set_callbacks(a, b, c)
Definition: vlc_dialog.h:392
Dialog descriptor for extensions.
Definition: vlc_extensions.h:205
#define vlc_dialog_release(a, b)
Definition: vlc_dialog.h:252
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:601
void(* pf_cancel)(void *p_data, vlc_dialog_id *p_id)
Called when a displayed dialog needs to be cancelled.
Definition: vlc_dialog.h:369
int vlc_dialog_id_post_action(vlc_dialog_id *p_id, int i_action)
Post a question answer.
Definition: dialog.c:798
#define vlc_ext_dialog_update(a, b)
Definition: vlc_dialog.h:459
#define vlc_dialog_update_progress_text(a, b, c, d,...)
Definition: vlc_dialog.h:228
#define vlc_dialog_wait_question(a, b, c, d, e, f, g,...)
Definition: vlc_dialog.h:150
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:674
Definition: vlc_objects.h:115
struct vlc_dialog_cbs vlc_dialog_cbs
Dialog callbacks to be implemented.
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:330
#define vlc_dialog_provider_set_ext_callback(a, b, c)
Definition: vlc_dialog.h:479
int vlc_dialog_id_dismiss(vlc_dialog_id *p_id)
Dismiss a dialog.
Definition: dialog.c:811
#define vlc_dialog_is_cancelled(a, b)
Definition: vlc_dialog.h:263
#define vlc_dialog_wait_login(a, b, c, d, e, f, g,...)
Definition: vlc_dialog.h:112
int libvlc_InternalDialogInit(libvlc_int_t *p_libvlc)
Definition: dialog.c:147
#define vlc_dialog_display_error(a, b, c,...)
Definition: vlc_dialog.h:73
int i_type
Definition: httpd.c:1270
void libvlc_InternalDialogClean(libvlc_int_t *p_libvlc)
Definition: dialog.c:235
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:727
Definition: vlc_dialog.h:55
Definition: vlc_dialog.h:57
#define vlc_dialog_update_progress(a, b, c)
Definition: vlc_dialog.h:212
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:305
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:379
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: vlc_dialog.h:285
vlc_dialog_question_type
Dialog question type, see vlc_dialog_wait_question()
Definition: vlc_dialog.h:53
void * vlc_dialog_id_get_context(vlc_dialog_id *p_id)
Return the opaque pointer associated with the dialog id.
Definition: dialog.c:735
#define VLC_API
Definition: fourcc_gen.c:31
Dialog callbacks to be implemented.
Definition: vlc_dialog.h:276
#define VLC_FORMAT(x, y)
String format function annotation.
Definition: vlc_common.h:141
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:355
Definition: vlc_dialog.h:56
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:352
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:465
VLC object common members.
Definition: vlc_objects.h:43
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:423
#define vlc_dialog_display_progress(a, b, c, d, e, f,...)
Definition: vlc_dialog.h:186
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:772
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:511