lib: media_track: add new members
[vlc.git] / src / test / headers.c
blob56c93afcd884c77723000297d7d10b1f0ce63389
1 /*****************************************************************************
2 * headers.c: Test for public headers usability
3 *****************************************************************************
4 * Copyright (C) 2007 RĂ©mi Denis-Courmont
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
19 *****************************************************************************/
21 /* config.h is NOT installed, headers MUST NOT depend on it.
22 # include <config.h> */
23 /* One thing we don't check is the CPPFLAGS - these MUST be exposed publicly,
24 * e.g. using pkg-config. */
26 #define PACKAGE "vlc"
28 /* Because we are from src/ __LIBVLC__ is defined, but we don't want that,
29 * as we act here as a third-party program just linking to libvlc */
30 #ifdef __LIBVLC__
31 # undef __LIBVLC__
32 #endif
34 #include <vlc/vlc.h>
35 #include <vlc/deprecated.h>
36 #include <vlc/libvlc.h>
37 #include <vlc/libvlc_events.h>
38 #include <vlc/libvlc_media.h>
39 #include <vlc/libvlc_media_discoverer.h>
40 #include <vlc/libvlc_media_list.h>
41 #include <vlc/libvlc_media_list_player.h>
42 #include <vlc/libvlc_media_player.h>
44 #include <stdio.h>
46 int main (void)
48 puts ("Public headers can be used for external compilation.");
49 return 0;