Mercurial > audlegacy
annotate audtool/audtool.h @ 2263:052ce3b52d04 trunk
[svn] - given some decent namespacing to playlist menus (part 2, the end)
author | giacomo |
---|---|
date | Thu, 04 Jan 2007 05:45:38 -0800 |
parents | ea3f42ccf8f8 |
children |
rev | line source |
---|---|
1200 | 1 /* Audtool -- Audacious scripting tool |
2254 | 2 * Copyright (c) 2005-2007 Audacious development team |
1200 | 3 * |
4 * This program is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
8 * | |
9 * This program is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License | |
15 * along with this program; if not, write to the Free Software | |
1459 | 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
1200 | 17 */ |
18 | |
19 #ifndef AUDTOOL_H | |
20 #define AUDTOOL_H | |
21 | |
22 struct commandhandler { | |
23 gchar *name; | |
24 void (*handler)(gint session, gint argc, gchar **argv); | |
25 gchar *desc; | |
26 }; | |
27 | |
28 extern void get_handlers_list(gint, gint, gchar **); | |
29 extern void get_current_song(gint, gint, gchar **); | |
30 extern void get_current_song_filename(gint, gint, gchar **); | |
31 extern void get_current_song_length(gint, gint, gchar **); | |
32 extern void get_current_song_length_seconds(gint, gint, gchar **); | |
33 extern void get_current_song_length_frames(gint, gint, gchar **); | |
34 extern void get_current_song_output_length(gint, gint, gchar **); | |
35 extern void get_current_song_output_length_seconds(gint, gint, gchar **); | |
36 extern void get_current_song_output_length_frames(gint, gint, gchar **); | |
37 extern void get_current_song_bitrate(gint, gint, gchar **); | |
38 extern void get_current_song_bitrate_kbps(gint, gint, gchar **); | |
39 extern void get_current_song_frequency(gint, gint, gchar **); | |
40 extern void get_current_song_frequency_khz(gint, gint, gchar **); | |
41 extern void get_current_song_channels(gint, gint, gchar **); | |
42 extern void get_volume(gint, gint, gchar **); | |
43 extern void set_volume(gint, gint, gchar **); | |
44 extern void playlist_position(gint, gint, gchar **); | |
45 extern void playlist_advance(gint, gint, gchar **); | |
46 extern void playlist_reverse(gint, gint, gchar **); | |
47 extern void playlist_length(gint, gint, gchar **); | |
48 extern void playlist_song(gint, gint, gchar **); | |
49 extern void playlist_song_filename(gint, gint, gchar **); | |
50 extern void playlist_song_length(gint, gint, gchar **); | |
51 extern void playlist_song_length_seconds(gint, gint, gchar **); | |
52 extern void playlist_song_length_frames(gint, gint, gchar **); | |
53 extern void playlist_display(gint, gint, gchar **); | |
54 extern void playlist_position(gint, gint, gchar **); | |
55 extern void playlist_jump(gint, gint, gchar **); | |
56 extern void playlist_add_url_string(gint, gint, gchar **); | |
1365 | 57 extern void playlist_delete(gint, gint, gchar **); |
1200 | 58 extern void playlist_clear(gint, gint, gchar **); |
59 extern void playlist_repeat_status(gint, gint, gchar **); | |
60 extern void playlist_repeat_toggle(gint, gint, gchar **); | |
61 extern void playlist_shuffle_status(gint, gint, gchar **); | |
62 extern void playlist_shuffle_toggle(gint, gint, gchar **); | |
63 extern void playqueue_add(gint, gint, gchar **); | |
64 extern void playqueue_remove(gint, gint, gchar **); | |
65 extern void playqueue_is_queued(gint, gint, gchar **); | |
66 extern void playqueue_get_position(gint, gint, gchar **); | |
67 extern void playqueue_get_qposition(gint, gint, gchar **); | |
68 extern void playqueue_display(gint, gint, gchar **); | |
69 extern void playqueue_length(gint, gint, gchar **); | |
70 extern void playqueue_clear(gint, gint, gchar **); | |
71 extern void playback_play(gint, gint, gchar **); | |
72 extern void playback_pause(gint, gint, gchar **); | |
73 extern void playback_playpause(gint, gint, gchar **); | |
74 extern void playback_stop(gint, gint, gchar **); | |
75 extern void playback_playing(gint, gint, gchar **); | |
76 extern void playback_paused(gint, gint, gchar **); | |
77 extern void playback_stopped(gint, gint, gchar **); | |
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 | 84 extern void show_preferences_window(gint, gint, gchar **); |
85 extern void show_jtf_window(gint, gint, gchar **); | |
86 extern void shutdown_audacious_server(gint, gint, gchar **); | |
87 | |
88 #endif |