]> git.sesse.net Git - vlc/blob - include/vlc_devices.h
Reenables device probe header
[vlc] / include / vlc_devices.h
1 /*****************************************************************************
2  * vlc_devices.h : Devices handling
3  *****************************************************************************
4  * Copyright (C) 1999-2006 the VideoLAN team
5  * $Id: vlc_input.h 15915 2006-06-15 21:22:35Z zorglub $
6  *
7  * Authors: ClĂ©ment Stenac <zorglub@videolan.org>
8  *
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.
13  *
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.
18  *
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  *****************************************************************************/
23 #ifndef _VLC_DEVICES_H
24 #define _VLC_DEVICES_H 1
25
26 enum
27 {
28     DEVICE_CAN_DVD,
29     DEVICE_CAN_CD,
30 };
31
32 enum
33 {
34     MEDIA_TYPE_CDDA,
35     MEDIA_TYPE_VCD,
36     MEDIA_TYPE_DVD,
37 };
38
39 struct device_t
40 {
41     int             i_capabilities;
42     int             i_media_type;
43     vlc_bool_t      b_seen;
44     char *psz_uri;
45     char *psz_name;
46 };
47
48 struct device_probe_t
49 {
50     VLC_COMMON_MEMBERS;
51     int         i_devices;
52     device_t  **pp_devices;
53
54     probe_sys_t *p_sys;
55     void      ( *pf_run )    ( device_probe_t * );  /** Run function */
56 };
57
58 static inline void device_GetDVD(void)
59 {
60 }
61
62 #endif