Compilation: fix up tools includes.
[gnumeric.git] / src / tools / fill-series.h
blob98afacaedc78010f2afc19c462b83cfcb32b8197
1 #ifndef __FILL_SERIES_H__
2 #define __FILL_SERIES_H__
4 #include <gnumeric.h>
5 #include <tools/dao.h>
8 typedef enum {
9 FillSeriesTypeLinear, FillSeriesTypeGrowth, FillSeriesTypeDate
10 } fill_series_type_t;
12 typedef enum {
13 FillSeriesUnitDay, FillSeriesUnitWeekday, FillSeriesUnitMonth,
14 FillSeriesUnitYear
15 } fill_series_date_unit_t;
17 typedef struct {
18 fill_series_type_t type;
19 fill_series_date_unit_t date_unit;
20 gboolean series_in_rows;
21 gnm_float step_value;
22 gnm_float stop_value;
23 gnm_float start_value;
24 gboolean is_step_set;
25 gboolean is_stop_set;
27 gint n;
28 } fill_series_t;
30 gboolean fill_series_engine (GOCmdContext *gcc, data_analysis_output_t *dao, gpointer specs,
31 analysis_tool_engine_t selector, gpointer result);
33 #endif