Audacious
$Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include <locale.h>
#include <gtk/gtk.h>
#include <libaudcore/audstrings.h>
#include <libaudcore/hook.h>
#include <libaudtag/audtag.h>
#include "debug.h"
#include "drct.h"
#include "equalizer.h"
#include "i18n.h"
#include "interface.h"
#include "main.h"
#include "misc.h"
#include "playlist.h"
#include "plugins.h"
#include "scanner.h"
#include "util.h"
Go to the source code of this file.
Macros | |
#define | AUTOSAVE_INTERVAL 300 /* seconds */ |
Functions | |
static void | make_dirs (void) |
static void | normalize_path (char *path) |
static char * | last_path_element (char *path) |
static void | strip_path_element (char *path, char *elem) |
static void | relocate_path (char **pathp, const char *old, const char *new) |
static void | relocate_paths (void) |
static void | init_paths (void) |
const char * | get_path (int id) |
static void | parse_options (int *argc, char ***argv) |
static bool_t | get_lock (void) |
static void | release_lock (void) |
static Index * | convert_filenames (void) |
static void | do_remote (void) |
static void | do_commands (void) |
static void | init_one (void) |
static void | init_two (int *p_argc, char ***p_argv) |
static void | shut_down (void) |
bool_t | do_autosave (void) |
static bool_t | check_should_quit (void) |
static void | maybe_quit (void) |
int | main (int argc, char **argv) |
Variables | |
bool_t | headless |
struct { | |
char ** filenames | |
int session | |
bool_t play | |
bool_t stop | |
bool_t pause | |
bool_t fwd | |
bool_t rew | |
bool_t play_pause | |
bool_t show_jump_box | |
bool_t enqueue | |
bool_t mainwin | |
bool_t remote | |
bool_t enqueue_to_temp | |
bool_t quit_after_play | |
bool_t version | |
bool_t verbose | |
char * previous_session_id | |
} | options |
static char * | aud_paths [AUD_PATH_COUNT] |
static GOptionEntry | cmd_entries [] |
#define AUTOSAVE_INTERVAL 300 /* seconds */ |
|
static |
Definition at line 547 of file main.c.
Referenced by main(), and maybe_quit().
|
static |
Definition at line 302 of file main.c.
Referenced by do_commands(), and do_remote().
|
static |
Definition at line 401 of file main.c.
Referenced by init_two().
const char* get_path | ( | int | id | ) |
Definition at line 225 of file main.c.
Referenced by config_load(), config_save(), equalizer_read_presets(), equalizer_write_preset_file(), fill_category_list(), load_playlists_real(), make_playlist_path(), open_registry_file(), playlist_load_state(), playlist_save_state(), plugin_system_init(), and save_playlists_real().
|
static |
Definition at line 200 of file main.c.
Referenced by init_one().
|
static |
|
static |
Definition at line 95 of file main.c.
Referenced by relocate_paths().
|
static |
Definition at line 69 of file main.c.
Referenced by init_one().
|
static |
Definition at line 81 of file main.c.
Referenced by relocate_paths().
|
static |
|
static |
|
static |
Definition at line 113 of file main.c.
Referenced by relocate_paths().
|
static |
Definition at line 139 of file main.c.
Referenced by init_paths().
|
static |
Definition at line 101 of file main.c.
Referenced by relocate_paths().
|
static |
Definition at line 67 of file main.c.
Referenced by get_lock(), get_path(), init_one(), init_paths(), make_dirs(), release_lock(), and relocate_paths().
|
static |
Definition at line 231 of file main.c.
Referenced by parse_options().
char** filenames |
Definition at line 56 of file main.c.
Referenced by add_playlist(), add_task_new(), audacious_remote_playlist_add(), audacious_remote_playlist_open_list(), audacious_remote_playlist_open_list_to_temp(), convert_filenames(), do_commands(), do_remote(), drct_pl_add(), drct_pl_open(), drct_pl_open_temp(), playlist_entry_insert(), playlist_insert_playlist_raw(), playlist_load(), and playlist_save().
bool_t headless |
Definition at line 53 of file main.c.
Referenced by init_two(), start_plugins(), status_cb(), status_done_locked(), and stop_plugins().
struct { ... } options |
Referenced by check_should_quit(), convert_filenames(), do_commands(), do_remote(), main(), and parse_options().
bool_t pause |
Definition at line 58 of file main.c.
Referenced by apply_pause(), output_pause(), and playback_start().
bool_t play |
Definition at line 58 of file main.c.
Referenced by add_result_new(), and add_task_new().
int session |
Definition at line 57 of file main.c.
Referenced by do_remote().
bool_t stop |
Definition at line 58 of file main.c.
Referenced by dir_foreach().