2 * This is a based on gedit-module.h from gedit, which is based on
3 * Epiphany source code.
5 * Copyright (C) 2003 Marco Pesenti Gritti
6 * Copyright (C) 2003, 2004 Christian Persch
7 * Copyright (C) 2005 - Paolo Maggi
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor,
22 * Boston, MA 02110-1301 USA.
28 #include <glib-object.h>
32 #define RB_TYPE_MODULE (rb_module_get_type ())
33 #define RB_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RB_TYPE_MODULE, RBModule))
34 #define RB_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), RB_TYPE_MODULE, RBModuleClass))
35 #define RB_IS_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RB_TYPE_MODULE))
36 #define RB_IS_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), RB_TYPE_MODULE))
37 #define RB_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), RB_TYPE_MODULE, RBModuleClass))
39 typedef struct _RBModule RBModule
;
41 GType
rb_module_get_type (void) G_GNUC_CONST
;;
43 RBModule
*rb_module_new (const gchar
*path
, const char *module
);
45 const gchar
*rb_module_get_path (RBModule
*module
);
47 GObject
*rb_module_new_object (RBModule
*module
);