1 /***************************************************************************
4 * So Mai 21 14:44:13 2006
5 * Copyright 2006 Johannes Schmid
7 ***************************************************************************/
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
29 #include <glib-object.h>
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
{
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
);
63 #endif /* SOURCEVIEW_CELL_H */