sout:display: convert the "delay" in ms to ticks using VLC_TICK macros
[vlc.git] / modules / control / dummy.c
blobc36967f1b5336fa112a18f4eb7865b41b6dda7a1
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 #define VLC_MODULE_LICENSE VLC_LICENSE_GPL_2_PLUS
33 #include <vlc_common.h>
34 #include <vlc_plugin.h>
35 #include <vlc_interface.h>
37 static int Open( vlc_object_t * );
39 vlc_module_begin ()
40 set_shortname( N_("Dummy") )
41 set_description( N_("Dummy interface") )
42 set_capability( "interface", 0 )
43 set_callbacks( Open, NULL )
44 #if defined(_WIN32) && !VLC_WINSTORE_APP
45 add_obsolete_bool( "dummy-quiet" )
46 #endif
47 vlc_module_end ()
49 /*****************************************************************************
50 * Open: initialize dummy interface
51 *****************************************************************************/
52 static int Open( vlc_object_t *p_this )
54 intf_thread_t *p_intf = (intf_thread_t*) p_this;
56 msg_Info( p_intf, "using the dummy interface module..." );
58 return VLC_SUCCESS;