1 /*****************************************************************************
2 * qnx.c : QNX RTOS plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2000, 2001 the VideoLAN team
6 * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
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 /*****************************************************************************
25 *****************************************************************************/
26 #include <stdlib.h> /* malloc(), free() */
31 /*****************************************************************************
33 ******************************************************************************/
34 int E_(OpenAudio) ( vlc_object_t * );
35 void E_(CloseAudio) ( vlc_object_t * );
37 int E_(OpenVideo) ( vlc_object_t * );
38 void E_(CloseVideo) ( vlc_object_t * );
40 /*****************************************************************************
42 *****************************************************************************/
44 set_description( _("QNX RTOS video and audio output") );
45 set_capability( "video output", 100 );
46 set_callbacks( E_(OpenVideo), E_(CloseVideo) );
47 set_category( CAT_INTERFACE );
48 set_subcategory( SUBCAT_INTERFACE_MAIN );
50 set_capability( "audio output", 100 );
51 set_callbacks( E_(OpenAudio), E_(CloseAudio) );