]> git.sesse.net Git - vlc/commitdiff
* ./include/os_specific.h: changed prototype of system_*() to use vlc_t
authorGildas Bazin <gbazin@videolan.org>
Sun, 2 Jun 2002 14:26:16 +0000 (14:26 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sun, 2 Jun 2002 14:26:16 +0000 (14:26 +0000)
instead of vlc_object_t.

include/os_specific.h
src/misc/beos_specific.cpp
src/misc/darwin_specific.c
src/misc/win32_specific.c

index 8e0b61491cd55d66a95d81b592bb0177ed1c977a..ae0a4288577ded9d07a5dae471b99e39a4f49068 100644 (file)
@@ -2,7 +2,7 @@
  * os_specific.h: OS specific features
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: os_specific.h,v 1.8 2002/06/01 12:31:57 sam Exp $
+ * $Id: os_specific.h,v 1.9 2002/06/02 14:26:15 gbazin Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *          Gildas Bazin <gbazin@netcourrier.com>
@@ -44,9 +44,9 @@ extern "C" {
  * Prototypes
  *****************************************************************************/
 #ifdef _NEED_OS_SPECIFIC_H
-    void system_Init       ( vlc_object_t *, int *, char *[] );
-    void system_Configure  ( vlc_object_t * );
-    void system_End        ( vlc_object_t * );
+    void system_Init       ( vlc_t *, int *, char *[] );
+    void system_Configure  ( vlc_t * );
+    void system_End        ( vlc_t * );
 #else
 #   define system_Init( a, b, c ) {}
 #   define system_Configure( a ) {}
@@ -56,4 +56,3 @@ extern "C" {
 #   ifdef __cplusplus
 }
 #   endif
-
index 09ecf599bed5b4fc667ff680c8a0930700eaad9f..e98dd891be09ced5f54a107f28d6caf7e0bb3499 100644 (file)
@@ -2,7 +2,7 @@
  * beos_init.cpp: Initialization for BeOS specific features 
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: beos_specific.cpp,v 1.22 2002/06/02 09:03:54 sam Exp $
+ * $Id: beos_specific.cpp,v 1.23 2002/06/02 14:26:15 gbazin Exp $
  *
  * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
  *
@@ -64,7 +64,7 @@ static void AppThread( vlc_object_t *p_appthread );
 /*****************************************************************************
  * system_Init: create a BApplication object and fill in program path.
  *****************************************************************************/
-void system_Init( vlc_object_t *p_this, int *pi_argc, char *ppsz_argv[] )
+void system_Init( vlc_t *p_this, int *pi_argc, char *ppsz_argv[] )
 {
     p_this->p_vlc->p_appthread =
             (vlc_object_t *)vlc_object_create( p_this, sizeof(vlc_object_t) );
@@ -76,7 +76,7 @@ void system_Init( vlc_object_t *p_this, int *pi_argc, char *ppsz_argv[] )
 /*****************************************************************************
  * system_Configure: check for system specific configuration options.
  *****************************************************************************/
-void system_Configure( vlc_object_t * )
+void system_Configure( vlc_t * )
 {
 
 }
@@ -84,7 +84,7 @@ void system_Configure( vlc_object_t * )
 /*****************************************************************************
  * system_End: destroy the BApplication object.
  *****************************************************************************/
-void system_End( vlc_object_t *p_this )
+void system_End( vlc_t *p_this )
 {
     /* Tell the BApplication to die */
     be_app->PostMessage( B_QUIT_REQUESTED );
@@ -167,4 +167,3 @@ void VlcApplication::ReadyToRun( )
     /* Tell the main thread we are finished initializing the BApplication */
     vlc_thread_ready( p_this );
 }
-
index 5dbcd76405c610e7dc77d907822108fc2545a4ce..927cda67a7f7d9d7c1a08925c6cc7e1e620b25c9 100644 (file)
@@ -2,7 +2,7 @@
  * darwin_specific.c: Darwin specific features 
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: darwin_specific.c,v 1.11 2002/06/02 01:20:52 massiot Exp $
+ * $Id: darwin_specific.c,v 1.12 2002/06/02 14:26:16 gbazin Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -33,7 +33,7 @@ static char * psz_program_path;
 /*****************************************************************************
  * system_Init: fill in program path.
  *****************************************************************************/
-void system_Init( vlc_object_t *p_this, int *pi_argc, char *ppsz_argv[] )
+void system_Init( vlc_t *p_this, int *pi_argc, char *ppsz_argv[] )
 {
     char i_dummy;
     char *p_char, *p_oldchar = &i_dummy;
@@ -68,7 +68,7 @@ void system_Init( vlc_object_t *p_this, int *pi_argc, char *ppsz_argv[] )
 /*****************************************************************************
  * system_Configure: check for system specific configuration options.
  *****************************************************************************/
-void system_Configure( vlc_object_t *p_this )
+void system_Configure( vlc_t *p_this )
 {
 
 }
index 38a536d9919aa5a06025880a3f494f88b6a2ddb2..fe5c795d0ee2555421063f326ed80abc08f0fdb2 100644 (file)
@@ -2,7 +2,7 @@
  * win32_specific.c: Win32 specific features 
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: win32_specific.c,v 1.10 2002/06/01 16:45:35 sam Exp $
+ * $Id: win32_specific.c,v 1.11 2002/06/02 14:26:16 gbazin Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *          Gildas Bazin <gbazin@netcourrier.com>
@@ -33,7 +33,7 @@
 /*****************************************************************************
  * system_Init: initialize winsock and misc other things.
  *****************************************************************************/
-void system_Init( vlc_object_t *p_this, int *pi_argc, char *ppsz_argv[] )
+void system_Init( vlc_t *p_this, int *pi_argc, char *ppsz_argv[] )
 {
     WSADATA Data;
     int i_err;
@@ -58,7 +58,7 @@ void system_Init( vlc_object_t *p_this, int *pi_argc, char *ppsz_argv[] )
 /*****************************************************************************
  * system_Configure: check for system specific configuration options.
  *****************************************************************************/
-void system_Configure( vlc_object_t *p_this )
+void system_Configure( vlc_t *p_this )
 {
     p_this->p_vlc->b_fast_pthread = config_GetInt( p_this, "fast_pthread" );
 }
@@ -66,7 +66,7 @@ void system_Configure( vlc_object_t *p_this )
 /*****************************************************************************
  * system_End: terminate winsock.
  *****************************************************************************/
-void system_End( vlc_object_t *p_this )
+void system_End( vlc_t *p_this )
 {
     WSACleanup();
 }