VLC  4.0.0-dev
media_tree.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * media_tree.h
3  *****************************************************************************
4  * Copyright (C) 2018 VLC authors and VideoLAN
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation; either version 2.1 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with this program; if not, write to the Free Software Foundation,
18  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
19  *****************************************************************************/
20 
21 #ifndef MEDIA_TREE_H
22 #define MEDIA_TREE_H
23 
24 #include <vlc_media_source.h>
25 
27 vlc_media_tree_New(void);
28 
29 void
31 
32 void
34 
37  input_item_t *media);
38 
39 bool
41 
42 #endif
bool vlc_media_tree_Remove(vlc_media_tree_t *tree, input_item_t *media)
Definition: media_tree.c:322
vlc_media_tree_t * vlc_media_tree_New(void)
Definition: media_tree.c:54
input_item_node_t * vlc_media_tree_Add(vlc_media_tree_t *tree, input_item_node_t *parent, input_item_t *media)
Definition: media_tree.c:294
void vlc_media_tree_Hold(vlc_media_tree_t *tree)
Definition: media_tree.c:211
void vlc_media_tree_Release(vlc_media_tree_t *tree)
Definition: media_tree.c:218
Definition: vlc_input_item.h:195
Describes an input and is used to spawn input_thread_t objects.
Definition: vlc_input_item.h:78
Media source API aims to manage "services discovery" easily from UI clients.
Definition: vlc_media_source.h:65