]> git.sur5r.net Git - glabels/blob - src/label-line.h
Imported Upstream version 3.0.0
[glabels] / src / label-line.h
1 /*
2  *  label-line.h
3  *  Copyright (C) 2001-2009  Jim Evins <evins@snaught.com>.
4  *
5  *  This file is part of gLabels.
6  *
7  *  gLabels 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 3 of the License, or
10  *  (at your option) any later version.
11  *
12  *  gLabels 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 gLabels.  If not, see <http://www.gnu.org/licenses/>.
19  */
20
21 #ifndef __LABEL_LINE_H__
22 #define __LABEL_LINE_H__
23
24 #include "label-object.h"
25
26
27 G_BEGIN_DECLS
28
29
30 #define GL_TYPE_LABEL_LINE            (gl_label_line_get_type ())
31 #define GL_LABEL_LINE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GL_TYPE_LABEL_LINE, glLabelLine))
32 #define GL_LABEL_LINE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GL_TYPE_LABEL_LINE, glLabelLineClass))
33 #define GL_IS_LABEL_LINE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GL_TYPE_LABEL_LINE))
34 #define GL_IS_LABEL_LINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GL_TYPE_LABEL_LINE))
35
36 typedef struct _glLabelLine          glLabelLine;
37 typedef struct _glLabelLineClass     glLabelLineClass;
38
39 typedef struct _glLabelLinePrivate   glLabelLinePrivate;
40
41 struct _glLabelLine {
42         glLabelObject         object;
43
44         glLabelLinePrivate   *priv;
45 };
46
47 struct _glLabelLineClass {
48         glLabelObjectClass    parent_class;
49 };
50
51 GType        gl_label_line_get_type       (void) G_GNUC_CONST;
52
53 GObject     *gl_label_line_new            (glLabel     *label,
54                                            gboolean     checkpoint);
55
56
57 G_END_DECLS
58
59 #endif /* __LABEL_LINE_H__ */
60
61
62
63
64 /*
65  * Local Variables:       -- emacs
66  * mode: C                -- emacs
67  * c-basic-offset: 8      -- emacs
68  * tab-width: 8           -- emacs
69  * indent-tabs-mode: nil  -- emacs
70  * End:                   -- emacs
71  */