annotate audtool/audtool.h @ 2307:d4c2cbfce304 trunk

[svn] - i see no reason to keep the BMP changelogs
author nenolod
date Wed, 10 Jan 2007 04:54:30 -0800
parents ea3f42ccf8f8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1200
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
1 /* Audtool -- Audacious scripting tool
2254
ea3f42ccf8f8 [svn] Update audtool's copyright notices
kiyoshi
parents: 2248
diff changeset
2 * Copyright (c) 2005-2007 Audacious development team
1200
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
3 *
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
4 * This program is free software; you can redistribute it and/or modify
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
7 * (at your option) any later version.
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
8 *
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
9 * This program is distributed in the hope that it will be useful,
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
12 * GNU General Public License for more details.
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
13 *
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
14 * You should have received a copy of the GNU General Public License
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
15 * along with this program; if not, write to the Free Software
1459
705d4c089fce [svn] Fix postal code.
chainsaw
parents: 1458
diff changeset
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1200
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
17 */
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
18
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
19 #ifndef AUDTOOL_H
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
20 #define AUDTOOL_H
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
21
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
22 struct commandhandler {
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
23 gchar *name;
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
24 void (*handler)(gint session, gint argc, gchar **argv);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
25 gchar *desc;
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
26 };
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
27
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
28 extern void get_handlers_list(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
29 extern void get_current_song(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
30 extern void get_current_song_filename(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
31 extern void get_current_song_length(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
32 extern void get_current_song_length_seconds(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
33 extern void get_current_song_length_frames(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
34 extern void get_current_song_output_length(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
35 extern void get_current_song_output_length_seconds(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
36 extern void get_current_song_output_length_frames(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
37 extern void get_current_song_bitrate(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
38 extern void get_current_song_bitrate_kbps(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
39 extern void get_current_song_frequency(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
40 extern void get_current_song_frequency_khz(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
41 extern void get_current_song_channels(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
42 extern void get_volume(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
43 extern void set_volume(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
44 extern void playlist_position(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
45 extern void playlist_advance(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
46 extern void playlist_reverse(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
47 extern void playlist_length(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
48 extern void playlist_song(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
49 extern void playlist_song_filename(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
50 extern void playlist_song_length(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
51 extern void playlist_song_length_seconds(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
52 extern void playlist_song_length_frames(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
53 extern void playlist_display(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
54 extern void playlist_position(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
55 extern void playlist_jump(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
56 extern void playlist_add_url_string(gint, gint, gchar **);
1365
97000f8de201 [svn] - Added playlist-delete command.
nhjm449
parents: 1200
diff changeset
57 extern void playlist_delete(gint, gint, gchar **);
1200
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
58 extern void playlist_clear(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
59 extern void playlist_repeat_status(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
60 extern void playlist_repeat_toggle(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
61 extern void playlist_shuffle_status(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
62 extern void playlist_shuffle_toggle(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
63 extern void playqueue_add(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
64 extern void playqueue_remove(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
65 extern void playqueue_is_queued(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
66 extern void playqueue_get_position(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
67 extern void playqueue_get_qposition(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
68 extern void playqueue_display(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
69 extern void playqueue_length(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
70 extern void playqueue_clear(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
71 extern void playback_play(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
72 extern void playback_pause(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
73 extern void playback_playpause(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
74 extern void playback_stop(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
75 extern void playback_playing(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
76 extern void playback_paused(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
77 extern void playback_stopped(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
78 extern void playback_status(gint, gint, gchar **);
1932
532bb9b2bef6 [svn] - return -1 if audacious server is not running
nenolod
parents: 1459
diff changeset
79 extern void playback_seek(gint, gint, gchar **);
532bb9b2bef6 [svn] - return -1 if audacious server is not running
nenolod
parents: 1459
diff changeset
80 extern void playback_seek_relative(gint, gint, gchar **);
2248
f47524760158 [svn] - added in audtool mainwin-show, playlist-show and equalizer-show to toggle display of audacious windows
giacomo
parents: 2247
diff changeset
81 extern void mainwin_show(gint, gint, gchar **);
f47524760158 [svn] - added in audtool mainwin-show, playlist-show and equalizer-show to toggle display of audacious windows
giacomo
parents: 2247
diff changeset
82 extern void playlist_show(gint, gint, gchar **);
f47524760158 [svn] - added in audtool mainwin-show, playlist-show and equalizer-show to toggle display of audacious windows
giacomo
parents: 2247
diff changeset
83 extern void equalizer_show(gint, gint, gchar **);
1200
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
84 extern void show_preferences_window(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
85 extern void show_jtf_window(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
86 extern void shutdown_audacious_server(gint, gint, gchar **);
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
87
6af3f8fb2ed0 [svn] - prepare to ship audtool with audacious SVN
nenolod
parents:
diff changeset
88 #endif