Commit a0822174 authored by Stéphane Borel's avatar Stéphane Borel

Interface creation and destruction functions are now exported to plugins

so that any plugin can spawn a new interface.
parent 960df9a9
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* interface, such as message output. * interface, such as message output.
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN * Copyright (C) 1999, 2000 VideoLAN
* $Id: interface.h,v 1.30 2002/06/01 18:04:48 sam Exp $ * $Id: interface.h,v 1.31 2002/07/17 21:54:37 stef Exp $
* *
* Authors: Vincent Seguin <seguin@via.ecp.fr> * Authors: Vincent Seguin <seguin@via.ecp.fr>
* *
...@@ -50,14 +50,15 @@ struct intf_thread_s ...@@ -50,14 +50,15 @@ struct intf_thread_s
vlc_mutex_t change_lock; vlc_mutex_t change_lock;
vlc_bool_t b_menu_change; vlc_bool_t b_menu_change;
vlc_bool_t b_menu; vlc_bool_t b_menu;
}; };
/***************************************************************************** /*****************************************************************************
* Prototypes * Prototypes
*****************************************************************************/ *****************************************************************************/
#define intf_Create(a) __intf_Create(CAST_TO_VLC_OBJECT(a)) #define intf_Create(a) __intf_Create(CAST_TO_VLC_OBJECT(a))
intf_thread_t * __intf_Create ( vlc_object_t * ); VLC_EXPORT( intf_thread_t *, __intf_Create, ( vlc_object_t * ) );
vlc_error_t intf_RunThread ( intf_thread_t * ); VLC_EXPORT( vlc_error_t, intf_RunThread, ( intf_thread_t * ) );
void intf_StopThread ( intf_thread_t * ); VLC_EXPORT( void, intf_StopThread, ( intf_thread_t * ) );
void intf_Destroy ( intf_thread_t * ); VLC_EXPORT( void, intf_Destroy, ( intf_thread_t * ) );
This diff is collapsed.
...@@ -255,6 +255,10 @@ static inline const char * module_error( char *psz_buffer ) ...@@ -255,6 +255,10 @@ static inline const char * module_error( char *psz_buffer )
(p_symbols)->input_FDRead_inner = input_FDRead; \ (p_symbols)->input_FDRead_inner = input_FDRead; \
(p_symbols)->input_FDNetworkRead_inner = input_FDNetworkRead; \ (p_symbols)->input_FDNetworkRead_inner = input_FDNetworkRead; \
(p_symbols)->input_FDSeek_inner = input_FDSeek; \ (p_symbols)->input_FDSeek_inner = input_FDSeek; \
(p_symbols)->__intf_Create_inner = __intf_Create; \
(p_symbols)->intf_RunThread_inner = intf_RunThread; \
(p_symbols)->intf_StopThread_inner = intf_StopThread; \
(p_symbols)->intf_Destroy_inner = intf_Destroy; \
(p_symbols)->__intf_Eject_inner = __intf_Eject; \ (p_symbols)->__intf_Eject_inner = __intf_Eject; \
(p_symbols)->GetLang_1_inner = GetLang_1; \ (p_symbols)->GetLang_1_inner = GetLang_1; \
(p_symbols)->GetLang_2T_inner = GetLang_2T; \ (p_symbols)->GetLang_2T_inner = GetLang_2T; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment