QVisu
Qt-based visualization for smart homes
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
vlc_events.h File Reference
#include <vlc_arrays.h>
#include <vlc_meta.h>

Go to the source code of this file.

Classes

struct  vlc_event_manager_t
 
struct  vlc_event_t
 
union  vlc_event_t::vlc_event_type_specific
 
struct  vlc_event_t::vlc_event_type_specific::vlc_input_state_changed
 
struct  vlc_event_t::vlc_event_type_specific::vlc_input_selected_stream_changed
 
struct  vlc_event_t::vlc_event_type_specific::vlc_input_item_meta_changed
 
struct  vlc_event_t::vlc_event_type_specific::vlc_input_item_subitem_added
 
struct  vlc_event_t::vlc_event_type_specific::vlc_input_item_subitem_tree_added
 
struct  vlc_event_t::vlc_event_type_specific::vlc_input_item_duration_changed
 
struct  vlc_event_t::vlc_event_type_specific::vlc_input_item_preparsed_changed
 
struct  vlc_event_t::vlc_event_type_specific::vlc_input_item_name_changed
 
struct  vlc_event_t::vlc_event_type_specific::vlc_input_item_info_changed
 
struct  vlc_event_t::vlc_event_type_specific::input_item_error_when_reading_changed
 
struct  vlc_event_t::vlc_event_type_specific::vlc_services_discovery_item_added
 
struct  vlc_event_t::vlc_event_type_specific::vlc_services_discovery_item_removed
 
struct  vlc_event_t::vlc_event_type_specific::vlc_services_discovery_started
 
struct  vlc_event_t::vlc_event_type_specific::vlc_services_discovery_ended
 

Typedefs

typedef struct vlc_event_manager_t vlc_event_manager_t
 
typedef enum vlc_event_type_t vlc_event_type_t
 
typedef struct vlc_event_t vlc_event_t
 
typedef void(* vlc_event_callback_t )(const vlc_event_t *, void *)
 

Enumerations

enum  vlc_event_type_t {
  vlc_InputStateChanged, vlc_InputSelectedStreamChanged, vlc_InputItemMetaChanged, vlc_InputItemSubItemAdded,
  vlc_InputItemSubItemTreeAdded, vlc_InputItemDurationChanged, vlc_InputItemPreparsedChanged, vlc_InputItemNameChanged,
  vlc_InputItemInfoChanged, vlc_InputItemErrorWhenReadingChanged, vlc_ServicesDiscoveryItemAdded, vlc_ServicesDiscoveryItemRemoved,
  vlc_ServicesDiscoveryItemRemoveAll, vlc_ServicesDiscoveryStarted, vlc_ServicesDiscoveryEnded
}
 

Functions

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)
 
VLC_API int vlc_event_manager_register_event_type (vlc_event_manager_t *p_em, vlc_event_type_t)
 
VLC_API void vlc_event_send (vlc_event_manager_t *p_em, vlc_event_t *)
 
VLC_API 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)
 
VLC_API 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)
 

Detailed Description

This file is the interface definition for events (implementation in src/misc/events.c)