|
Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
#include <errno.h>#include <limits.h>#include <gtk/gtk.h>#include <libaudcore/audstrings.h>#include <libaudcore/hook.h>#include <libaudtag/audtag.h>#include "config.h"#include "audconfig.h"#include "configdb.h"#include "debug.h"#include "drct.h"#include "equalizer.h"#include "i18n.h"#include "interface.h"#include "misc.h"#include "playback.h"#include "playlist.h"#include "plugins.h"#include "util.h"Go to the source code of this file.
Defines | |
| #define | AUTOSAVE_INTERVAL 300 |
Functions | |
| void | adder_init (void) |
| void | adder_cleanup (void) |
| void | chardet_init (void) |
| void | mpris_signals_init (void) |
| void | mpris_signals_cleanup (void) |
| void | signals_init (void) |
| void | smclient_init (void) |
| static void | make_dirs (void) |
| static void | normalize_path (gchar *path) |
| static gchar * | last_path_element (gchar *path) |
| static void | strip_path_element (gchar *path, gchar *elem) |
| static void | relocate_path (gchar **pathp, const gchar *old, const gchar *new) |
| static void | relocate_paths (void) |
| static void | init_paths (void) |
| const gchar * | get_path (gint id) |
| static void | parse_options (gint *argc, gchar ***argv) |
| static gboolean | get_lock (void) |
| static void | release_lock (void) |
| static GList * | convert_filenames (void) |
| static void | do_remote (void) |
| static void | do_commands (void) |
| static void | init_one (gint *p_argc, gchar ***p_argv) |
| static void | init_two (void) |
| static void | shut_down (void) |
| static gboolean | autosave_cb (void *unused) |
| gint | main (gint argc, gchar **argv) |
Variables | |
| struct { | |
| gchar ** filenames | |
| gint session | |
| gboolean play | |
| gboolean stop | |
| gboolean pause | |
| gboolean fwd | |
| gboolean rew | |
| gboolean play_pause | |
| gboolean show_jump_box | |
| gboolean enqueue | |
| gboolean mainwin | |
| gboolean remote | |
| gboolean enqueue_to_temp | |
| gboolean version | |
| gchar * previous_session_id | |
| } | options |
| static gchar * | aud_paths [AUD_PATH_COUNT] |
| static GOptionEntry | cmd_entries [] |
| void adder_cleanup | ( | void | ) |
Definition at line 440 of file adder.c.
Referenced by shut_down().
| void adder_init | ( | void | ) |
Definition at line 429 of file adder.c.
Referenced by init_two().
| static gboolean autosave_cb | ( | void * | unused | ) | [static] |
| void chardet_init | ( | void | ) |
Definition at line 193 of file chardet.c.
Referenced by init_one().
| static GList* convert_filenames | ( | void | ) | [static] |
Definition at line 326 of file main.c.
Referenced by do_commands(), and do_remote().
| static void do_commands | ( | void | ) | [static] |
Definition at line 423 of file main.c.
Referenced by init_two().
| static void do_remote | ( | void | ) | [static] |
| static gboolean get_lock | ( | void | ) | [static] |
| const gchar* get_path | ( | gint | id | ) |
Definition at line 249 of file main.c.
Referenced by equalizer_read_presets(), equalizer_write_preset_file(), fill_category_list(), make_playlist_path(), open_registry_file(), playlist_load_state(), playlist_save_state(), and plugin_system_init().
| static void init_one | ( | gint * | p_argc, |
| gchar *** | p_argv | ||
| ) | [static] |
| static void init_paths | ( | void | ) | [static] |
Definition at line 223 of file main.c.
Referenced by init_one().
| static gchar* last_path_element | ( | gchar * | path | ) | [static] |
Definition at line 118 of file main.c.
Referenced by relocate_paths().
| static void make_dirs | ( | void | ) | [static] |
Definition at line 91 of file main.c.
Referenced by init_one().
| void mpris_signals_cleanup | ( | void | ) |
Definition at line 57 of file mpris-signals.c.
Referenced by shut_down().
| void mpris_signals_init | ( | void | ) |
Definition at line 36 of file mpris-signals.c.
Referenced by init_two().
| static void normalize_path | ( | gchar * | path | ) | [static] |
Definition at line 104 of file main.c.
Referenced by relocate_paths().
| static void parse_options | ( | gint * | argc, |
| gchar *** | argv | ||
| ) | [static] |
| static void release_lock | ( | void | ) | [static] |
| static void relocate_path | ( | gchar ** | pathp, |
| const gchar * | old, | ||
| const gchar * | new | ||
| ) | [static] |
Definition at line 136 of file main.c.
Referenced by relocate_paths().
| static void relocate_paths | ( | void | ) | [static] |
Definition at line 162 of file main.c.
Referenced by init_paths().
| static void shut_down | ( | void | ) | [static] |
| void signals_init | ( | void | ) |
Definition at line 43 of file signals.c.
Referenced by init_two().
| void smclient_init | ( | void | ) |
Definition at line 60 of file smclient.c.
Referenced by init_two().
| static void strip_path_element | ( | gchar * | path, |
| gchar * | elem | ||
| ) | [static] |
Definition at line 124 of file main.c.
Referenced by relocate_paths().
gchar* aud_paths[AUD_PATH_COUNT] [static] |
Definition at line 89 of file main.c.
Referenced by get_lock(), get_path(), init_one(), init_paths(), make_dirs(), release_lock(), and relocate_paths().
GOptionEntry cmd_entries[] [static] |
{
{"rew", 'r', 0, G_OPTION_ARG_NONE, &options.rew, N_("Skip backwards in playlist"), NULL},
{"play", 'p', 0, G_OPTION_ARG_NONE, &options.play, N_("Start playing current playlist"), NULL},
{"pause", 'u', 0, G_OPTION_ARG_NONE, &options.pause, N_("Pause current song"), NULL},
{"stop", 's', 0, G_OPTION_ARG_NONE, &options.stop, N_("Stop current song"), NULL},
{"play-pause", 't', 0, G_OPTION_ARG_NONE, &options.play_pause, N_("Pause if playing, play otherwise"), NULL},
{"fwd", 'f', 0, G_OPTION_ARG_NONE, &options.fwd, N_("Skip forward in playlist"), NULL},
{"show-jump-box", 'j', 0, G_OPTION_ARG_NONE, &options.show_jump_box, N_("Display Jump to File dialog"), NULL},
{"enqueue", 'e', 0, G_OPTION_ARG_NONE, &options.enqueue, N_("Add files to the playlist"), NULL},
{"enqueue-to-temp", 'E', 0, G_OPTION_ARG_NONE, &options.enqueue_to_temp, N_("Add new files to a temporary playlist"), NULL},
{"show-main-window", 'm', 0, G_OPTION_ARG_NONE, &options.mainwin, N_("Display the main window"), NULL},
{"version", 'v', 0, G_OPTION_ARG_NONE, &options.version, N_("Show version"), NULL},
{"verbose", 'V', 0, G_OPTION_ARG_NONE, &cfg.verbose, N_("Print debugging messages"), NULL},
{G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &options.filenames, N_("FILE..."), NULL},
{NULL},
}
Definition at line 255 of file main.c.
Referenced by parse_options().
| gchar** filenames |
Definition at line 80 of file main.c.
Referenced by add_list(), add_playlist(), add_task_new(), audacious_remote_playlist_add(), audacious_remote_playlist_open_list(), audacious_remote_playlist_open_list_to_temp(), playlist_entry_insert(), playlist_insert_playlist_raw(), playlist_load(), and playlist_save().
struct { ... } options [static] |
Referenced by convert_filenames(), do_commands(), do_remote(), main(), and parse_options().
Definition at line 82 of file main.c.
Referenced by playback_start().
Definition at line 82 of file main.c.
Referenced by add_result_new(), add_task_new(), drct_pl_next(), drct_pl_prev(), drct_pl_set_pos(), end_cb(), and mpris_tracklist_add_track().
| gchar* previous_session_id |
Definition at line 81 of file main.c.
Referenced by do_remote().
1.7.4