]> git.sesse.net Git - vlc/blob - include/vlc_devices.h
QT4 wineventfilter for Win32, allows WM_APPCOMMAND stuff
[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 /**
28  * \file
29  * This file implements functions, structures for probing devices (DVD, CD, VCD)
30  */
31
32 enum
33 {
34     DEVICE_CAN_DVD,
35     DEVICE_CAN_CD,
36 };
37
38 enum
39 {
40     MEDIA_TYPE_CDDA,
41     MEDIA_TYPE_VCD,
42     MEDIA_TYPE_DVD,
43 };
44
45 struct device_t
46 {
47     int             i_capabilities;
48     int             i_media_type;
49     bool      b_seen;
50     char *psz_uri;
51     char *psz_name;
52 };
53
54 struct device_probe_t
55 {
56     VLC_COMMON_MEMBERS;
57     int         i_devices;
58     device_t  **pp_devices;
59
60     probe_sys_t *p_sys;
61     void      ( *pf_run )    ( device_probe_t * );  /** Run function */
62 };
63
64 static inline void device_GetDVD(void)
65 {
66 }
67
68 #endif