input: add input_SetProgramId
[vlc.git] / modules / control / dummy.c
blob4e95c49fe09b627e8c945527a8514902a947b04c
1 /*****************************************************************************
2 * intf_dummy.c: dummy interface plugin
3 *****************************************************************************
4 * Copyright (C) 2000, 2001 the VideoLAN team
6 * Authors: Samuel Hocevar <sam@zoy.org>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
21 *****************************************************************************/
23 /*****************************************************************************
24 * Preamble
25 *****************************************************************************/
27 #ifdef HAVE_CONFIG_H
28 # include "config.h"
29 #endif
31 #define VLC_MODULE_LICENSE VLC_LICENSE_GPL_2_PLUS
32 #include <vlc_common.h>
33 #include <vlc_plugin.h>
34 #include <vlc_interface.h>
36 static int Open( vlc_object_t * );
38 vlc_module_begin ()
39 set_shortname( N_("Dummy") )
40 set_description( N_("Dummy interface") )
41 set_capability( "interface", 0 )
42 set_callback( Open )
43 #if defined(_WIN32) && !VLC_WINSTORE_APP
44 add_obsolete_bool( "dummy-quiet" )
45 #endif
46 vlc_module_end ()
48 /*****************************************************************************
49 * Open: initialize dummy interface
50 *****************************************************************************/
51 static int Open( vlc_object_t *p_this )
53 intf_thread_t *p_intf = (intf_thread_t*) p_this;
55 msg_Info( p_intf, "using the dummy interface module..." );
57 return VLC_SUCCESS;