Mercurial > audlegacy
annotate src/audtool/audtool.h @ 4032:74fb60e011ff
Estonian translation (bugzilla #2).
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Thu, 29 Nov 2007 07:26:35 -0600 |
parents | b5ee3a4a8e3b |
children | ea194fd79267 |
rev | line source |
---|---|
3118
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
1 /* |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
2 * Audtool2 |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
3 * Copyright (c) 2007 Audacious development team |
2313 | 4 * |
3118
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
5 * Redistribution and use in source and binary forms, with or without |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
6 * modification, are permitted provided that the following conditions are |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
7 * met: |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
8 * |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
9 * 1. Redistributions of source code must retain the above copyright notice, |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
10 * this list of conditions and the following disclaimer. |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
11 * |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
12 * 2. Redistributions in binary form must reproduce the above copyright |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
13 * notice, this list of conditions and the following disclaimer in the |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
14 * documentation and/or other materials provided with the distribution. |
2313 | 15 * |
3118
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
16 * 3. The name of the author may not be used to endorse or promote products |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
17 * derived from this software without specific prior written permission. |
2313 | 18 * |
3118
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
19 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
20 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
22 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
23 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
25 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
27 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
28 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
6c0bb87fd672
Fix license terms.
William Pitcock <nenolod@atheme-project.org>
parents:
2930
diff
changeset
|
29 * POSSIBILITY OF SUCH DAMAGE. |
2313 | 30 */ |
31 | |
32 #ifndef AUDTOOL_H | |
33 #define AUDTOOL_H | |
34 | |
2737 | 35 #include <mowgli.h> |
2731
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2723
diff
changeset
|
36 #include <audacious/dbus.h> |
f4a5f8fa3836
[svn] Added stubs in audctrl.c for the unimplemented functions defined in audctrl.h.
magma
parents:
2723
diff
changeset
|
37 |
2737 | 38 extern mowgli_error_context_t *e; |
39 extern DBusGProxy *dbus_proxy; | |
40 | |
2313 | 41 struct commandhandler { |
42 gchar *name; | |
2723
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
43 void (*handler)(gint argc, gchar **argv); |
2313 | 44 gchar *desc; |
2924
cf35109c4c33
Add the amount of arguments each command takes.
William Pitcock <nenolod@atheme.org>
parents:
2737
diff
changeset
|
45 gint args; |
2313 | 46 }; |
47 | |
2737 | 48 extern struct commandhandler handlers[]; |
49 | |
2723
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
50 extern void get_handlers_list(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
51 extern void get_current_song(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
52 extern void get_current_song_filename(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
53 extern void get_current_song_length(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
54 extern void get_current_song_length_seconds(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
55 extern void get_current_song_length_frames(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
56 extern void get_current_song_output_length(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
57 extern void get_current_song_output_length_seconds(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
58 extern void get_current_song_output_length_frames(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
59 extern void get_current_song_bitrate(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
60 extern void get_current_song_bitrate_kbps(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
61 extern void get_current_song_frequency(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
62 extern void get_current_song_frequency_khz(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
63 extern void get_current_song_channels(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
64 extern void get_current_song_tuple_field_data(gint, gchar **argv); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
65 extern void get_volume(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
66 extern void set_volume(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
67 extern void playlist_position(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
68 extern void playlist_advance(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
69 extern void playlist_reverse(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
70 extern void playlist_length(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
71 extern void playlist_song(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
72 extern void playlist_song_filename(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
73 extern void playlist_song_length(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
74 extern void playlist_song_length_seconds(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
75 extern void playlist_song_length_frames(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
76 extern void playlist_display(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
77 extern void playlist_position(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
78 extern void playlist_jump(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
79 extern void playlist_add_url_string(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
80 extern void playlist_delete(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
81 extern void playlist_clear(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
82 extern void playlist_repeat_status(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
83 extern void playlist_repeat_toggle(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
84 extern void playlist_shuffle_status(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
85 extern void playlist_shuffle_toggle(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
86 extern void playlist_tuple_field_data(gint, gchar **argv); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
87 extern void playqueue_add(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
88 extern void playqueue_remove(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
89 extern void playqueue_is_queued(gint, gchar **); |
3867
e48f2f4c116d
- many remained audacious remote functions have been implemented.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3118
diff
changeset
|
90 extern void playqueue_get_queue_position(gint, gchar **); |
e48f2f4c116d
- many remained audacious remote functions have been implemented.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3118
diff
changeset
|
91 extern void playqueue_get_list_position(gint, gchar **); |
2723
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
92 extern void playqueue_display(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
93 extern void playqueue_length(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
94 extern void playqueue_clear(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
95 extern void playback_play(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
96 extern void playback_pause(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
97 extern void playback_playpause(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
98 extern void playback_stop(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
99 extern void playback_playing(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
100 extern void playback_paused(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
101 extern void playback_stopped(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
102 extern void playback_status(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
103 extern void playback_seek(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
104 extern void playback_seek_relative(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
105 extern void mainwin_show(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
106 extern void playlist_show(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
107 extern void equalizer_show(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
108 extern void show_preferences_window(gint, gchar **); |
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
109 extern void show_jtf_window(gint, gchar **); |
3917 | 110 extern void show_filebrowser(gint, gchar **); |
2723
5051af882447
[svn] - bind to the right dbus interfaces, but this still has problems building
nenolod
parents:
2715
diff
changeset
|
111 extern void shutdown_audacious_server(gint, gchar **); |
3867
e48f2f4c116d
- many remained audacious remote functions have been implemented.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3118
diff
changeset
|
112 extern void show_about_window(gint, gchar **); |
2313 | 113 |
2930
d1198fb765c6
Add audtool_report() and audtool_whine() for message handling.
William Pitcock <nenolod@atheme.org>
parents:
2924
diff
changeset
|
114 extern void audtool_report(const gchar *str, ...); |
d1198fb765c6
Add audtool_report() and audtool_whine() for message handling.
William Pitcock <nenolod@atheme.org>
parents:
2924
diff
changeset
|
115 extern void audtool_whine(const gchar *str, ...); |
d1198fb765c6
Add audtool_report() and audtool_whine() for message handling.
William Pitcock <nenolod@atheme.org>
parents:
2924
diff
changeset
|
116 |
3867
e48f2f4c116d
- many remained audacious remote functions have been implemented.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3118
diff
changeset
|
117 /* test suite */ |
e48f2f4c116d
- many remained audacious remote functions have been implemented.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3118
diff
changeset
|
118 extern void test_activate(gint argc, gchar **argv); |
e48f2f4c116d
- many remained audacious remote functions have been implemented.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3118
diff
changeset
|
119 extern void test_enqueue_to_temp(gint argc, gchar **argv); |
e48f2f4c116d
- many remained audacious remote functions have been implemented.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3118
diff
changeset
|
120 extern void test_toggle_aot(gint argc, gchar **argv); |
e48f2f4c116d
- many remained audacious remote functions have been implemented.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3118
diff
changeset
|
121 extern void test_get_skin(gint argc, gchar **argv); |
e48f2f4c116d
- many remained audacious remote functions have been implemented.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3118
diff
changeset
|
122 extern void test_set_skin(gint argc, gchar **argv); |
e48f2f4c116d
- many remained audacious remote functions have been implemented.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3118
diff
changeset
|
123 extern void test_get_info(gint argc, gchar **argv); |
3873
f3341c2d6b9e
audacious remote functions:
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3867
diff
changeset
|
124 extern void test_ins_url_string(gint argc, gchar **argv); |
f3341c2d6b9e
audacious remote functions:
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3867
diff
changeset
|
125 extern void test_get_version(gint argc, gchar **argv); |
3867
e48f2f4c116d
- many remained audacious remote functions have been implemented.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3118
diff
changeset
|
126 |
3915
86c9abc83fbd
audacious remote functions:
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3873
diff
changeset
|
127 extern void test_get_eq(gint argc, gchar **argv); |
86c9abc83fbd
audacious remote functions:
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3873
diff
changeset
|
128 extern void test_get_eq_preamp(gint argc, gchar **argv); |
86c9abc83fbd
audacious remote functions:
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3873
diff
changeset
|
129 extern void test_get_eq_band(gint argc, gchar **argv); |
86c9abc83fbd
audacious remote functions:
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3873
diff
changeset
|
130 extern void test_set_eq(gint argc, gchar **argv); |
86c9abc83fbd
audacious remote functions:
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3873
diff
changeset
|
131 extern void test_set_eq_preamp(gint argc, gchar **argv); |
86c9abc83fbd
audacious remote functions:
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3873
diff
changeset
|
132 extern void test_set_eq_band(gint argc, gchar **argv); |
3917 | 133 void test_equalizer_active(gint argc, gchar **argv); |
3915
86c9abc83fbd
audacious remote functions:
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
3873
diff
changeset
|
134 |
2313 | 135 #endif |