|
Audacious
$Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
#include <dirent.h>#include <pthread.h>#include <string.h>#include <sys/stat.h>#include <gtk/gtk.h>#include <libaudcore/audstrings.h>#include <libaudcore/hook.h>#include "drct.h"#include "i18n.h"#include "playlist.h"#include "plugins.h"#include "main.h"#include "misc.h"Go to the source code of this file.
Classes | |
| struct | AddTask |
| struct | AddResult |
Functions | |
| static bool_t | status_cb (void *unused) |
| static void | status_update (const char *filename, int found) |
| static void | status_done_locked (void) |
| static void | index_free_filenames (Index *filenames) |
| static void | index_free_tuples (Index *tuples) |
| static AddTask * | add_task_new (int playlist_id, int at, bool_t play, Index *filenames, Index *tuples, PlaylistFilterFunc filter, void *user) |
| static void | add_task_free (AddTask *task) |
| static AddResult * | add_result_new (int playlist_id, int at, bool_t play) |
| static void | add_result_free (AddResult *result) |
| static void | add_file (char *filename, Tuple *tuple, PluginHandle *decoder, PlaylistFilterFunc filter, void *user, AddResult *result, bool_t validate) |
| static void | add_folder (char *filename, PlaylistFilterFunc filter, void *user, AddResult *result) |
| static void | add_playlist (char *filename, PlaylistFilterFunc filter, void *user, AddResult *result) |
| static void | add_generic (char *filename, Tuple *tuple, PlaylistFilterFunc filter, void *user, AddResult *result) |
| static bool_t | add_finish (void *unused) |
| static void * | add_worker (void *unused) |
| void | adder_init (void) |
| void | adder_cleanup (void) |
| void | playlist_entry_insert (int playlist, int at, const char *filename, Tuple *tuple, bool_t play) |
| void | playlist_entry_insert_batch (int playlist, int at, Index *filenames, Index *tuples, bool_t play) |
| void | playlist_entry_insert_filtered (int playlist, int at, Index *filenames, Index *tuples, PlaylistFilterFunc filter, void *user, bool_t play) |
| bool_t | playlist_add_in_progress (int playlist) |
Variables | |
| static GList * | add_tasks = NULL |
| static GList * | add_results = NULL |
| static int | current_playlist_id = -1 |
| static pthread_mutex_t | mutex = PTHREAD_MUTEX_INITIALIZER |
| static pthread_cond_t | cond = PTHREAD_COND_INITIALIZER |
| static bool_t | add_quit |
| static pthread_t | add_thread |
| static int | add_source = 0 |
| static int | status_source = 0 |
| static char | status_path [512] |
| static int | status_count |
| static GtkWidget * | status_window = NULL |
| static GtkWidget * | status_path_label |
| static GtkWidget * | status_count_label |
|
static |
Definition at line 218 of file adder.c.
Referenced by add_folder(), add_generic(), and add_playlist().
|
static |
Definition at line 385 of file adder.c.
Referenced by add_worker().
|
static |
Definition at line 265 of file adder.c.
Referenced by add_generic().
|
static |
Definition at line 370 of file adder.c.
Referenced by add_worker().
|
static |
Definition at line 338 of file adder.c.
Referenced by add_generic().
|
static |
Definition at line 206 of file adder.c.
Referenced by add_finish(), and adder_cleanup().
Definition at line 194 of file adder.c.
Referenced by add_worker().
|
static |
Definition at line 184 of file adder.c.
Referenced by add_worker(), and adder_cleanup().
|
static |
Definition at line 169 of file adder.c.
Referenced by playlist_entry_insert_filtered().
|
static |
Definition at line 435 of file adder.c.
Referenced by adder_init().
| void adder_cleanup | ( | void | ) |
Definition at line 494 of file adder.c.
Referenced by shut_down().
| void adder_init | ( | void | ) |
Definition at line 486 of file adder.c.
Referenced by init_two().
|
static |
Definition at line 147 of file adder.c.
Referenced by add_result_free(), and add_task_free().
|
static |
Definition at line 156 of file adder.c.
Referenced by add_result_free(), and add_task_free().
Definition at line 548 of file adder.c.
Referenced by check_should_quit().
| void playlist_entry_insert | ( | int | playlist, |
| int | at, | ||
| const char * | filename, | ||
| Tuple * | tuple, | ||
| bool_t | play | ||
| ) |
Definition at line 516 of file adder.c.
Referenced by audacious_rc_playlist_ins_url_string(), and mpris_tracklist_add_track().
| void playlist_entry_insert_batch | ( | int | playlist, |
| int | at, | ||
| Index * | filenames, | ||
| Index * | tuples, | ||
| bool_t | play | ||
| ) |
Definition at line 527 of file adder.c.
Referenced by add_list(), and playlist_entry_insert().
| void playlist_entry_insert_filtered | ( | int | playlist, |
| int | at, | ||
| Index * | filenames, | ||
| Index * | tuples, | ||
| PlaylistFilterFunc | filter, | ||
| void * | user, | ||
| bool_t | play | ||
| ) |
Definition at line 533 of file adder.c.
Referenced by playlist_entry_insert_batch().
|
static |
Definition at line 67 of file adder.c.
Referenced by status_update().
|
static |
Definition at line 133 of file adder.c.
Referenced by add_finish(), and adder_cleanup().
|
static |
Definition at line 120 of file adder.c.
Referenced by add_file(), add_folder(), and add_playlist().
|
static |
Definition at line 57 of file adder.c.
Referenced by add_worker(), adder_cleanup(), and adder_init().
|
static |
Definition at line 52 of file adder.c.
Referenced by add_finish(), add_worker(), adder_cleanup(), and playlist_add_in_progress().
|
static |
Definition at line 59 of file adder.c.
Referenced by add_finish(), add_worker(), and adder_cleanup().
|
static |
Definition at line 51 of file adder.c.
Referenced by add_finish(), add_worker(), adder_cleanup(), playlist_add_in_progress(), and playlist_entry_insert_filtered().
|
static |
Definition at line 58 of file adder.c.
Referenced by adder_cleanup(), and adder_init().
|
static |
Definition at line 56 of file adder.c.
Referenced by add_worker(), adder_cleanup(), and playlist_entry_insert_filtered().
|
static |
Definition at line 53 of file adder.c.
Referenced by add_worker(), and playlist_add_in_progress().
|
static |
Definition at line 55 of file adder.c.
Referenced by add_finish(), add_worker(), adder_cleanup(), adder_init(), playlist_add_in_progress(), playlist_entry_insert_filtered(), status_cb(), and status_update().
|
static |
Definition at line 63 of file adder.c.
Referenced by status_cb(), and status_update().
|
static |
Definition at line 64 of file adder.c.
Referenced by status_cb().
|
static |
Definition at line 62 of file adder.c.
Referenced by status_cb(), and status_update().
|
static |
Definition at line 64 of file adder.c.
Referenced by status_cb().
|
static |
Definition at line 61 of file adder.c.
Referenced by status_done_locked(), and status_update().
|
static |
Definition at line 64 of file adder.c.
Referenced by status_cb(), and status_done_locked().
1.8.5