X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_devices.h;h=e2b88e04b6c7d23835c706abdc8bcf6e1748c9f8;hb=fd5612f1467c3e69d815e536aa0fd0872c9a9485;hp=4fe59dd9f69f30416e46d78c6020a0d87f5594cc;hpb=3fa2448ecc7a70f69c967dc7dbd0e995dcaf6ffe;p=vlc diff --git a/include/vlc_devices.h b/include/vlc_devices.h index 4fe59dd9f6..e2b88e04b6 100644 --- a/include/vlc_devices.h +++ b/include/vlc_devices.h @@ -21,6 +21,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ +#if !defined( __LIBVLC__ ) + #error You are not libvlc or one of its plugins. You cannot include this file +#endif + #ifndef _VLC_DEVICES_H #define _VLC_DEVICES_H 1 @@ -46,7 +50,18 @@ struct device_t char *psz_name; }; -static inline void device_GetDVD() -{} +struct device_probe_t +{ + VLC_COMMON_MEMBERS; + int i_devices; + device_t **pp_devices; + + probe_sys_t *p_sys; + void ( *pf_run ) ( device_probe_t * ); /** Run function */ +}; + +static inline void device_GetDVD(void) +{ +} #endif