00001 /***************************************************************************** 00002 * os_specific.h: OS specific features 00003 ***************************************************************************** 00004 * Copyright (C) 2001 the VideoLAN team 00005 * $Id: os_specific.h 11664 2005-07-09 06:17:09Z courmisch $ 00006 * 00007 * Authors: Samuel Hocevar <[email protected]> 00008 * Gildas Bazin <[email protected]> 00009 * 00010 * This program is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2 of the License, or 00013 * (at your option) any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with this program; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. 00023 *****************************************************************************/ 00024 00025 #ifndef _NEED_OS_SPECIFIC_H 00026 # define _NEED_OS_SPECIFIC_H 1 00027 #endif 00028 00029 #if defined( SYS_BEOS ) 00030 # include "beos_specific.h" 00031 #elif defined( SYS_DARWIN ) 00032 # include "darwin_specific.h" 00033 #elif defined( WIN32 ) || defined( UNDER_CE ) 00034 # include "win32_specific.h" 00035 #else 00036 # undef _NEED_OS_SPECIFIC_H 00037 #endif 00038 00039 # ifdef __cplusplus 00040 extern "C" { 00041 # endif 00042 00043 /***************************************************************************** 00044 * Prototypes 00045 *****************************************************************************/ 00046 #ifdef _NEED_OS_SPECIFIC_H 00047 void system_Init ( vlc_t *, int *, char *[] ); 00048 void system_Configure ( vlc_t *, int *, char *[] ); 00049 void system_End ( vlc_t * ); 00050 #else 00051 # define system_Init( a, b, c ) {} 00052 # define system_Configure( a, b, c ) {} 00053 # define system_End( a ) {} 00054 #endif 00055 00056 # ifdef __cplusplus 00057 } 00058 # endif