Mercurial > audlegacy
view src/audacious/auddrct.h @ 2744:8ab4ef180201 trunk
[svn] - auddrct: more calls implemented (part 3)
author | giacomo |
---|---|
date | Fri, 11 May 2007 18:12:56 -0700 |
parents | 2e86136729f1 |
children | 72781ef7ece3 |
line wrap: on
line source
/* * Audacious: A cross-platform multimedia player * Copyright (c) 2007 Giacomo Lozito * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; under version 2 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ /* audacious_drct_* provides a handy interface for player plugins, originally intended for migration from xmms_remote_* calls */ #include <glib.h> /* player */ void audacious_drct_quit ( void ); void audacious_drct_eject ( void ); gboolean audacious_drct_main_win_is_visible ( void ); void audacious_drct_main_win_toggle ( gboolean ); gboolean audacious_drct_eq_win_is_visible ( void ); void audacious_drct_eq_win_toggle ( gboolean ); gboolean audacious_drct_pl_win_is_visible ( void ); void audacious_drct_pl_win_toggle ( gboolean ); /* playback */ void audacious_drct_play ( void ); void audacious_drct_pause ( void ); void audacious_drct_stop ( void ); gboolean audacious_drct_get_playing ( void ); gboolean audacious_drct_get_paused ( void ); gboolean audacious_drct_get_stopped ( void ); gint audacious_drct_get_time ( void ); void audacious_drct_seek ( guint pos ); void audacious_drct_get_volume( gint *vl, gint *vr ); void audacious_drct_set_volume( gint vl, gint vr ); /* playlist */ void audacious_drct_pl_next( void ); void audacious_drct_pl_prev( void );