VLC  4.0.0-dev
fetcher.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * fetcher.h
3  *****************************************************************************
4  * Copyright (C) 1999-2008 VLC authors and VideoLAN
5  *
6  * Authors: Samuel Hocevar <sam@zoy.org>
7  * ClĂ©ment Stenac <zorglub@videolan.org>
8  *
9  * This program is free software; you can redistribute it and/or modify it
10  * under the terms of the GNU Lesser General Public License as published by
11  * the Free Software Foundation; either version 2.1 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with this program; if not, write to the Free Software Foundation,
21  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23 
24 #ifndef _INPUT_FETCHER_H
25 #define _INPUT_FETCHER_H 1
26 
27 #include <vlc_input_item.h>
28 
29 /**
30  * Fetcher opaque structure.
31  *
32  * The fetcher object will retrieve the art album data for any given input
33  * item in an asynchronous way.
34  */
36 
37 /**
38  * This function creates the fetcher object and thread.
39  */
41 
42 /**
43  * This function enqueues the provided item to be art fetched.
44  *
45  * The input item is retained until the art fetching is done or until the
46  * fetcher object is destroyed.
47  */
50  const input_fetcher_callbacks_t *, void * );
51 
52 /**
53  * This function destroys the fetcher object and thread.
54  *
55  * All pending input items will be released.
56  */
58 
59 #endif
60 
Describes an input and is used to spawn input_thread_t objects.
Definition: vlc_input_item.h:77
void input_fetcher_Delete(input_fetcher_t *)
This function destroys the fetcher object and thread.
Definition: fetcher.c:477
input_fetcher_t * input_fetcher_New(vlc_object_t *)
This function creates the fetcher object and thread.
Definition: fetcher.c:416
Definition: vlc_input_item.h:486
This file defines functions, structures and enums for input items in vlc.
int input_fetcher_Push(input_fetcher_t *, input_item_t *, input_item_meta_request_option_t, const input_fetcher_callbacks_t *, void *)
This function enqueues the provided item to be art fetched.
Definition: fetcher.c:450
Definition: fetcher.c:42
VLC object common members.
Definition: vlc_objects.h:43
input_item_meta_request_option_t
Definition: vlc_input_item.h:460