view src/audacious/ui_plugin_menu.h @ 4113:1e8498de4acc

Fixes memory leak in fileinfopopup_progress_cb() (Bugzilla #43)
author Jussi Judin <jjudin+audacious@iki.fi>
date Tue, 25 Dec 2007 01:09:27 -0600
parents 0fb35f6cc4b7
children 5a0f5ef1de61
line wrap: on
line source

/*  Audacious - Cross-platform multimedia player
 *  Copyright (C) 2005-2007  Audacious development team.
 *
 *  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 3 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, see <http://www.gnu.org/licenses>.
 *
 *  The Audacious team does not consider modular code linking to
 *  Audacious or using our public API to be a derived work.
 */

/* these functions are currently implemented in ui_manager.c */

#ifndef AUD_UIPLUGINMENU_H
#define AUD_UIPLUGINMENU_H


#include <glib.h>
#include <gtk/gtk.h>


#define AUDACIOUS_MENU_MAIN             0
#define AUDACIOUS_MENU_PLAYLIST         1
#define AUDACIOUS_MENU_PLAYLIST_RCLICK  2
#define AUDACIOUS_MENU_PLAYLIST_ADD     3
#define AUDACIOUS_MENU_PLAYLIST_REMOVE  4
#define AUDACIOUS_MENU_PLAYLIST_SELECT  5
#define AUDACIOUS_MENU_PLAYLIST_MISC    6

gint menu_plugin_item_add( gint , GtkWidget * );
gint menu_plugin_item_remove( gint , GtkWidget * );


#endif /* AUD_UIPLUGINMENU_H */