Audacious
$Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
#include <gtk/gtk.h>
#include "main.h"
#include <glib/gprintf.h>
#include <libaudcore/audstrings.h>
#include <libaudcore/hook.h>
#include <libaudtag/audtag.h>
#include "audconfig.h"
#include "chardet.h"
#include "compatibility.h"
#include "configdb.h"
#include "debug.h"
#include "drct.h"
#include "equalizer.h"
#include "i18n.h"
#include "interface.h"
#include "output.h"
#include "playback.h"
#include "playlist.h"
#include "pluginenum.h"
#include "signals.h"
#include "util.h"
#include "visualization.h"
Go to the source code of this file.
Classes | |
struct | AudCmdLineOpt |
Defines | |
#define | AUTOSAVE_INTERVAL 300 |
Functions | |
static void | print_version (void) |
static void | aud_make_user_dir (void) |
static void | aud_free_paths (void) |
static void | aud_init_paths () |
static void | parse_cmd_line_options (gint *argc, gchar ***argv) |
static void | handle_cmd_line_filenames (gboolean is_running) |
static void | handle_cmd_line_options_first (void) |
static void | handle_cmd_line_options (void) |
void | aud_quit (void) |
static void | shut_down (void) |
static gboolean | autosave_cb (void *unused) |
PluginHandle * | iface_plugin_get_active (void) |
void | iface_plugin_set_active (PluginHandle *plugin) |
gint | main (gint argc, gchar **argv) |
Variables | |
static const gchar * | application_name = N_("Audacious") |
static AudCmdLineOpt | options |
gchar * | aud_paths [BMP_PATH_COUNT] |
static GOptionEntry | cmd_entries [] |
static PluginHandle * | current_iface = NULL |
static void aud_free_paths | ( | void | ) | [static] |
Definition at line 108 of file main.c.
Referenced by aud_init_paths().
static void aud_init_paths | ( | ) | [static] |
static void aud_make_user_dir | ( | void | ) | [static] |
void aud_quit | ( | void | ) |
Definition at line 324 of file main.c.
Referenced by drct_quit().
static gboolean autosave_cb | ( | void * | unused | ) | [static] |
static void handle_cmd_line_filenames | ( | gboolean | is_running | ) | [static] |
Definition at line 198 of file main.c.
Referenced by handle_cmd_line_options(), and handle_cmd_line_options_first().
static void handle_cmd_line_options | ( | void | ) | [static] |
static void handle_cmd_line_options_first | ( | void | ) | [static] |
PluginHandle* iface_plugin_get_active | ( | void | ) |
void iface_plugin_set_active | ( | PluginHandle * | plugin | ) |
static void parse_cmd_line_options | ( | gint * | argc, |
gchar *** | argv | ||
) | [static] |
static void print_version | ( | void | ) | [static] |
Definition at line 92 of file main.c.
Referenced by handle_cmd_line_options_first().
static void shut_down | ( | void | ) | [static] |
const gchar* application_name = N_("Audacious") [static] |
Definition at line 69 of file main.c.
Referenced by print_version().
gchar* aud_paths[BMP_PATH_COUNT] |
Definition at line 85 of file main.c.
Referenced by aud_free_paths(), aud_init_paths(), aud_make_user_dir(), equalizer_read_presets(), equalizer_write_preset_file(), main(), make_playlist_path(), open_registry_file(), playlist_load_state(), playlist_save_state(), and plugin_system_init().
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}, {"activate", 'a', 0, G_OPTION_ARG_NONE, &options.activate, N_("Display all open Audacious windows"), 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 154 of file main.c.
Referenced by parse_cmd_line_options().
PluginHandle* current_iface = NULL [static] |
Definition at line 386 of file main.c.
Referenced by iface_plugin_get_active().
AudCmdLineOpt options [static] |
Definition at line 83 of file main.c.
Referenced by handle_cmd_line_filenames(), handle_cmd_line_options(), handle_cmd_line_options_first(), and parse_cmd_line_options().