root/modules/gui/qnx/qnx.c
| Revision 3561b9b28f58eb7a4183e158a8fd973800d31ceb, 2.2 kB (checked in by Rémi Denis-Courmont <rdenis@simphalempin.com>, 6 months ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | /***************************************************************************** |
| 2 | * qnx.c : QNX RTOS plugin for vlc |
| 3 | ***************************************************************************** |
| 4 | * Copyright (C) 2000, 2001 the VideoLAN team |
| 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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. |
| 21 | *****************************************************************************/ |
| 22 | |
| 23 | /***************************************************************************** |
| 24 | * Preamble |
| 25 | *****************************************************************************/ |
| 26 | |
| 27 | #ifdef HAVE_CONFIG_H |
| 28 | # include "config.h" |
| 29 | #endif |
| 30 | |
| 31 | #include <vlc_common.h> |
| 32 | #include <vlc_plugin.h> |
| 33 | |
| 34 | /***************************************************************************** |
| 35 | * External prototypes |
| 36 | ******************************************************************************/ |
| 37 | int OpenAudio ( vlc_object_t * ); |
| 38 | void CloseAudio ( vlc_object_t * ); |
| 39 | |
| 40 | int OpenVideo ( vlc_object_t * ); |
| 41 | void CloseVideo ( vlc_object_t * ); |
| 42 | |
| 43 | /***************************************************************************** |
| 44 | * Module descriptor |
| 45 | *****************************************************************************/ |
| 46 | vlc_module_begin(); |
| 47 | set_description( N_("QNX RTOS video and audio output") ); |
| 48 | set_capability( "video output", 100 ); |
| 49 | set_callbacks( OpenVideo, CloseVideo ); |
| 50 | set_category( CAT_INTERFACE ); |
| 51 | set_subcategory( SUBCAT_INTERFACE_MAIN ); |
| 52 | add_submodule(); |
| 53 | set_capability( "audio output", 100 ); |
| 54 | set_callbacks( OpenAudio, CloseAudio ); |
| 55 | vlc_module_end(); |
| 56 |
Note: See TracBrowser for help on using the browser.
