1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 /* Typedefs and structures that represent the libvlc API / ABI */
5 #ifndef _WRAPPER_TYPES_HXX
6 #define _WRAPPER_TYPES_HXX
9 typedef __int64 libvlc_time_t
;
11 typedef int64_t libvlc_time_t
;
16 // basic callback / event types we use
17 typedef int libvlc_event_type_t
;
18 typedef struct libvlc_event_manager_t libvlc_event_manager_t
;
19 typedef void ( *libvlc_callback_t
) ( const struct libvlc_event_t
*, void * );
21 // the enumeration values we use cf. libvlc_events.h
22 #define libvlc_MediaPlayerPaused 0x105
23 #define libvlc_MediaPlayerEndReached 0x109
25 // event structure pieces we use
28 int type
; // event type
29 void *p_obj
; // object emitting that event
31 union // so far we don't need this.
40 struct libvlc_track_description_t
44 libvlc_track_description_t
*p_next
;
49 #endif // _WRAPPER_TYPES_HXX
51 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */