1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 /* Typedefs and structures that represent the libvlc API / ABI */
12 #ifndef INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_TYPES_HXX
13 #define INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_TYPES_HXX
15 #include <sal/config.h>
18 typedef __int64 libvlc_time_t
;
21 typedef int64_t libvlc_time_t
;
26 // basic callback / event types we use
27 typedef int libvlc_event_type_t
;
28 typedef struct libvlc_event_manager_t libvlc_event_manager_t
;
29 typedef void ( *libvlc_callback_t
) ( const struct libvlc_event_t
*, void * );
31 // the enumeration values we use cf. libvlc_events.h
32 #define libvlc_MediaPlayerPaused 0x105
33 #define libvlc_MediaPlayerEndReached 0x109
35 // event structure pieces we use
38 int type
; // event type
39 void *p_obj
; // object emitting that event
41 union // so far we don't need this.
50 struct libvlc_track_description_t
54 libvlc_track_description_t
*p_next
;
59 #endif // INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_TYPES_HXX
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */