annotate src/audacious/ui_plugin_menu.h @ 3932:77fc6e6d3ca7

Unicode my name in NEWS
author Tomasz Mon <desowin@gmail.com>
date Tue, 13 Nov 2007 17:20:18 +0100
parents 0fb35f6cc4b7
children 5a0f5ef1de61
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 <gtk/gtk.h>
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
28
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
29
3320
3a3f43afd9a0 plugin-customizable menu entries: added AUDACIOUS_MENU_PLAYLIST_RCLICK to manage custom entries for the playlist right-click menu
Giacomo Lozito <james@develia.org>
parents: 3307
diff changeset
30 #define AUDACIOUS_MENU_MAIN 0
3a3f43afd9a0 plugin-customizable menu entries: added AUDACIOUS_MENU_PLAYLIST_RCLICK to manage custom entries for the playlist right-click menu
Giacomo Lozito <james@develia.org>
parents: 3307
diff changeset
31 #define AUDACIOUS_MENU_PLAYLIST 1
3a3f43afd9a0 plugin-customizable menu entries: added AUDACIOUS_MENU_PLAYLIST_RCLICK to manage custom entries for the playlist right-click menu
Giacomo Lozito <james@develia.org>
parents: 3307
diff changeset
32 #define AUDACIOUS_MENU_PLAYLIST_RCLICK 2
3369
676bfd7b6586 simplified the custom plugin menuentries system, expecially for ui files
Giacomo Lozito <james@develia.org>
parents: 3320
diff changeset
33 #define AUDACIOUS_MENU_PLAYLIST_ADD 3
676bfd7b6586 simplified the custom plugin menuentries system, expecially for ui files
Giacomo Lozito <james@develia.org>
parents: 3320
diff changeset
34 #define AUDACIOUS_MENU_PLAYLIST_REMOVE 4
676bfd7b6586 simplified the custom plugin menuentries system, expecially for ui files
Giacomo Lozito <james@develia.org>
parents: 3320
diff changeset
35 #define AUDACIOUS_MENU_PLAYLIST_SELECT 5
3371
973cf1ae043a it's now possible to add plugin menuentries in playlist add, del, select and misc popup menus
Giacomo Lozito <james@develia.org>
parents: 3369
diff changeset
36 #define AUDACIOUS_MENU_PLAYLIST_MISC 6
3307
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
37
3751
0fb35f6cc4b7 PluginMenu API is exported now. No changes required to plugins.
William Pitcock <nenolod@atheme.org>
parents: 3399
diff changeset
38 gint menu_plugin_item_add( gint , GtkWidget * );
0fb35f6cc4b7 PluginMenu API is exported now. No changes required to plugins.
William Pitcock <nenolod@atheme.org>
parents: 3399
diff changeset
39 gint menu_plugin_item_remove( gint , GtkWidget * );
3307
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
40
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
41
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
42 #endif /* AUD_UIPLUGINMENU_H */