/*****************************************************************************
* intf_dummy.c: dummy interface plugin
*****************************************************************************
- * Copyright (C) 2000, 2001 VideoLAN
- * $Id: interface.c,v 1.1 2002/08/04 17:23:43 sam Exp $
+ * Copyright (C) 2000, 2001 the VideoLAN team
+ * $Id$
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
*
* 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.
*****************************************************************************/
/*****************************************************************************
int E_(OpenIntf) ( vlc_object_t *p_this )
{
intf_thread_t *p_intf = (intf_thread_t*) p_this;
+
#ifdef WIN32
- AllocConsole();
- freopen( "CONOUT$", "w", stdout );
- freopen( "CONOUT$", "w", stderr );
- freopen( "CONIN$", "r", stdin );
- msg_Info( p_intf, VERSION_MESSAGE );
- msg_Info( p_intf, _("\nUsing the dummy interface plugin...") );
+ vlc_bool_t b_quiet;
+ b_quiet = config_GetInt( p_intf, "dummy-quiet" );
+ if( !b_quiet )
+ CONSOLE_INTRO_MSG;
#endif
+ msg_Info( p_intf, "Using the dummy interface module..." );
+
p_intf->pf_run = Run;
return VLC_SUCCESS;