annotate src/audacious/ui_plugin_menu.h @ 3307:b5b2573db5c2 trunk

add required header for plugin-customized menus
author Giacomo Lozito <james@develia.org>
date Fri, 10 Aug 2007 17:09:36 +0200
parents
children 3a3f43afd9a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3307
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
1 /* Audacious - Cross-platform multimedia player
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
2 * Copyright (C) 2005-2007 Audacious development team.
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
3 *
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
4 * This program is free software; you can redistribute it and/or modify
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
6 * the Free Software Foundation; under version 3 of the License.
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
7 *
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
8 * This program is distributed in the hope that it will be useful,
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
11 * GNU General Public License for more details.
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
12 *
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
13 * You should have received a copy of the GNU General Public License
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
14 * along with this program. If not, see <http://www.gnu.org/licenses>.
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
15 *
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
16 * The Audacious team does not consider modular code linking to
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
17 * Audacious or using our public API to be a derived work.
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
18 */
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
19
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
20 /* these functions are currently implemented in ui_manager.c */
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
21
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
22 #ifndef AUD_UIPLUGINMENU_H
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
23 #define AUD_UIPLUGINMENU_H
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
24
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
25
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
26 #include <glib.h>
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
27 #include <glib/gi18n.h>
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
28 #include <gtk/gtk.h>
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
29
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
30
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
31 #define AUDACIOUS_MENU_MAIN 0
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
32 #define AUDACIOUS_MENU_PLAYLIST 1
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
33
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
34 gint audacious_menu_plugin_item_add( gint , GtkWidget * );
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
35 gint audacious_menu_plugin_item_remove( gint , GtkWidget * );
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
36
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
37
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
38 #endif /* AUD_UIPLUGINMENU_H */