]> git.sesse.net Git - vlc/blob - include/vlc_devices.h
Fix the activation or not of advanced buttons in fullscreen controller
[vlc] / include / vlc_devices.h
1 /*****************************************************************************
2  * vlc_devices.h : Devices handling
3  *****************************************************************************
4  * Copyright (C) 1999-2006 the VideoLAN team
5  * $Id$
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
24 #ifndef _VLC_DEVICES_H
25 #define _VLC_DEVICES_H 1
26
27 enum
28 {
29     DEVICE_CAN_DVD,
30     DEVICE_CAN_CD,
31 };
32
33 enum
34 {
35     MEDIA_TYPE_CDDA,
36     MEDIA_TYPE_VCD,
37     MEDIA_TYPE_DVD,
38 };
39
40 struct device_t
41 {
42     int             i_capabilities;
43     int             i_media_type;
44     bool      b_seen;
45     char *psz_uri;
46     char *psz_name;
47 };
48
49 struct device_probe_t
50 {
51     VLC_COMMON_MEMBERS;
52     int         i_devices;
53     device_t  **pp_devices;
54
55     probe_sys_t *p_sys;
56     void      ( *pf_run )    ( device_probe_t * );  /** Run function */
57 };
58
59 static inline void device_GetDVD(void)
60 {
61 }
62
63 #endif