Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

qnx.c

00001 /*****************************************************************************
00002  * qnx.c : QNX RTOS plugin for vlc
00003  *****************************************************************************
00004  * Copyright (C) 2000, 2001 the VideoLAN team
00005  *
00006  * Authors: Jon Lech Johansen <[email protected]>
00007  *      
00008  * This program is free software; you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation; either version 2 of the License, or
00011  * (at your option) any later version.
00012  * 
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
00021  *****************************************************************************/
00022 
00023 /*****************************************************************************
00024  * Preamble
00025  *****************************************************************************/
00026 #include <stdlib.h>                                      /* malloc(), free() */
00027 #include <string.h>
00028 
00029 #include <vlc/vlc.h>
00030 
00031 /*****************************************************************************
00032  * External prototypes
00033  ******************************************************************************/
00034 int  E_(OpenAudio)    ( vlc_object_t * );
00035 void E_(CloseAudio)   ( vlc_object_t * );
00036 
00037 int  E_(OpenVideo)    ( vlc_object_t * );
00038 void E_(CloseVideo)   ( vlc_object_t * );
00039 
00040 /*****************************************************************************
00041  * Module descriptor
00042  *****************************************************************************/
00043 vlc_module_begin();
00044     set_description( _("QNX RTOS video and audio output") );
00045     set_capability( "video output", 100 );
00046     set_callbacks( E_(OpenVideo), E_(CloseVideo) );
00047     set_category( CAT_INTERFACE );
00048     set_subcategory( SUBCAT_INTERFACE_GENERAL );
00049     add_submodule();
00050         set_capability( "audio output", 100 );
00051         set_callbacks( E_(OpenAudio), E_(CloseAudio) );
00052 vlc_module_end();
00053 

Generated on Tue Dec 20 10:14:41 2005 for vlc-0.8.4a by  doxygen 1.4.2