1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4 * Copyright (C) Johannes Schmid 2005 <jhs@gnome.org>
6 * plugin.h is free software.
8 * You may redistribute it and/or modify it under the terms of the
9 * GNU General Public License, as published by the Free Software
10 * Foundation; either version 2 of the License, or (at your option)
13 * plugin.h is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 * See the GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with plugin.h. If not, write to:
20 * The Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor
22 * Boston, MA 02110-1301, USA.
25 #ifndef _SOURCEVIEW_H_
26 #define _SOURCEVIEW_H_
28 #include <libanjuta/anjuta-plugin.h>
30 extern GType
sourceview_plugin_get_type (GTypeModule
*module
);
31 #define ANJUTA_TYPE_PLUGIN_SOURCEVIEW (sourceview_plugin_get_type (NULL))
32 #define ANJUTA_PLUGIN_SOURCEVIEW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_PLUGIN_SOURCEVIEW, SourceviewPlugin))
33 #define ANJUTA_PLUGIN_SOURCEVIEW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), ANJUTA_TYPE_PLUGIN_SOURCEVIEW, SourceviewPluginClass))
34 #define ANJUTA_IS_PLUGIN_SOURCEVIEW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_PLUGIN_SOURCEVIEW))
35 #define ANJUTA_IS_PLUGIN_SOURCEVIEW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_PLUGIN_SOURCEVIEW))
36 #define ANJUTA_PLUGIN_SOURCEVIEW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), ANJUTA_TYPE_PLUGIN_SOURCEVIEW, SourceviewPluginClass))
38 typedef struct _SourceviewPlugin SourceviewPlugin
;
39 typedef struct _SourceviewPluginClass SourceviewPluginClass
;
41 struct _SourceviewPlugin
{
44 GtkWidget
* check_color
;
45 GtkWidget
* check_font
;
48 struct _SourceviewPluginClass
{
49 AnjutaPluginClass parent_class
;