]> git.sesse.net Git - vlc/blob - modules/misc/dummy/interface.c
Removes trailing spaces. Removes tabs.
[vlc] / modules / misc / dummy / interface.c
1 /*****************************************************************************
2  * intf_dummy.c: dummy interface plugin
3  *****************************************************************************
4  * Copyright (C) 2000, 2001 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Samuel Hocevar <sam@zoy.org>
8  *
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.
13  *
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.
18  *
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  *****************************************************************************/
23
24 /*****************************************************************************
25  * Preamble
26  *****************************************************************************/
27
28 #include <vlc/vlc.h>
29 #include <vlc_interface.h>
30
31 #include "dummy.h"
32
33 /*****************************************************************************
34  * Open: initialize dummy interface
35  *****************************************************************************/
36 int  E_(OpenIntf) ( vlc_object_t *p_this )
37 {
38     intf_thread_t *p_intf = (intf_thread_t*) p_this;
39
40 #ifdef WIN32
41     vlc_bool_t b_quiet;
42     b_quiet = config_GetInt( p_intf, "dummy-quiet" );
43     if( !b_quiet )
44         CONSOLE_INTRO_MSG;
45 #endif
46
47     msg_Info( p_intf, "using the dummy interface module..." );
48
49     p_intf->pf_run = NULL;
50
51     return VLC_SUCCESS;
52 }