/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ /* * plugin.h * Copyright (C) Massimo Cora' 2005 * * plugin.h is free software. * * You may redistribute it and/or modify it under the terms of the * GNU General Public License, as published by the Free Software * Foundation; either version 2, or (at your option) any later version. * * plugin.h is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with plugin.h. See the file "COPYING". If not, * write to: The Free Software Foundation, Inc., * 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #ifndef _CLASS_INHERITANCE_H_ #define _CLASS_INHERITANCE_H_ #include #include /* graphviz */ G_BEGIN_DECLS extern GType class_inheritance_get_type (AnjutaGluePlugin *plugin); #define ANJUTA_TYPE_PLUGIN_CLASS_INHERITANCE (class_inheritance_get_type (NULL)) #define ANJUTA_PLUGIN_CLASS_INHERITANCE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_PLUGIN_CLASS_INHERITANCE, AnjutaClassInheritance)) #define ANJUTA_PLUGIN_CLASS_INHERITANCE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), ANJUTA_TYPE_PLUGIN_CLASS_INHERITANCE, AnjutaClassInheritanceClass)) #define ANJUTA_IS_PLUGIN_CLASS_INHERITANCE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_PLUGIN_CLASS_INHERITANCE)) #define ANJUTA_IS_PLUGIN_CLASS_INHERITANCE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_PLUGIN_CLASS_INHERITANCE)) #define ANJUTA_PLUGIN_CLASS_INHERITANCE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), ANJUTA_TYPE_PLUGIN_CLASS_INHERITANCE, AnjutaClassInheritanceClass)) typedef struct _AnjutaClassInheritance AnjutaClassInheritance; typedef struct _AnjutaClassInheritanceClass AnjutaClassInheritanceClass; struct _AnjutaClassInheritance { AnjutaPlugin parent; GtkWidget *widget; /* a vbox */ GtkWidget *update_button; GtkWidget *menu; GtkWidget *update; GtkWidget *canvas; GList *drawable_list; /* GnomeCanvasItem* list. Edges, arrows and texts */ GList *node_list; /* NodeData* list */ GHashTable *expansion_node_list; /* expansion_status for the nodes */ /* graphviz stuff */ GVC_t *gvc; Agraph_t *graph; gchar *top_dir; guint root_watch_id; gint uiid; }; struct _AnjutaClassInheritanceClass { AnjutaPluginClass parent_class; }; G_END_DECLS #endif