Audacious  $Id:Doxyfile42802007-03-2104:39:00Znenolod$
interface.h
Go to the documentation of this file.
00001 /*
00002  * Audacious2
00003  * Copyright (c) 2008 William Pitcock <nenolod@dereferenced.org>
00004  * Copyright (c) 2008-2009 Tomasz Moń <desowin@gmail.com>
00005  * Copyright (c) 2011 John Lindgren <john.lindgren@tds.net>
00006  *
00007  * This program is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; under version 3 of the License.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program.  If not, see <http://www.gnu.org/licenses>.
00018  *
00019  * The Audacious team does not consider modular code linking to
00020  * Audacious or using our public API to be a derived work.
00021  */
00022 
00023 #ifndef __AUDACIOUS2_INTERFACE_H__
00024 #define __AUDACIOUS2_INTERFACE_H__
00025 
00026 #include <gtk/gtk.h>
00027 #include <audacious/plugins.h>
00028 
00029 bool_t interface_load (PluginHandle * plugin);
00030 void interface_unload (void);
00031 
00032 void interface_add_plugin_widget (PluginHandle * plugin, GtkWidget * widget);
00033 void interface_remove_plugin_widget (PluginHandle * plugin, GtkWidget * widget);
00034 
00035 PluginHandle * iface_plugin_probe (void);
00036 PluginHandle * iface_plugin_get_current (void);
00037 bool_t iface_plugin_set_current (PluginHandle * plugin);
00038 
00039 #endif