bump product version to 6.3.0.0.beta1
[LibreOffice.git] / avmedia / source / vlc / wrapper / Types.hxx
blobeb5dd3a4f9d4a32199ac1186b68930ce3e023113
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
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>
17 #if defined(_WIN32)
18 typedef __int64 libvlc_time_t;
19 #else
20 #include <stdint.h>
21 typedef int64_t libvlc_time_t;
22 #endif
24 extern "C" {
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
36 struct libvlc_event_t
38 int type; // event type
39 void *p_obj; // object emitting that event
41 union // so far we don't need this.
43 struct {
44 const char *dummy1;
45 const char *dummy2;
46 } padding;
47 } u;
50 struct libvlc_track_description_t
52 int i_id;
53 char *psz_name;
54 libvlc_track_description_t *p_next;
59 #endif // INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_TYPES_HXX
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */