Configure.ac and NEWS are now 1.1.0
[vlc/solaris.git] / modules / misc / dummy / interface.c
blob11e46889b9ccf877a65990d4a121d70f5c092f8e
1 /*****************************************************************************
2 * intf_dummy.c: dummy interface plugin
3 *****************************************************************************
4 * Copyright (C) 2000, 2001 the VideoLAN team
5 * $Id$
7 * Authors: Samuel Hocevar <sam@zoy.org>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 /*****************************************************************************
25 * Preamble
26 *****************************************************************************/
28 #ifdef HAVE_CONFIG_H
29 # include "config.h"
30 #endif
32 #include <vlc_common.h>
33 #include <vlc_interface.h>
35 #include "dummy.h"
37 /*****************************************************************************
38 * Open: initialize dummy interface
39 *****************************************************************************/
40 int OpenIntf ( vlc_object_t *p_this )
42 intf_thread_t *p_intf = (intf_thread_t*) p_this;
44 #ifdef WIN32
45 bool b_quiet;
46 b_quiet = var_InheritBool( p_intf, "dummy-quiet" );
47 if( !b_quiet )
48 CONSOLE_INTRO_MSG;
49 #endif
51 msg_Info( p_intf, "using the dummy interface module..." );
53 p_intf->pf_run = NULL;
55 return VLC_SUCCESS;