annotate src/audlegacy/ui_plugin_menu.h @ 4861:05baced7e1e7

Spell Micha Lipski's name correctly
author Tomasz Mon <desowin@gmail.com>
date Sat, 18 Apr 2009 11:58:27 +0200
parents 7bf7f83a217e
children
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
4557
2eee464379dc Clean up header multiple inclusion guards (e.g. #ifndef FOO_H/#define FOO_H)
Matti Hamalainen <ccr@tnsp.org>
parents: 4407
diff changeset
22 #ifndef AUDACIOUS_UI_PLUGIN_MENU_H
2eee464379dc Clean up header multiple inclusion guards (e.g. #ifndef FOO_H/#define FOO_H)
Matti Hamalainen <ccr@tnsp.org>
parents: 4407
diff changeset
23 #define AUDACIOUS_UI_PLUGIN_MENU_H
3307
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 #include <glib.h>
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
26 #include <gtk/gtk.h>
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
27
4407
5a0f5ef1de61 Some stupid header cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 3751
diff changeset
28 G_BEGIN_DECLS
3307
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
4407
5a0f5ef1de61 Some stupid header cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 3751
diff changeset
41 G_END_DECLS
3307
b5b2573db5c2 add required header for plugin-customized menus
Giacomo Lozito <james@develia.org>
parents:
diff changeset
42
4557
2eee464379dc Clean up header multiple inclusion guards (e.g. #ifndef FOO_H/#define FOO_H)
Matti Hamalainen <ccr@tnsp.org>
parents: 4407
diff changeset
43 #endif /* AUDACIOUS_UI_PLUGIN_MENU_H */