109#define VLC_EVENT_TYPE_COUNT (vlc_InputItemAttachmentsFound + 1)
#define VLC_API
Definition: fourcc_gen.c:31
Definition: vlc_events.h:113
struct vlc_event_listeners_group_t::@220 listeners
Definition: vlc_events.h:119
void * p_obj
Definition: vlc_events.h:120
vlc_mutex_t lock
Definition: vlc_events.h:121
vlc_event_listeners_group_t events[(vlc_InputItemAttachmentsFound+1)]
Definition: vlc_events.h:122
Definition: vlc_events.h:127
void * p_obj
Definition: vlc_events.h:129
union vlc_event_t::vlc_event_type_specific u
vlc_event_type_t type
Definition: vlc_events.h:128
Mutex.
Definition: vlc_threads.h:195
Definition: vlc_events.h:131
struct vlc_event_t::vlc_event_type_specific::input_item_preparse_ended input_item_preparse_ended
struct vlc_event_t::vlc_event_type_specific::vlc_input_item_meta_changed input_item_meta_changed
struct vlc_event_t::vlc_event_type_specific::vlc_input_item_name_changed input_item_name_changed
struct vlc_event_t::vlc_event_type_specific::vlc_input_item_preparsed_changed input_item_preparsed_changed
struct vlc_event_t::vlc_event_type_specific::vlc_input_item_subitem_added input_item_subitem_added
struct vlc_event_t::vlc_event_type_specific::vlc_input_item_duration_changed input_item_duration_changed
struct vlc_event_t::vlc_event_type_specific::vlc_input_item_subitem_tree_added input_item_subitem_tree_added
struct vlc_event_t::vlc_event_type_specific::input_item_error_when_reading_changed input_item_error_when_reading_changed
struct vlc_event_t::vlc_event_type_specific::vlc_input_item_info_changed input_item_info_changed
struct vlc_event_t::vlc_event_type_specific::input_item_attachments_found input_item_attachments_found
This file defines functions, structures and macros for handling arrays in vlc.
#define DECL_ARRAY(type)
Definition: vlc_arrays.h:179
This file is a collection of common definitions and types.
void vlc_event_manager_init(vlc_event_manager_t *p_em, void *p_obj)
Initialize event manager object p_obj is the object that contains the event manager.
Definition: events.c:65
struct vlc_event_listeners_group_t vlc_event_listeners_group_t
struct vlc_event_t vlc_event_t
vlc_event_type_t
Definition: vlc_events.h:99
@ vlc_InputItemPreparsedChanged
Definition: vlc_events.h:103
@ vlc_InputItemErrorWhenReadingChanged
Definition: vlc_events.h:106
@ vlc_InputItemNameChanged
Definition: vlc_events.h:104
@ vlc_InputItemDurationChanged
Definition: vlc_events.h:102
@ vlc_InputItemAttachmentsFound
Definition: vlc_events.h:107
@ vlc_InputItemInfoChanged
Definition: vlc_events.h:105
@ vlc_InputItemMetaChanged
Definition: vlc_events.h:101
void vlc_event_manager_fini(vlc_event_manager_t *p_em)
Destroy the event manager.
Definition: events.c:79
int vlc_event_attach(vlc_event_manager_t *p_event_manager, vlc_event_type_t event_type, vlc_event_callback_t pf_callback, void *p_user_data)
Add a callback for an event.
Definition: events.c:118
#define VLC_EVENT_TYPE_COUNT
Definition: vlc_events.h:110
void vlc_event_detach(vlc_event_manager_t *p_event_manager, vlc_event_type_t event_type, vlc_event_callback_t pf_callback, void *p_user_data)
Remove a callback for an event.
Definition: events.c:143
struct vlc_event_manager_t vlc_event_manager_t
void(* vlc_event_callback_t)(const vlc_event_t *, void *)
Definition: vlc_events.h:178
void vlc_event_send(vlc_event_manager_t *p_em, vlc_event_t *)
Send an event to the listener attached to this p_em.
Definition: events.c:97
Thread primitive declarations.
int64_t vlc_tick_t
High precision date or time interval.
Definition: vlc_tick.h:45