3 * This file is part of Evince
5 * Copyright (C) 2005 - Paolo Maggi
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., 59 Temple Place, Suite 330,
20 * Boston, MA 02111-1307, USA.
23 /* This is a modified version of gedit-module.h from Epiphany source code.
24 * Here the original copyright assignment:
26 * Copyright (C) 2003 Marco Pesenti Gritti
27 * Copyright (C) 2003, 2004 Christian Persch
32 * Modified by the gedit Team, 2005. See the AUTHORS file for a
33 * list of people on the gedit Team.
34 * See the ChangeLog files for a list of changes.
36 * $Id: gedit-module.h 5263 2006-10-08 14:26:02Z pborelli $
39 /* Modified by Evince Team */
41 #if !defined (EVINCE_COMPILATION)
42 #error "This is a private header."
48 #include <glib-object.h>
52 #define EV_TYPE_MODULE (ev_module_get_type ())
53 #define EV_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_MODULE, EvModule))
54 #define EV_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_MODULE, EvModuleClass))
55 #define EV_IS_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_MODULE))
56 #define EV_IS_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), EV_TYPE_MODULE))
57 #define EV_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EV_TYPE_MODULE, EvModuleClass))
59 typedef struct _EvModule EvModule;
61 GType ev_module_get_type (void) G_GNUC_CONST;
63 EvModule *ev_module_new (const gchar *path,
66 const gchar *ev_module_get_path (EvModule *module);
68 GObject *ev_module_new_object (EvModule *module);
70 GType ev_module_get_object_type (EvModule *module);
74 #endif /* EV_MODULE_H */