Mercurial > audlegacy
view src/audacious/auddrct.h @ 2750:4df1d5552a4d trunk
[svn] - map to right handlers
author | nenolod |
---|---|
date | Fri, 11 May 2007 21:20:27 -0700 |
parents | 4f2fd69771dc |
children | c2613269f913 |
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 ); void audacious_drct_jtf_show ( 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 ); void audacious_drct_get_info( gint *rate, gint *freq, gint *nch); 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 ); gboolean audacious_drct_pl_repeat_is_enabled ( void ); void audacious_drct_pl_repeat_toggle ( void ); gboolean audacious_drct_pl_repeat_is_shuffled ( void ); void audacious_drct_pl_shuffle_toggle ( void ); gchar *audacious_drct_pl_get_title( gint pos ); gint audacious_drct_pl_get_time( gint pos ); gint audacious_drct_pl_get_pos( void ); gchar *audacious_drct_pl_get_file( gint pos );