Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$
Classes | Functions | Variables
folder-add.c File Reference
#include <dirent.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <gtk/gtk.h>
#include <libaudcore/audstrings.h>
#include "audconfig.h"
#include "config.h"
#include "glib-compat.h"
#include "i18n.h"
#include "misc.h"
#include "playback.h"
#include "playlist.h"

Go to the source code of this file.

Classes

struct  AddFile
struct  AddGroup

Functions

static void show_progress (const gchar *path, gint count)
static void show_done (void)
static gint sort_cb (const AddFile *a, const AddFile *b)
static gboolean add_cb (void *unused)
void playlist_insert_folder (gint playlist, gint at, const gchar *folder, gboolean play)

Variables

static GQueue add_queue = G_QUEUE_INIT
static gint add_source = 0
static GtkWidget * add_window = NULL
static GtkWidget * add_progress_path
static GtkWidget * add_progress_count

Function Documentation

static gboolean add_cb ( void *  unused) [static]

Definition at line 104 of file folder-add.c.

Referenced by playlist_insert_folder().

void playlist_insert_folder ( gint  playlist,
gint  at,
const gchar *  folder,
gboolean  play 
)

Definition at line 256 of file folder-add.c.

static void show_done ( void  ) [static]

Definition at line 94 of file folder-add.c.

Referenced by add_cb().

static void show_progress ( const gchar *  path,
gint  count 
) [static]

Definition at line 54 of file folder-add.c.

Referenced by add_cb().

static gint sort_cb ( const AddFile a,
const AddFile b 
) [static]

Definition at line 99 of file folder-add.c.

Referenced by add_cb().


Variable Documentation

GtkWidget * add_progress_count

Definition at line 52 of file folder-add.c.

Referenced by show_progress().

GtkWidget * add_progress_path

Definition at line 52 of file folder-add.c.

Referenced by show_progress().

GQueue add_queue = G_QUEUE_INIT [static]

Definition at line 50 of file folder-add.c.

Referenced by add_cb(), and playlist_insert_folder().

gint add_source = 0 [static]

Definition at line 51 of file folder-add.c.

Referenced by add_cb(), and playlist_insert_folder().

GtkWidget* add_window = NULL [static]

Definition at line 52 of file folder-add.c.

Referenced by show_done(), and show_progress().