Version bump.
[geany-mirror.git] / src / pluginutils.h
blob81e2b05511c5186fdf42f2e9a7e7492dda8c9e15
1 /*
2 * pluginutils.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2009-2010 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5 * Copyright 2009-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20 * MA 02110-1301, USA.
22 * $Id$
26 #ifndef PLUGINUTILS_H
27 #define PLUGINUTILS_H
29 #ifdef HAVE_PLUGINS
31 #include "keybindings.h" /* GeanyKeyGroupCallback */
34 /* avoid including plugindata.h otherwise this redefines the GEANY() macro */
35 struct GeanyPlugin;
38 void plugin_add_toolbar_item(struct GeanyPlugin *plugin, GtkToolItem *item);
40 void plugin_module_make_resident(struct GeanyPlugin *plugin);
42 void plugin_signal_connect(struct GeanyPlugin *plugin,
43 GObject *object, const gchar *signal_name, gboolean after,
44 GCallback callback, gpointer user_data);
46 struct GeanyKeyGroup *plugin_set_key_group(struct GeanyPlugin *plugin,
47 const gchar *section_name, gsize count, GeanyKeyGroupCallback callback);
49 void plugin_show_configure(struct GeanyPlugin *plugin);
51 #endif /* HAVE_PLUGINS */
52 #endif /* PLUGINUTILS_H */