]> git.sesse.net Git - vlc/blob - plugins/qte/qte.c
Adding Qt Embedded video output module from original author Gerald Hansink (gerald...
[vlc] / plugins / qte / qte.c
1 /*****************************************************************************
2  * qte.c : Qt Embedded video output
3  *****************************************************************************
4  * Copyright (C) 2002 VideoLAN
5  * $Id: qte.c,v 1.1.2.1 2002/09/30 20:32:46 jpsaman Exp $
6  *
7  * Authors: Gerald Hansink <gerald.hansink@ordina.nl>
8  *          Jean-Paul Saman <jpsaman@wxs.nl>
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
23  *****************************************************************************/
24
25 /*****************************************************************************
26  * Preamble
27  *****************************************************************************/
28 #include <errno.h>                                                 /* ENOMEM */
29 #include <stdlib.h>                                                /* free() */
30 #include <string.h>                                                /* strerror() */
31
32 #include <videolan/vlc.h>
33
34 void _M( vout_getfunctions )( function_list_t * p_function_list );
35
36 MODULE_CONFIG_START
37 ADD_CATEGORY_HINT( N_("Miscellaneous"), NULL )
38 ADD_STRING  ( "qte-display", NULL, NULL, NULL, NULL )
39 ADD_BOOL    ( "qte-altfullscreen", NULL, NULL, NULL, NULL )
40 MODULE_CONFIG_STOP
41
42 MODULE_INIT_START
43     SET_DESCRIPTION( _("Qt Embedded video output module") )
44     ADD_CAPABILITY( VOUT, 150 )
45     ADD_SHORTCUT( "qtevlc" )
46 MODULE_INIT_STOP
47
48 MODULE_ACTIVATE_START
49     _M( vout_getfunctions )( &p_module->p_functions->vout );
50 MODULE_ACTIVATE_STOP
51
52 MODULE_DEACTIVATE_START
53 MODULE_DEACTIVATE_STOP
54