1.12.42
[gnumeric.git] / src / go-data-slicer-field-impl.h
blob07e764d18e7658feb97a472a279b7403ae9ab928
1 /*
2 * go-data-slicer-field-impl.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_IMPL_H
22 #define GO_DATA_SLICER_FIELD_IMPL_H
24 #include <go-data-slicer-field.h>
25 #include <glib-object.h>
27 G_BEGIN_DECLS
28 #ifndef GOFFICE_NAMESPACE_DISABLE
30 struct _GODataSlicerField {
31 GObject base;
33 GODataSlicer *ds;
34 GOString *name; /* if null uses name from underlying cache field */
35 int indx;
36 int data_cache_field_indx; /* < 0 => undefined */
38 int field_type_pos[GDS_FIELD_TYPE_MAX];
40 unsigned int aggregations;
42 typedef struct {
43 GObjectClass base;
44 } GODataSlicerFieldClass;
46 #endif
47 G_END_DECLS
49 #endif /* GO_DATA_SLICER_FIELD_IMPL_H */