]> git.sesse.net Git - vlc/blob - include/os_specific.h
22b5b39a06badb8771c8cef44fcfa5ef84749f5f
[vlc] / include / os_specific.h
1 /*****************************************************************************
2  * os_specific.h: OS specific features
3  *****************************************************************************
4  * Copyright (C) 2001 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Samuel Hocevar <sam@zoy.org>
8  *          Gildas Bazin <gbazin@netcourrier.com>
9  *
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.
14  *
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.
19  *
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., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
23  *****************************************************************************/
24
25 #ifndef _NEED_OS_SPECIFIC_H
26 #   define _NEED_OS_SPECIFIC_H 1
27 #endif
28
29 #if defined( SYS_BEOS )
30 #   include "beos_specific.h"
31 #elif defined( SYS_DARWIN )
32 #   include "darwin_specific.h"
33 #elif defined( WIN32 ) || defined( UNDER_CE )
34 #   include "win32_specific.h"
35 #else
36 #   undef _NEED_OS_SPECIFIC_H
37 #endif
38
39 #   ifdef __cplusplus
40 extern "C" {
41 #   endif
42
43 /*****************************************************************************
44  * Prototypes
45  *****************************************************************************/
46 #ifdef _NEED_OS_SPECIFIC_H
47     void system_Init       ( vlc_t *, int *, char *[] );
48     void system_Configure  ( vlc_t *, int *, char *[] );
49     void system_End        ( vlc_t * );
50 #else
51 #   define system_Init( a, b, c ) {}
52 #   define system_Configure( a, b, c ) {}
53 #   define system_End( a ) {}
54 #endif
55
56 #   ifdef __cplusplus
57 }
58 #   endif