Commit 2e4a5078 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

events: remove vlc_event_manager_register_event_type()

This had become a no-op.
parent 48ad0bf9
......@@ -70,8 +70,6 @@
* {
* ...
* vlc_event_manager_init( &p_self->p_event_manager, p_self, p_a_libvlc_object );
* vlc_event_manager_register_event_type(p_self->p_event_manager,
* vlc_MyCoolObjectDidSomething, p_e)
* ...
* }
*
......@@ -195,12 +193,6 @@ VLC_API int vlc_event_manager_init( vlc_event_manager_t * p_em, void * p_obj );
*/
VLC_API void vlc_event_manager_fini( vlc_event_manager_t * p_em );
/*
* Tells a specific event manager that it will handle event_type object
*/
VLC_API int vlc_event_manager_register_event_type( vlc_event_manager_t * p_em,
vlc_event_type_t );
/*
* Send an event to the listener attached to this p_em.
*/
......
......@@ -1099,15 +1099,6 @@ input_item_NewExt( const char *psz_uri, const char *psz_name,
TAB_INIT( p_input->i_slaves, p_input->pp_slaves );
vlc_event_manager_init( p_em, p_input );
vlc_event_manager_register_event_type( p_em, vlc_InputItemMetaChanged );
vlc_event_manager_register_event_type( p_em, vlc_InputItemSubItemAdded );
vlc_event_manager_register_event_type( p_em, vlc_InputItemSubItemTreeAdded );
vlc_event_manager_register_event_type( p_em, vlc_InputItemDurationChanged );
vlc_event_manager_register_event_type( p_em, vlc_InputItemPreparsedChanged );
vlc_event_manager_register_event_type( p_em, vlc_InputItemNameChanged );
vlc_event_manager_register_event_type( p_em, vlc_InputItemInfoChanged );
vlc_event_manager_register_event_type( p_em, vlc_InputItemErrorWhenReadingChanged );
vlc_event_manager_register_event_type( p_em, vlc_InputItemPreparseEnded );
if( type != ITEM_TYPE_UNKNOWN )
p_input->i_type = type;
......
......@@ -569,7 +569,6 @@ vlc_event_attach
vlc_event_detach
vlc_event_manager_fini
vlc_event_manager_init
vlc_event_manager_register_event_type
vlc_event_send
vlc_fourcc_GetCodec
vlc_fourcc_GetCodecAudio
......
......@@ -123,17 +123,6 @@ void vlc_event_manager_fini( vlc_event_manager_t * p_em )
}
}
/**
* Register the event manager
*/
int vlc_event_manager_register_event_type(
vlc_event_manager_t * p_em,
vlc_event_type_t event_type )
{
(void) p_em; (void) event_type;
return VLC_SUCCESS;
}
/**
* Send an event to the listener attached to this p_em.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment