1 /*****************************************************************************
2 * beos.cpp : BeOS plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2000, 2001 the VideoLAN team
7 * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
8 * Samuel Hocevar <sam@zoy.org>
9 * Stephan Aßmus <stippi@yellowbites.com>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
24 *****************************************************************************/
26 /*****************************************************************************
28 *****************************************************************************/
34 #include <vlc_common.h>
35 #include <vlc_plugin.h>
37 /*****************************************************************************
39 *****************************************************************************/
40 int OpenIntf ( vlc_object_t * );
41 void CloseIntf ( vlc_object_t * );
43 int OpenAudio ( vlc_object_t * );
44 void CloseAudio ( vlc_object_t * );
46 int OpenVideo ( vlc_object_t * );
47 void CloseVideo ( vlc_object_t * );
49 /*****************************************************************************
51 *****************************************************************************/
53 set_category( CAT_INTERFACE );
54 set_subcategory( SUBCAT_INTERFACE_MAIN );
55 add_bool( "beos-dvdmenus", 0, NULL, _("Use DVD Menus"), "", true );
56 set_shortname( "BeOS" );
57 set_description( N_("BeOS standard API interface") );
58 set_capability( "interface", 100 );
59 set_callbacks( OpenIntf, CloseIntf );
62 set_capability( "video output", 100 );
63 set_callbacks( OpenVideo, CloseVideo );
65 set_capability( "audio output", 100 );
66 set_callbacks( OpenAudio, CloseAudio );