Update after filrs added and renamed
[vlc.git] / include / vlc_devices.h
blob9485d54c0ad62dfe3810dfa287dd02560ab88664
1 /*****************************************************************************
2 * vlc_devices.h : Devices handling
3 *****************************************************************************
4 * Copyright (C) 1999-2006 the VideoLAN team
5 * $Id$
7 * Authors: Clément Stenac <zorglub@videolan.org>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 #if !defined( __LIBVLC__ )
25 #error You are not libvlc or one of its plugins. You cannot include this file
26 #endif
28 #ifndef _VLC_DEVICES_H
29 #define _VLC_DEVICES_H 1
31 enum
33 DEVICE_CAN_DVD,
34 DEVICE_CAN_CD,
37 enum
39 MEDIA_TYPE_CDDA,
40 MEDIA_TYPE_VCD,
41 MEDIA_TYPE_DVD,
44 struct device_t
46 int i_capabilities;
47 int i_media_type;
48 vlc_bool_t b_seen;
49 char *psz_uri;
50 char *psz_name;
53 struct device_probe_t
55 VLC_COMMON_MEMBERS;
56 int i_devices;
57 device_t **pp_devices;
59 probe_sys_t *p_sys;
60 void ( *pf_run ) ( device_probe_t * ); /** Run function */
63 static inline void device_GetDVD(void)
67 #endif