X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fos_specific.h;h=b58b0cf585e199f4cb841bb4d91a115a6fd5fdf5;hb=5b4f7105bd081da00e068a92233e2eb3a9efd968;hp=c697701147b1ca11cf394a632eb6e1ae377096b9;hpb=9d6920b9ea2758c13b94a02edb97dd3d3ec53e04;p=vlc diff --git a/include/os_specific.h b/include/os_specific.h index c697701147..b58b0cf585 100644 --- a/include/os_specific.h +++ b/include/os_specific.h @@ -1,8 +1,8 @@ /***************************************************************************** * os_specific.h: OS specific features ***************************************************************************** - * Copyright (C) 2001 VideoLAN - * $Id: os_specific.h,v 1.4 2002/04/27 22:11:22 gbazin Exp $ + * Copyright (C) 2001 the VideoLAN team + * $Id$ * * Authors: Samuel Hocevar * Gildas Bazin @@ -11,7 +11,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -19,7 +19,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ #ifndef _NEED_OS_SPECIFIC_H @@ -28,9 +28,9 @@ #if defined( SYS_BEOS ) # include "beos_specific.h" -#elif defined( SYS_DARWIN ) +#elif defined( __APPLE__ ) # include "darwin_specific.h" -#elif defined( WIN32 ) +#elif defined( WIN32 ) || defined( UNDER_CE ) # include "win32_specific.h" #else # undef _NEED_OS_SPECIFIC_H @@ -40,25 +40,19 @@ extern "C" { # endif -/***************************************************************************** - * main_sys_t: system specific descriptor - ****************************************************************************/ -struct main_sys_s; - /***************************************************************************** * Prototypes *****************************************************************************/ #ifdef _NEED_OS_SPECIFIC_H - void system_Init ( int *pi_argc, char *ppsz_argv[], char *ppsz_env[] ); - void system_Configure ( void ); - void system_End ( void ); + void system_Init ( vlc_t *, int *, char *[] ); + void system_Configure ( vlc_t *, int *, char *[] ); + void system_End ( vlc_t * ); #else -# define system_Init(...) {} -# define system_Configure(...) {} -# define system_End(...) {} +# define system_Init( a, b, c ) {} +# define system_Configure( a, b, c ) {} +# define system_End( a ) {} #endif # ifdef __cplusplus } # endif -