Sending events -
typedef void event_t
typedef void (* event_listener_t )(xine_t *xine, event_t *event, void *data)
int xine_register_event_listener (xine_t *self, event_listener_t listener)
registers an event listener callback.
int xine_remove_event_listener (xine_t *self, event_listener_t listener)
Attempts to remove a registered event listener.
void xine_send_event (xine_t *self, event_t *event, void *data)
sends an event to all listeners.
Event listener callback.
See also: xine_register_event_listener, xine_remove_event_listener
Opaque data type.
See also: event_listener_t, xine_send_event
registers an event listener callback.
Parameters:
Returns: 0 if the listener was registerd, non-zero if it could not.
See also: event_listener_t
Parameters:
Attempts to remove a registered event listener.
Parameters:
Returns: 0 if the listener was removes, non-zero if it wasn't (e.g. not found).
See also: event_listener_t
Parameters:
sends an event to all listeners.
Parameters:
See also: event_t
Parameters:
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |