1 /*****************************************************************************
2 * os_specific.h: OS specific features
3 *****************************************************************************
4 * Copyright (C) 2001 VideoLAN
5 * $Id: os_specific.h,v 1.3 2002/04/25 21:52:42 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 ****************************************************************************/
49 extern struct main_sys_s *p_main_sys;
51 # define p_main_sys (p_symbols->p_main_sys)
54 /*****************************************************************************
56 *****************************************************************************/
57 #ifdef _NEED_OS_SPECIFIC_H
58 void system_Init ( int *pi_argc, char *ppsz_argv[], char *ppsz_env[] );
59 void system_Configure ( void );
60 void system_End ( void );
62 # define system_Init(...) {}
63 # define system_Configure(...) {}
64 # define system_End(...) {}