1 /*
2  * go-line.h
3  *
4  * Copyright (C) 2003-2004 Emmanuel Pacaud (jody@gnome.org)
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of the
9  * License, or (at your option) version 3.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
19  * USA
20  */
21 
22 #ifndef GOG_LINE_H
23 #define GOG_LINE_H
24 
25 #include "gog-1.5d.h"
26 
27 G_BEGIN_DECLS
28 
29 typedef struct _GogLinePlot	GogLinePlot;
30 typedef GogPlot1_5dClass	GogLinePlotClass;
31 
32 #define GOG_TYPE_LINE_PLOT	(gog_line_plot_get_type ())
33 #define GOG_LINE_PLOT(o)	(G_TYPE_CHECK_INSTANCE_CAST ((o), GOG_TYPE_LINE_PLOT, GogLinePlot))
34 #define GOG_IS_PLOT_LINE(o)	(G_TYPE_CHECK_INSTANCE_TYPE ((o), GOG_TYPE_LINE_PLOT))
35 
36 GType gog_line_plot_get_type (void);
37 void  gog_line_plot_register_type (GTypeModule *module);
38 
39 /*************************************************************************/
40 
41 #define GOG_TYPE_AREA_PLOT	(gog_area_plot_get_type ())
42 #define GOG_AREA_PLOT(o)	(G_TYPE_CHECK_INSTANCE_CAST ((o), GOG_TYPE_AREA_PLOT, GogAreaPlot))
43 #define GOG_IS_PLOT_AREA(o)	(G_TYPE_CHECK_INSTANCE_TYPE ((o), GOG_TYPE_AREA_PLOT))
44 
45 typedef GogLinePlot		GogAreaPlot;
46 typedef GogLinePlotClass	GogAreaPlotClass;
47 
48 GType gog_area_plot_get_type (void);
49 void  gog_area_plot_register_type (GTypeModule *module);
50 
51 void  gog_area_series_register_type (GTypeModule *module);
52 void  gog_line_series_register_type (GTypeModule *module);
53 void  gog_line_series_view_register_type (GTypeModule *module);
54 void  gog_line_series_element_register_type (GTypeModule *module);
55 void  gog_line_view_register_type   (GTypeModule *module);
56 
57 G_END_DECLS
58 
59 #endif /* GOG_LINE_H */
60