annotate src/audacious/auddrct.h @ 2748:4f2fd69771dc trunk

[svn] - auddrct: more calls implemented (part 5)
author yaz
date Fri, 11 May 2007 20:37:03 -0700
parents 72781ef7ece3
children c2613269f913
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2739
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
1 /*
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
2 * Audacious: A cross-platform multimedia player
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
3 * Copyright (c) 2007 Giacomo Lozito
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
4 *
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
5 * This program is free software; you can redistribute it and/or modify
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
6 * it under the terms of the GNU General Public License as published by
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
7 * the Free Software Foundation; under version 2 of the License.
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
8 *
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
9 * This program is distributed in the hope that it will be useful,
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
12 * GNU General Public License for more details.
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
13 *
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
14 * You should have received a copy of the GNU General Public License
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
15 * along with this program; if not, write to the Free Software
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
17 * 02110-1301, USA.
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
18 */
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
19
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
20 /* audacious_drct_* provides a handy interface for player
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
21 plugins, originally intended for migration from xmms_remote_* calls */
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
22
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
23 #include <glib.h>
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
24
2742
1333d28e2c50 [svn] - auddrct: more calls implemented
giacomo
parents: 2739
diff changeset
25 /* player */
1333d28e2c50 [svn] - auddrct: more calls implemented
giacomo
parents: 2739
diff changeset
26 void audacious_drct_quit ( void );
1333d28e2c50 [svn] - auddrct: more calls implemented
giacomo
parents: 2739
diff changeset
27 void audacious_drct_eject ( void );
2745
72781ef7ece3 [svn] - auddrct: more calls implemented (part 4)
giacomo
parents: 2744
diff changeset
28 void audacious_drct_jtf_show ( void );
2742
1333d28e2c50 [svn] - auddrct: more calls implemented
giacomo
parents: 2739
diff changeset
29 gboolean audacious_drct_main_win_is_visible ( void );
2744
8ab4ef180201 [svn] - auddrct: more calls implemented (part 3)
giacomo
parents: 2743
diff changeset
30 void audacious_drct_main_win_toggle ( gboolean );
8ab4ef180201 [svn] - auddrct: more calls implemented (part 3)
giacomo
parents: 2743
diff changeset
31 gboolean audacious_drct_eq_win_is_visible ( void );
8ab4ef180201 [svn] - auddrct: more calls implemented (part 3)
giacomo
parents: 2743
diff changeset
32 void audacious_drct_eq_win_toggle ( gboolean );
8ab4ef180201 [svn] - auddrct: more calls implemented (part 3)
giacomo
parents: 2743
diff changeset
33 gboolean audacious_drct_pl_win_is_visible ( void );
8ab4ef180201 [svn] - auddrct: more calls implemented (part 3)
giacomo
parents: 2743
diff changeset
34 void audacious_drct_pl_win_toggle ( gboolean );
2739
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
35
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
36 /* playback */
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
37 void audacious_drct_play ( void );
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
38 void audacious_drct_pause ( void );
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
39 void audacious_drct_stop ( void );
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
40 gboolean audacious_drct_get_playing ( void );
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
41 gboolean audacious_drct_get_paused ( void );
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
42 gboolean audacious_drct_get_stopped ( void );
2748
4f2fd69771dc [svn] - auddrct: more calls implemented (part 5)
yaz
parents: 2745
diff changeset
43 void audacious_drct_get_info( gint *rate, gint *freq, gint *nch);
2739
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
44 gint audacious_drct_get_time ( void );
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
45 void audacious_drct_seek ( guint pos );
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
46 void audacious_drct_get_volume( gint *vl, gint *vr );
953001c668ae [svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
giacomo
parents:
diff changeset
47 void audacious_drct_set_volume( gint vl, gint vr );
2742
1333d28e2c50 [svn] - auddrct: more calls implemented
giacomo
parents: 2739
diff changeset
48
1333d28e2c50 [svn] - auddrct: more calls implemented
giacomo
parents: 2739
diff changeset
49 /* playlist */
1333d28e2c50 [svn] - auddrct: more calls implemented
giacomo
parents: 2739
diff changeset
50 void audacious_drct_pl_next( void );
1333d28e2c50 [svn] - auddrct: more calls implemented
giacomo
parents: 2739
diff changeset
51 void audacious_drct_pl_prev( void );
2745
72781ef7ece3 [svn] - auddrct: more calls implemented (part 4)
giacomo
parents: 2744
diff changeset
52 gboolean audacious_drct_pl_repeat_is_enabled ( void );
72781ef7ece3 [svn] - auddrct: more calls implemented (part 4)
giacomo
parents: 2744
diff changeset
53 void audacious_drct_pl_repeat_toggle ( void );
72781ef7ece3 [svn] - auddrct: more calls implemented (part 4)
giacomo
parents: 2744
diff changeset
54 gboolean audacious_drct_pl_repeat_is_shuffled ( void );
72781ef7ece3 [svn] - auddrct: more calls implemented (part 4)
giacomo
parents: 2744
diff changeset
55 void audacious_drct_pl_shuffle_toggle ( void );
2748
4f2fd69771dc [svn] - auddrct: more calls implemented (part 5)
yaz
parents: 2745
diff changeset
56 gchar *audacious_drct_pl_get_title( gint pos );
4f2fd69771dc [svn] - auddrct: more calls implemented (part 5)
yaz
parents: 2745
diff changeset
57 gint audacious_drct_pl_get_time( gint pos );
4f2fd69771dc [svn] - auddrct: more calls implemented (part 5)
yaz
parents: 2745
diff changeset
58 gint audacious_drct_pl_get_pos( void );
4f2fd69771dc [svn] - auddrct: more calls implemented (part 5)
yaz
parents: 2745
diff changeset
59 gchar *audacious_drct_pl_get_file( gint pos );