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