Mercurial > audlegacy
view src/audtool/audtool.h @ 3339:c23513d0ee17 trunk
adjusted comments for == and != tuple operators
author | Giacomo Lozito <james@develia.org> |
---|---|
date | Sun, 12 Aug 2007 17:23:21 +0200 |
parents | 6c0bb87fd672 |
children | e48f2f4c116d |
line wrap: on
line source
/* * Audtool2 * Copyright (c) 2007 Audacious development team * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #ifndef AUDTOOL_H #define AUDTOOL_H #include <mowgli.h> #include <audacious/dbus.h> extern mowgli_error_context_t *e; extern DBusGProxy *dbus_proxy; struct commandhandler { gchar *name; void (*handler)(gint argc, gchar **argv); gchar *desc; gint args; }; extern struct commandhandler handlers[]; extern void get_handlers_list(gint, gchar **); extern void get_current_song(gint, gchar **); extern void get_current_song_filename(gint, gchar **); extern void get_current_song_length(gint, gchar **); extern void get_current_song_length_seconds(gint, gchar **); extern void get_current_song_length_frames(gint, gchar **); extern void get_current_song_output_length(gint, gchar **); extern void get_current_song_output_length_seconds(gint, gchar **); extern void get_current_song_output_length_frames(gint, gchar **); extern void get_current_song_bitrate(gint, gchar **); extern void get_current_song_bitrate_kbps(gint, gchar **); extern void get_current_song_frequency(gint, gchar **); extern void get_current_song_frequency_khz(gint, gchar **); extern void get_current_song_channels(gint, gchar **); extern void get_current_song_tuple_field_data(gint, gchar **argv); extern void get_volume(gint, gchar **); extern void set_volume(gint, gchar **); extern void playlist_position(gint, gchar **); extern void playlist_advance(gint, gchar **); extern void playlist_reverse(gint, gchar **); extern void playlist_length(gint, gchar **); extern void playlist_song(gint, gchar **); extern void playlist_song_filename(gint, gchar **); extern void playlist_song_length(gint, gchar **); extern void playlist_song_length_seconds(gint, gchar **); extern void playlist_song_length_frames(gint, gchar **); extern void playlist_display(gint, gchar **); extern void playlist_position(gint, gchar **); extern void playlist_jump(gint, gchar **); extern void playlist_add_url_string(gint, gchar **); extern void playlist_delete(gint, gchar **); extern void playlist_clear(gint, gchar **); extern void playlist_repeat_status(gint, gchar **); extern void playlist_repeat_toggle(gint, gchar **); extern void playlist_shuffle_status(gint, gchar **); extern void playlist_shuffle_toggle(gint, gchar **); extern void playlist_tuple_field_data(gint, gchar **argv); extern void playqueue_add(gint, gchar **); extern void playqueue_remove(gint, gchar **); extern void playqueue_is_queued(gint, gchar **); extern void playqueue_get_position(gint, gchar **); extern void playqueue_get_qposition(gint, gchar **); extern void playqueue_display(gint, gchar **); extern void playqueue_length(gint, gchar **); extern void playqueue_clear(gint, gchar **); extern void playback_play(gint, gchar **); extern void playback_pause(gint, gchar **); extern void playback_playpause(gint, gchar **); extern void playback_stop(gint, gchar **); extern void playback_playing(gint, gchar **); extern void playback_paused(gint, gchar **); extern void playback_stopped(gint, gchar **); extern void playback_status(gint, gchar **); extern void playback_seek(gint, gchar **); extern void playback_seek_relative(gint, gchar **); extern void mainwin_show(gint, gchar **); extern void playlist_show(gint, gchar **); extern void equalizer_show(gint, gchar **); extern void show_preferences_window(gint, gchar **); extern void show_jtf_window(gint, gchar **); extern void shutdown_audacious_server(gint, gchar **); extern void audtool_report(const gchar *str, ...); extern void audtool_whine(const gchar *str, ...); #endif