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_PLUGIN_MANAGER_H__
23 #define __RB_PLUGIN_MANAGER_H__
30 * Type checking and casting macros
32 #define RB_TYPE_PLUGIN_MANAGER (rb_plugin_manager_get_type())
33 #define RB_PLUGIN_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), RB_TYPE_PLUGIN_MANAGER, RBPluginManager))
34 #define RB_PLUGIN_MANAGER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), RB_TYPE_PLUGIN_MANAGER, RBPluginManager const))
35 #define RB_PLUGIN_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), RB_TYPE_PLUGIN_MANAGER, RBPluginManagerClass))
36 #define RB_IS_PLUGIN_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), RB_TYPE_PLUGIN_MANAGER))
37 #define RB_IS_PLUGIN_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), RB_TYPE_PLUGIN_MANAGER))
38 #define RB_PLUGIN_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), RB_TYPE_PLUGIN_MANAGER, RBPluginManagerClass))
40 /* Private structure type */
41 typedef struct _RBPluginManagerPrivate RBPluginManagerPrivate
;
44 * Main object structure
51 RBPluginManagerPrivate
*priv
;
59 GtkVBoxClass parent_class
;
60 } RBPluginManagerClass
;
65 GType
rb_plugin_manager_get_type (void) G_GNUC_CONST
;
67 GtkWidget
*rb_plugin_manager_new (void);
71 #endif /* __RB_PLUGIN_MANAGER_H__ */