1 /* 2 * xed-plugins-engine.h 3 * This file is part of xed 4 * 5 * Copyright (C) 2002-2005 - Paolo Maggi 6 * 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. 11 * 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. 16 * 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 St, Fifth Floor, 20 * Boston, MA 02110-1301, USA. 21 */ 22 23 /* 24 * Modified by the xed Team, 2002-2005. See the AUTHORS file for a 25 * list of people on the xed Team. 26 * See the ChangeLog files for a list of changes. 27 * 28 * $Id$ 29 */ 30 31 #ifndef __XED_PLUGINS_ENGINE_H__ 32 #define __XED_PLUGINS_ENGINE_H__ 33 34 #include <glib.h> 35 #include <libpeas/peas-engine.h> 36 37 G_BEGIN_DECLS 38 39 #define XED_TYPE_PLUGINS_ENGINE (xed_plugins_engine_get_type ()) 40 #define XED_PLUGINS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), XED_TYPE_PLUGINS_ENGINE, XedPluginsEngine)) 41 #define XED_PLUGINS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), XED_TYPE_PLUGINS_ENGINE, XedPluginsEngineClass)) 42 #define XED_IS_PLUGINS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), XED_TYPE_PLUGINS_ENGINE)) 43 #define XED_IS_PLUGINS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XED_TYPE_PLUGINS_ENGINE)) 44 #define XED_PLUGINS_ENGINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), XED_TYPE_PLUGINS_ENGINE, XedPluginsEngineClass)) 45 46 typedef struct _XedPluginsEngine XedPluginsEngine; 47 typedef struct _XedPluginsEnginePrivate XedPluginsEnginePrivate; 48 49 struct _XedPluginsEngine 50 { 51 PeasEngine parent; 52 XedPluginsEnginePrivate *priv; 53 }; 54 55 typedef struct _XedPluginsEngineClass XedPluginsEngineClass; 56 57 struct _XedPluginsEngineClass 58 { 59 PeasEngineClass parent_class; 60 }; 61 62 GType xed_plugins_engine_get_type (void) G_GNUC_CONST; 63 64 XedPluginsEngine *xed_plugins_engine_get_default (void); 65 66 G_END_DECLS 67 68 #endif /* __XED_PLUGINS_ENGINE_H__ */ 69