2 * heavily based on code from Gedit
4 * Copyright (C) 2002-2005 - Paolo Maggi
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor,
19 * Boston, MA 02110-1301 USA.
22 #ifndef __RB_PLUGINS_ENGINE_H__
23 #define __RB_PLUGINS_ENGINE_H__
28 typedef struct _RBPluginInfo RBPluginInfo
;
30 gboolean
rb_plugins_engine_init (RBShell
*shell
);
31 void rb_plugins_engine_shutdown (void);
33 void rb_plugins_engine_garbage_collect (void);
35 GList
* rb_plugins_engine_get_plugins_list (void);
37 gboolean
rb_plugins_engine_activate_plugin (RBPluginInfo
*info
);
38 gboolean
rb_plugins_engine_deactivate_plugin (RBPluginInfo
*info
);
39 gboolean
rb_plugins_engine_plugin_is_active (RBPluginInfo
*info
);
40 gboolean
rb_plugins_engine_plugin_is_visible (RBPluginInfo
*info
);
42 gboolean rb_plugins_engine_plugin_is_configurable
44 void rb_plugins_engine_configure_plugin (RBPluginInfo
*info
,
47 const gchar
* rb_plugins_engine_get_plugin_name (RBPluginInfo
*info
);
48 const gchar
* rb_plugins_engine_get_plugin_description
51 const gchar
** rb_plugins_engine_get_plugin_authors (RBPluginInfo
*info
);
52 const gchar
* rb_plugins_engine_get_plugin_website (RBPluginInfo
*info
);
53 const gchar
* rb_plugins_engine_get_plugin_copyright (RBPluginInfo
*info
);
54 GdkPixbuf
* rb_plugins_engine_get_plugin_icon (RBPluginInfo
*info
);
56 #endif /* __RB_PLUGINS_ENGINE_H__ */