view src/audacious/auddrct.h @ 2742:1333d28e2c50 trunk

[svn] - auddrct: more calls implemented
author giacomo
date Fri, 11 May 2007 17:58:39 -0700
parents 953001c668ae
children 2e86136729f1
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_show ( void );
gboolean audacious_drct_equalizer_is_visible ( void );
void audacious_drct_equalizer_show ( void );
gboolean audacious_drct_playlist_is_visible ( void );
void audacious_drct_playlist_show ( void );

/* 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 );