
| #define DEF | ( | a | ) | { libvlc_##a, #a, }, |
| #define LIBVLC_EVENT_TYPES_KEEP_DEFINE |
| typedef struct libvlc_event_listeners_group_t libvlc_event_listeners_group_t |
| static int evcmp | ( | const void * | a, | |
| const void * | b | |||
| ) | [static] |
Referenced by libvlc_event_type_name().
| static int event_attach | ( | libvlc_event_manager_t * | p_event_manager, | |
| libvlc_event_type_t | event_type, | |||
| libvlc_callback_t | pf_callback, | |||
| void * | p_user_data, | |||
| bool | is_asynchronous | |||
| ) | [static] |
References libvlc_event_listeners_group_t::event_type, libvlc_event_listener_t::event_type, libvlc_event_listener_t::is_asynchronous, libvlc_event_type_name(), libvlc_event_listeners_group_t::listeners, libvlc_event_manager_t::listeners_groups, libvlc_event_manager_t::object_lock, libvlc_event_listener_t::p_user_data, libvlc_event_listener_t::pf_callback, unlikely, vlc_array_append(), vlc_array_count(), vlc_array_item_at_index(), vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by libvlc_event_attach(), and libvlc_event_attach_async().
| static bool group_contains_listener | ( | libvlc_event_listeners_group_t * | group, | |
| libvlc_event_listener_t * | searched_listener | |||
| ) | [static] |
References libvlc_event_listeners_group_t::listeners, listeners_are_equal(), vlc_array_count(), and vlc_array_item_at_index().
Referenced by libvlc_event_send().
| void libvlc_event_attach_async | ( | libvlc_event_manager_t * | p_event_manager, | |
| libvlc_event_type_t | event_type, | |||
| libvlc_callback_t | pf_callback, | |||
| void * | p_user_data | |||
| ) |
References event_attach().
Referenced by install_media_player_observer().
| libvlc_event_manager_t* libvlc_event_manager_new | ( | void * | p_obj, | |
| libvlc_instance_t * | p_libvlc_inst | |||
| ) |
References libvlc_event_manager_t::async_event_queue, libvlc_event_manager_t::event_sending_lock, libvlc_printerr(), libvlc_retain(), libvlc_event_manager_t::listeners_groups, libvlc_event_manager_t::object_lock, libvlc_event_manager_t::p_libvlc_instance, libvlc_event_manager_t::p_obj, vlc_array_init(), vlc_mutex_init(), and vlc_mutex_init_recursive().
Referenced by libvlc_media_discoverer_new_from_name(), libvlc_media_library_new(), libvlc_media_list_new(), libvlc_media_list_player_new(), libvlc_media_new_from_input_item(), libvlc_media_player_new(), and libvlc_vlm_init().
| void libvlc_event_manager_register_event_type | ( | libvlc_event_manager_t * | p_em, | |
| libvlc_event_type_t | event_type | |||
| ) |
References libvlc_event_listeners_group_t::event_type, libvlc_event_listeners_group_t::listeners, libvlc_event_manager_t::listeners_groups, libvlc_event_manager_t::object_lock, vlc_array_append(), vlc_array_init(), vlc_mutex_lock(), vlc_mutex_unlock(), and xmalloc().
Referenced by __register_event(), libvlc_media_discoverer_new_from_name(), libvlc_media_list_new(), libvlc_media_list_player_new(), libvlc_media_new_from_input_item(), and libvlc_vlm_init().
| void libvlc_event_manager_release | ( | libvlc_event_manager_t * | p_em | ) |
References libvlc_event_manager_t::event_sending_lock, libvlc_event_async_fini(), libvlc_release(), libvlc_event_listeners_group_t::listeners, libvlc_event_manager_t::listeners_groups, libvlc_event_manager_t::object_lock, libvlc_event_manager_t::p_libvlc_instance, vlc_array_clear(), vlc_array_count(), vlc_array_item_at_index(), and vlc_mutex_destroy().
Referenced by libvlc_media_discoverer_new_from_name(), libvlc_media_discoverer_release(), libvlc_media_library_release(), libvlc_media_list_player_release(), libvlc_media_list_release(), libvlc_media_player_destroy(), libvlc_media_release(), and libvlc_vlm_release_internal().
| void libvlc_event_send | ( | libvlc_event_manager_t * | p_em, | |
| libvlc_event_t * | p_event | |||
| ) |
References libvlc_event_listeners_group_t::b_sublistener_removed, libvlc_event_manager_t::event_sending_lock, libvlc_event_listeners_group_t::event_type, group_contains_listener(), libvlc_event_listener_t::is_asynchronous, libvlc_event_async_dispatch(), libvlc_event_listeners_group_t::listeners, libvlc_event_manager_t::listeners_groups, libvlc_event_manager_t::object_lock, libvlc_event_manager_t::p_obj, libvlc_event_t::p_obj, libvlc_event_listener_t::p_user_data, libvlc_event_listener_t::pf_callback, libvlc_event_t::type, vlc_array_count(), vlc_array_item_at_index(), vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by input_event_changed(), input_item_duration_changed(), input_item_meta_changed(), input_item_preparsed_changed(), input_item_subitem_added(), input_pausable_changed(), input_seekable_changed(), libvlc_media_list_player_play_item_at_index(), libvlc_media_player_set_media(), libvlc_media_player_set_title(), libvlc_media_player_stop(), libvlc_media_release(), libvlc_media_set_state(), notify_item_addition(), notify_item_deletion(), services_discovery_ended(), services_discovery_started(), set_relative_playlist_position_and_play(), snapshot_was_taken(), and VlmEvent().
| const char* libvlc_event_type_name | ( | int | event_type | ) |
References evcmp(), event_name_t::name, and unknown_event_name.
Referenced by event_attach().
const event_name_t event_list[] [static] |
const char unknown_event_name[] = "Unknown Event" [static] |
Referenced by libvlc_event_type_name().
1.7.1