VLC
4.0.0-dev
src
media_source
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
26
vlc_media_tree_t
*
27
vlc_media_tree_New
(
void
);
28
29
void
30
vlc_media_tree_Hold
(
vlc_media_tree_t
*tree);
31
32
void
33
vlc_media_tree_Release
(
vlc_media_tree_t
*tree);
34
35
input_item_node_t
*
36
vlc_media_tree_Add
(
vlc_media_tree_t
*tree,
input_item_node_t
*parent,
37
input_item_t
*media);
38
39
bool
40
vlc_media_tree_Remove
(
vlc_media_tree_t
*tree,
input_item_t
*media);
41
42
#endif
vlc_media_tree
Media source API aims to manage "services discovery" easily from UI clients.
Definition:
vlc_media_source.h:65
vlc_media_tree_Release
void vlc_media_tree_Release(vlc_media_tree_t *tree)
Definition:
media_tree.c:218
vlc_media_tree_New
vlc_media_tree_t * vlc_media_tree_New(void)
Definition:
media_tree.c:54
input_item_t
Describes an input and is used to spawn input_thread_t objects.
Definition:
vlc_input_item.h:77
input_item_node_t
Definition:
vlc_input_item.h:191
vlc_media_source.h
vlc_media_tree_Add
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
vlc_media_tree_Remove
bool vlc_media_tree_Remove(vlc_media_tree_t *tree, input_item_t *media)
Definition:
media_tree.c:322
vlc_media_tree_Hold
void vlc_media_tree_Hold(vlc_media_tree_t *tree)
Definition:
media_tree.c:211
Generated by
1.8.13