1 /*****************************************************************************
2 * dummy.c : dummy plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2000, 2001 VideoLAN
5 * $Id: dummy.c,v 1.15 2002/02/24 20:51:09 gbazin Exp $
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., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
22 *****************************************************************************/
24 /*****************************************************************************
26 *****************************************************************************/
27 #include <stdlib.h> /* malloc(), free() */
30 #include <videolan/vlc.h>
32 /*****************************************************************************
33 * Capabilities defined in the other files.
34 *****************************************************************************/
35 void _M( input_getfunctions ) ( function_list_t * p_function_list );
36 void _M( aout_getfunctions ) ( function_list_t * p_function_list );
37 void _M( vout_getfunctions ) ( function_list_t * p_function_list );
38 void _M( intf_getfunctions ) ( function_list_t * p_function_list );
40 /*****************************************************************************
41 * Build configuration tree.
42 *****************************************************************************/
48 SET_DESCRIPTION( "dummy functions module" )
49 /* Capability score set to 0 because we don't want to be spawned
50 * unless explicitly requested to */
51 ADD_CAPABILITY( AOUT, 0 )
52 ADD_CAPABILITY( VOUT, 0 )
53 ADD_CAPABILITY( INTF, 0 )
55 ADD_CAPABILITY( INPUT, 100 )
56 ADD_SHORTCUT( "dummy" )
61 _M( input_getfunctions )( &p_module->p_functions->input );
62 _M( aout_getfunctions )( &p_module->p_functions->aout );
63 _M( vout_getfunctions )( &p_module->p_functions->vout );
64 _M( intf_getfunctions )( &p_module->p_functions->intf );
68 MODULE_DEACTIVATE_START
69 MODULE_DEACTIVATE_STOP