X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Finterface.h;h=f2480169436fa359d8bc442cba1baeed7fa10401;hb=7671dda56b7cfa4cbbb7d5835fc5815fd2fd5175;hp=ac2147b8888249288f62db431e97a39916753c6c;hpb=80b15699ead10f9b1aa4687cd22c1bdcc866eb6d;p=vlc diff --git a/include/interface.h b/include/interface.h index ac2147b888..f248016943 100644 --- a/include/interface.h +++ b/include/interface.h @@ -4,7 +4,7 @@ * interface, such as message output. ***************************************************************************** * Copyright (C) 1999, 2000 VideoLAN - * $Id: interface.h,v 1.35 2002/10/04 12:01:40 gbazin Exp $ + * $Id: interface.h,v 1.40 2003/02/07 00:29:53 sam Exp $ * * Authors: Vincent Seguin * @@ -12,7 +12,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 @@ -39,7 +39,7 @@ struct intf_thread_t /* Specific interfaces */ intf_console_t * p_console; /* console */ intf_sys_t * p_sys; /* system interface */ - + /* Interface module */ module_t * p_module; void ( *pf_run ) ( intf_thread_t * ); @@ -53,22 +53,22 @@ struct intf_thread_t /***************************************************************************** * Prototypes *****************************************************************************/ -#define intf_Create(a) __intf_Create(VLC_OBJECT(a)) -VLC_EXPORT( intf_thread_t *, __intf_Create, ( vlc_object_t * ) ); -VLC_EXPORT( vlc_error_t, intf_RunThread, ( intf_thread_t * ) ); +#define intf_Create(a,b) __intf_Create(VLC_OBJECT(a),b) +VLC_EXPORT( intf_thread_t *, __intf_Create, ( vlc_object_t *, const char * ) ); +VLC_EXPORT( int, intf_RunThread, ( intf_thread_t * ) ); VLC_EXPORT( void, intf_StopThread, ( intf_thread_t * ) ); VLC_EXPORT( void, intf_Destroy, ( intf_thread_t * ) ); /***************************************************************************** * Macros *****************************************************************************/ -#ifdef WIN32 +#if defined( WIN32 ) && !defined( UNDER_CE ) # define CONSOLE_INTRO_MSG \ AllocConsole(); \ freopen( "CONOUT$", "w", stdout ); \ freopen( "CONOUT$", "w", stderr ); \ freopen( "CONIN$", "r", stdin ); \ - msg_Info( p_intf, VERSION_MESSAGE ); \ + msg_Info( p_intf, COPYRIGHT_MESSAGE ); \ msg_Info( p_intf, _("\nWarning: if you can't access the GUI " \ "anymore, open a dos command box, go to the " \ "directory where you installed VLC and run " \