1.12.42
[gnumeric.git] / src / go-data-slicer-field.h
blob703adccaa135f07fbc494be450ffd2b5b1aeb5a9
1 /*
2 * go-data-slicer-field.h :
4 * Copyright (C) 2008 Jody Goldberg (jody@gnome.org)
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.
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.
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
21 #ifndef GO_DATA_SLICER_FIELD_H
22 #define GO_DATA_SLICER_FIELD_H
24 #include <goffice-data.h> /* remove after move to goffice */
25 #include <goffice/goffice.h>
26 #include <glib-object.h>
28 G_BEGIN_DECLS
29 #ifndef GOFFICE_NAMESPACE_DISABLE
31 #define GO_DATA_SLICER_FIELD_TYPE (go_data_slicer_field_get_type ())
32 #define GO_DATA_SLICER_FIELD(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GO_DATA_SLICER_FIELD_TYPE, GODataSlicerField))
33 #define IS_GO_DATA_SLICER_FIELD(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_DATA_SLICER_FIELD_TYPE))
35 GType go_data_slicer_field_get_type (void);
36 GOString *go_data_slicer_field_get_name (GODataSlicerField const *dsf);
37 GODataCacheField *go_data_slicer_field_get_cache_field (GODataSlicerField const *dsf);
39 int go_data_slicer_field_get_field_type_pos (GODataSlicerField const *dsf,
40 GODataSlicerFieldType field_type);
41 void go_data_slicer_field_set_field_type_pos (GODataSlicerField *dsf,
42 GODataSlicerFieldType field_type,
43 int pos);
45 #endif
46 G_END_DECLS
48 #endif /* GO_DATA_SLICER_FIELD_H */