QVisu
Qt-based visualization for smart homes
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
libvlc_media_discoverer.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * libvlc_media_discoverer.h: libvlc external API
3  *****************************************************************************
4  * Copyright (C) 1998-2009 VLC authors and VideoLAN
5  * $Id: cf263b0536d9b19e725e039f12ef20eaa392fec3 $
6  *
7  * Authors: ClĂ©ment Stenac <zorglub@videolan.org>
8  * Jean-Paul Saman <jpsaman@videolan.org>
9  * Pierre d'Herbemont <pdherbemont@videolan.org>
10  *
11  * This program is free software; you can redistribute it and/or modify it
12  * under the terms of the GNU Lesser General Public License as published by
13  * the Free Software Foundation; either version 2.1 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU Lesser General Public License for more details.
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * along with this program; if not, write to the Free Software Foundation,
23  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
24  *****************************************************************************/
25 
31 #ifndef VLC_LIBVLC_MEDIA_DISCOVERER_H
32 #define VLC_LIBVLC_MEDIA_DISCOVERER_H 1
33 
34 # ifdef __cplusplus
35 extern "C" {
36 # endif
37 
48 typedef struct libvlc_media_discoverer_t libvlc_media_discoverer_t;
49 
57 LIBVLC_API libvlc_media_discoverer_t *
59  const char * psz_name );
60 
67 LIBVLC_API void libvlc_media_discoverer_release( libvlc_media_discoverer_t * p_mdis );
68 
75 LIBVLC_API char * libvlc_media_discoverer_localized_name( libvlc_media_discoverer_t * p_mdis );
76 
83 LIBVLC_API libvlc_media_list_t * libvlc_media_discoverer_media_list( libvlc_media_discoverer_t * p_mdis );
84 
91 LIBVLC_API libvlc_event_manager_t *
92  libvlc_media_discoverer_event_manager( libvlc_media_discoverer_t * p_mdis );
93 
102 LIBVLC_API int
103  libvlc_media_discoverer_is_running( libvlc_media_discoverer_t * p_mdis );
104 
107 # ifdef __cplusplus
108 }
109 # endif
110 
111 #endif /* <vlc/libvlc.h> */
struct libvlc_event_manager_t libvlc_event_manager_t
Definition: libvlc.h:282
LIBVLC_API char * libvlc_media_discoverer_localized_name(libvlc_media_discoverer_t *p_mdis)
LIBVLC_API libvlc_media_list_t * libvlc_media_discoverer_media_list(libvlc_media_discoverer_t *p_mdis)
LIBVLC_API void libvlc_media_discoverer_release(libvlc_media_discoverer_t *p_mdis)
struct libvlc_instance_t libvlc_instance_t
Definition: libvlc_structures.h:44
LIBVLC_API int libvlc_media_discoverer_is_running(libvlc_media_discoverer_t *p_mdis)
LIBVLC_API libvlc_media_discoverer_t * libvlc_media_discoverer_new_from_name(libvlc_instance_t *p_inst, const char *psz_name)
LIBVLC_API libvlc_event_manager_t * libvlc_media_discoverer_event_manager(libvlc_media_discoverer_t *p_mdis)