vlc_devices.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * vlc_devices.h : Devices handling
00003  *****************************************************************************
00004  * Copyright (C) 1999-2006 the VideoLAN team
00005  * $Id$
00006  *
00007  * Authors: Clément Stenac <zorglub@videolan.org>
00008  *
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
00022  *****************************************************************************/
00023 
00024 #ifndef VLC_DEVICES_H
00025 #define VLC_DEVICES_H 1
00026 
00027 enum
00028 {
00029     DEVICE_CAN_DVD,
00030     DEVICE_CAN_CD,
00031 };
00032 
00033 enum
00034 {
00035     MEDIA_TYPE_CDDA,
00036     MEDIA_TYPE_VCD,
00037     MEDIA_TYPE_DVD,
00038 };
00039 
00040 struct device_t
00041 {
00042     int             i_capabilities;
00043     int             i_media_type;
00044     bool      b_seen;
00045     char *psz_uri;
00046     char *psz_name;
00047 };
00048 
00049 struct device_probe_t
00050 {
00051     VLC_COMMON_MEMBERS;
00052     int         i_devices;
00053     device_t  **pp_devices;
00054 
00055     probe_sys_t *p_sys;
00056     void      ( *pf_run )    ( device_probe_t * );  /** Run function */
00057 };
00058 
00059 static inline void device_GetDVD(void)
00060 {
00061 }
00062 
00063 #endif

Generated on Wed Aug 13 08:02:37 2008 for VLC by  doxygen 1.5.1