Added byline
[anjuta.git] / plugins / sourceview / sourceview-cell.h
blob084f65b0e09dd83e839a608fea18b2f4223b506e
1 /***************************************************************************
2 * sourceview-cell.h
4 * So Mai 21 14:44:13 2006
5 * Copyright 2006 Johannes Schmid
6 * jhs@cvs.gnome.org
7 ***************************************************************************/
9 /*
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Library General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 #ifndef SOURCEVIEW_CELL_H
26 #define SOURCEVIEW_CELL_H
28 #include <glib.h>
29 #include <glib-object.h>
31 #include <gtk/gtk.h>
33 G_BEGIN_DECLS
35 #define SOURCEVIEW_TYPE_CELL (sourceview_cell_get_type ())
36 #define SOURCEVIEW_CELL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SOURCEVIEW_TYPE_CELL, SourceviewCell))
37 #define SOURCEVIEW_CELL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), SOURCEVIEW_TYPE_CELL, SourceviewCellClass))
38 #define SOURCEVIEW_IS_CELL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SOURCEVIEW_TYPE_CELL))
39 #define SOURCEVIEW_IS_CELL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), SOURCEVIEW_TYPE_CELL))
40 #define SOURCEVIEW_CELL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), SOURCEVIEW_TYPE_CELL, SourceviewCellClass))
42 typedef struct _SourceviewCell SourceviewCell;
43 typedef struct _SourceviewCellPrivate SourceviewCellPrivate;
44 typedef struct _SourceviewCellClass SourceviewCellClass;
46 struct _SourceviewCell {
47 GObject parent;
48 SourceviewCellPrivate *priv;
51 struct _SourceviewCellClass {
52 GObjectClass parent_class;
53 /* Add Signal Functions Here */
56 GType sourceview_cell_get_type(void);
57 SourceviewCell *sourceview_cell_new(GtkTextIter* iter, GtkTextView* view);
59 void sourceview_cell_get_iter (SourceviewCell* cell, GtkTextIter* iter);
61 G_END_DECLS
63 #endif /* SOURCEVIEW_CELL_H */