VLC  3.0.0-git
Macros | Typedefs | Functions
VLC extension dialog functions
Collaboration diagram for VLC extension dialog functions:


#define vlc_ext_dialog_update(a, b)   vlc_ext_dialog_update(VLC_OBJECT(a), b)
#define vlc_dialog_provider_set_ext_callback(a, b, c)   vlc_dialog_provider_set_ext_callback(VLC_OBJECT(a), b, c)


typedef void(* vlc_dialog_ext_update_cb) (extension_dialog_t *p_ext_dialog, void *p_data)
 Dialog extension callback to be implemented. More...


int vlc_ext_dialog_update (vlc_object_t *p_obj, extension_dialog_t *dialog)
void vlc_dialog_provider_set_ext_callback (vlc_object_t *p_obj, vlc_dialog_ext_update_cb pf_update, void *p_data)
 Register a callback for VLC extension dialog. More...

Detailed Description

Macro Definition Documentation

◆ vlc_dialog_provider_set_ext_callback

#define vlc_dialog_provider_set_ext_callback (   a,
)    vlc_dialog_provider_set_ext_callback(VLC_OBJECT(a), b, c)

◆ vlc_ext_dialog_update

#define vlc_ext_dialog_update (   a,
)    vlc_ext_dialog_update(VLC_OBJECT(a), b)

Typedef Documentation

◆ vlc_dialog_ext_update_cb

typedef void(* vlc_dialog_ext_update_cb) (extension_dialog_t *p_ext_dialog, void *p_data)

Dialog extension callback to be implemented.

Function Documentation

◆ vlc_dialog_provider_set_ext_callback()

void vlc_dialog_provider_set_ext_callback ( vlc_object_t p_obj,
vlc_dialog_ext_update_cb  pf_update,
void *  p_data 

Register a callback for VLC extension dialog.

pf_updatea pointer to the update callback, or NULL to unregister callback
p_dataopaque pointer for the callback

References get_dialog_provider(), vlc_dialog_provider::lock, vlc_dialog_provider::p_ext_data, vlc_dialog_provider::pf_ext_update, vlc_mutex_lock(), and vlc_mutex_unlock().

◆ vlc_ext_dialog_update()

int vlc_ext_dialog_update ( vlc_object_t p_obj,
extension_dialog_t dialog