Update Spanish translation
[gnumeric.git] / src / go-data-slicer.h
blobef4f59581b54e7db63f0e078f69eb2d0675cbec1
1 /*
2 * go-data-slicer.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_H
22 #define GO_DATA_SLICER_H
24 #include <goffice-data.h> /* remove after move to goffice */
25 #include <glib-object.h>
27 G_BEGIN_DECLS
28 #ifndef GOFFICE_NAMESPACE_DISABLE
30 #define GO_DATA_SLICER_TYPE (go_data_slicer_get_type ())
31 #define GO_DATA_SLICER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GO_DATA_SLICER_TYPE, GODataSlicer))
32 #define IS_GO_DATA_SLICER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_DATA_SLICER_TYPE))
34 GType go_data_slicer_get_type (void);
36 GODataCache *go_data_slicer_get_cache (GODataSlicer const *ds);
37 void go_data_slicer_set_cache (GODataSlicer *ds, GODataCache *cache);
39 void go_data_slicer_add_field (GODataSlicer *ds, GODataSlicerField *field);
40 GODataSlicerField *go_data_slicer_get_field (GODataSlicer const *ds, unsigned int field_index);
41 unsigned int go_data_slicer_num_fields (GODataSlicer const *ds);
43 #endif
44 G_END_DECLS
46 #endif /* GO_DATA_SLICER_H */