1 /*****************************************************************************
2 * os_specific.h: OS specific features
3 *****************************************************************************
4 * Copyright (C) 2001 VideoLAN
5 * $Id: os_specific.h,v 1.7 2002/04/28 09:05:37 sam Exp $
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., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
23 *****************************************************************************/
25 #ifndef _NEED_OS_SPECIFIC_H
26 # define _NEED_OS_SPECIFIC_H 1
29 #if defined( SYS_BEOS )
30 # include "beos_specific.h"
31 #elif defined( SYS_DARWIN )
32 # include "darwin_specific.h"
33 #elif defined( WIN32 )
34 # include "win32_specific.h"
36 # undef _NEED_OS_SPECIFIC_H
43 /*****************************************************************************
44 * main_sys_t: system specific descriptor
45 ****************************************************************************/
48 /*****************************************************************************
50 *****************************************************************************/
51 #ifdef _NEED_OS_SPECIFIC_H
52 void system_Init ( int *pi_argc, char *ppsz_argv[], char *ppsz_env[] );
53 void system_Configure ( void );
54 void system_End ( void );
56 # define system_Init( a, b, c ) {}
57 # define system_Configure( ) {}
58 # define system_End( ) {}