comparison src/audacious/auddrct.h @ 2739:953001c668ae trunk

[svn] - added auddrct.c/h, a migration api for plugins that once used xmms_remote; to be completed
author giacomo
date Fri, 11 May 2007 16:27:54 -0700
parents
children 1333d28e2c50
comparison
equal deleted inserted replaced
2738:1eb06f902923 2739:953001c668ae
1 /*
2 * Audacious: A cross-platform multimedia player
3 * Copyright (c) 2007 Giacomo Lozito
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; under version 2 of the License.
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
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 * 02110-1301, USA.
18 */
19
20 /* audacious_drct_* provides a handy interface for player
21 plugins, originally intended for migration from xmms_remote_* calls */
22
23 #include <glib.h>
24
25
26 /* playback */
27 void audacious_drct_play ( void );
28 void audacious_drct_pause ( void );
29 void audacious_drct_stop ( void );
30 gboolean audacious_drct_get_playing ( void );
31 gboolean audacious_drct_get_paused ( void );
32 gboolean audacious_drct_get_stopped ( void );
33 gint audacious_drct_get_time ( void );
34 void audacious_drct_seek ( guint pos );
35 void audacious_drct_get_volume( gint *vl, gint *vr );
36 void audacious_drct_set_volume( gint vl, gint vr );