Mercurial > audlegacy
diff src/audacious/ui_fileinfopopup.h @ 2348:564e8a1fe09a trunk
[svn] - made a public API for fileinfopopup (popup that displays metadata, the same used in playlist); now plugins can include ui_fileinfopopup.h to display metadata popups (i.e. statusicon and libnotify plugins)
author | giacomo |
---|---|
date | Tue, 16 Jan 2007 10:33:13 -0800 |
parents | |
children | b047268eec32 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/audacious/ui_fileinfopopup.h Tue Jan 16 10:33:13 2007 -0800 @@ -0,0 +1,35 @@ +/* + * Audacious: A cross-platform multimedia player + * Copyright (c) 2006 William Pitcock, Tony Vroon, George Averill, + * Giacomo Lozito, Derek Pomery and Yoshiki Yazawa. + * + * 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; either version 2 of the License, or + * (at your option) any later version. + * + * 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. + */ + +#ifndef _UI_FILEINFOPOPUP_H_ +#define _UI_FILEINFOPOPUP_H_ + +#include "audacious/titlestring.h" +#include <gtk/gtk.h> + +/* create/destroy */ +GtkWidget* audacious_fileinfopopup_create(void); +void audacious_fileinfopopup_destroy(GtkWidget* fileinfopopup_win); + +/* show/hide */ +void audacious_fileinfopopup_show_from_tuple(GtkWidget *fileinfopopup_win, TitleInput *tuple); +void audacious_fileinfopopup_hide(GtkWidget *filepopup_win, gpointer unused); + +#endif