Go to the documentation of this file.
   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_FORMAT(x, y)
Definition: vlc_common.h:100
#define VLC_API
Definition: fourcc_gen.c:30
int vlc_dialog_id_post_action(vlc_dialog_id *p_id, int i_action)
Post a question answer.
Definition: dialog.c:801
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:354
#define vlc_dialog_wait_question(a, b, c, d, e, f, g,...)
Definition: vlc_dialog.h:149
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:677
Definition: vlc_main.h:33
#define vlc_dialog_display_progress(a, b, c, d, e, f,...)
Definition: vlc_dialog.h:185
struct vlc_dialog_cbs vlc_dialog_cbs
Dialog callbacks to be implemented.
#define vlc_dialog_provider_set_ext_callback(a, b, c)
Definition: vlc_dialog.h:478
#define vlc_dialog_wait_login(a, b, c, d, e, f, g,...)
Definition: vlc_dialog.h:111
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:284
char * psz_title
Title for the Dialog (in TitleBar)
Definition: vlc_extensions.h:208
Dialog callbacks to be implemented.
Definition: vlc_dialog.h:275
#define vlc_dialog_display_error(a, b, c,...)
Definition: vlc_dialog.h:72
void(* pf_cancel)(void *p_data, vlc_dialog_id *p_id)
Called when a displayed dialog needs to be cancelled.
Definition: vlc_dialog.h:368
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:514
#define vlc_dialog_update_progress_text(a, b, c, d,...)
Definition: vlc_dialog.h:227
#define vlc_dialog_update_progress(a, b, c)
Definition: vlc_dialog.h:211
int libvlc_InternalDialogInit(libvlc_int_t *p_libvlc)
Definition: dialog.c:149
#define vlc_ext_dialog_update(a, b)
Definition: vlc_dialog.h:458
int i_type
Definition: httpd.c:1252
Definition: vlc_dialog.h:54
#define vlc_dialog_is_cancelled(a, b)
Definition: vlc_dialog.h:262
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:775
Definition: vlc_dialog.h:56
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:378
The main vlc_object_t structure.
Definition: vlc_objects.h:39
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:730
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:329
int vlc_dialog_id_dismiss(vlc_dialog_id *p_id)
Dismiss a dialog.
Definition: dialog.c:814
Definition: vlc_dialog.h:55
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:464
vlc_dialog_question_type
Dialog question type, see vlc_dialog_wait_question()
Definition: vlc_dialog.h:52
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:426
#define vlc_dialog_release(a, b)
Definition: vlc_dialog.h:251
void libvlc_InternalDialogClean(libvlc_int_t *p_libvlc)
Definition: dialog.c:237
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:604
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:304
#define vlc_dialog_provider_set_callbacks(a, b, c)
Definition: vlc_dialog.h:391
Dialog descriptor for extensions.
Definition: vlc_extensions.h:204
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:355
void * vlc_dialog_id_get_context(vlc_dialog_id *p_id)
Return the opaque pointer associated with the dialog id.
Definition: dialog.c:738