]> git.sesse.net Git - vlc/blob - plugins/qnx/qnx.c
faabc79be549336299fd7049bd34e650f965a423
[vlc] / plugins / qnx / qnx.c
1 /*****************************************************************************
2  * qnx.c : QNX RTOS plugin for vlc
3  *****************************************************************************
4  * Copyright (C) 2000, 2001 VideoLAN
5  *
6  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
7  *      
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.
12  * 
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.
17  *
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., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
21  *****************************************************************************/
22
23 /*****************************************************************************
24  * Preamble
25  *****************************************************************************/
26 #include <stdlib.h>                                      /* malloc(), free() */
27 #include <string.h>
28
29 #include <videolan/vlc.h>
30
31 #include "video.h"
32 #include "video_output.h"
33
34 /*****************************************************************************
35  * Capabilities defined in the other files.
36  ******************************************************************************/
37 void _M( aout_getfunctions )( function_list_t * p_function_list );
38 void _M( vout_getfunctions )( function_list_t * p_function_list );
39
40 /*****************************************************************************
41  * Building configuration tree
42  *****************************************************************************/
43 MODULE_CONFIG_START
44 MODULE_CONFIG_STOP
45
46 MODULE_INIT_START
47     SET_DESCRIPTION( _("QNX RTOS module") )
48     ADD_CAPABILITY( VOUT, 100 )
49     ADD_CAPABILITY( AOUT, 50 )
50     ADD_SHORTCUT( "qnx" )
51 MODULE_INIT_STOP
52
53 MODULE_ACTIVATE_START
54     _M( aout_getfunctions )( &p_module->p_functions->aout );
55     _M( vout_getfunctions )( &p_module->p_functions->vout );
56 MODULE_ACTIVATE_STOP
57
58 MODULE_DEACTIVATE_START
59 MODULE_DEACTIVATE_STOP