X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fos_specific.h;h=0485c1f3827c71e9e07f34b5aa35ac04f1c97ea9;hb=78ee7a2c9896558377606a59bb0ad636077f280e;hp=30ea2fe19c7240486e35ca68c47c444d24d734c4;hpb=eb1ec4a42c24cdf9a2b916feeac47324b6edcbc5;p=vlc diff --git a/include/os_specific.h b/include/os_specific.h index 30ea2fe19c..0485c1f382 100644 --- a/include/os_specific.h +++ b/include/os_specific.h @@ -2,7 +2,7 @@ * os_specific.h: OS specific features ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: os_specific.h,v 1.3 2002/04/25 21:52:42 sam Exp $ + * $Id: os_specific.h,v 1.12 2003/09/29 18:20:37 gbazin Exp $ * * Authors: Samuel Hocevar * Gildas Bazin @@ -30,7 +30,7 @@ # include "beos_specific.h" #elif defined( SYS_DARWIN ) # include "darwin_specific.h" -#elif defined( WIN32 ) +#elif defined( WIN32 ) || defined( UNDER_CE ) # include "win32_specific.h" #else # undef _NEED_OS_SPECIFIC_H @@ -40,31 +40,19 @@ extern "C" { # endif -/***************************************************************************** - * main_sys_t: system specific descriptor - ****************************************************************************/ -struct main_sys_s; - -#ifndef __PLUGIN__ - extern struct main_sys_s *p_main_sys; -#else -# define p_main_sys (p_symbols->p_main_sys) -#endif - /***************************************************************************** * 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 -