Update after filrs added and renamed
[vlc.git] / include / vlc_os_specific.h
blob342b23bd78c7b264dab6e2496cef246d9c06e35f
1 /*****************************************************************************
2 * os_specific.h: OS specific features
3 *****************************************************************************
4 * Copyright (C) 2001 the VideoLAN team
5 * $Id$
7 * Authors: Samuel Hocevar <sam@zoy.org>
8 * Gildas Bazin <gbazin@netcourrier.com>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23 *****************************************************************************/
25 #if !defined( __LIBVLC__ )
26 #error You are not libvlc or one of its plugins. You cannot include this file
27 #endif
29 #ifndef _NEED_OS_SPECIFIC_H
30 # define _NEED_OS_SPECIFIC_H 1
31 #endif
33 #if defined( SYS_BEOS )
34 /* Nothing at the moment, create beos_specific.h when needed */
35 #elif defined( __APPLE__ )
36 /* Nothing at the moment, create darwin_specific.h when needed */
37 #elif defined( WIN32 ) || defined( UNDER_CE )
38 VLC_EXPORT( const char * , system_VLCPath, (void));
39 #else
40 # undef _NEED_OS_SPECIFIC_H
41 #endif
43 # ifdef __cplusplus
44 extern "C" {
45 # endif
47 /*****************************************************************************
48 * Prototypes
49 *****************************************************************************/
50 #ifdef _NEED_OS_SPECIFIC_H
51 void system_Init ( libvlc_int_t *, int *, const char *[] );
52 void system_Configure ( libvlc_int_t *, int *, const char *[] );
53 void system_End ( libvlc_int_t * );
54 #else
55 # define system_Init( a, b, c ) {}
56 # define system_Configure( a, b, c ) {}
57 # define system_End( a ) {}
58 #endif
60 # ifdef __cplusplus
62 # endif