Use application properties instead of ugly dual-use global variable
[gnumeric.git] / src / go-data-cache-field-impl.h
blob4247fb8f5bd4d1acfb8dbe6370e16d1d9b95584c
1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * go-data-cache-field-impl.h :
5 * Copyright (C) 2008 Jody Goldberg (jody@gnome.org)
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) version 3.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
20 * USA
22 #ifndef GO_DATA_CACHE_FIELD_IMPL_H
23 #define GO_DATA_CACHE_FIELD_IMPL_H
25 #include <go-data-cache-field.h>
26 #include <glib-object.h>
27 #include <go-val.h>
29 G_BEGIN_DECLS
30 #ifndef GOFFICE_NAMESPACE_DISABLE
32 struct _GODataCacheField {
33 GObject base;
35 GODataCache *cache;
36 GOString *name;
37 int indx, group_parent;
38 unsigned int offset;
39 GODataCacheFieldType ref_type;
41 GOValArray *indexed;
42 GOValArray *grouped;
43 GOValBucketer bucketer;
45 typedef struct {
46 GObjectClass base;
47 } GODataCacheFieldClass;
49 #endif
50 G_END_DECLS
52 #endif /* GO_DATA_CACHE_FIELD_IMPL_H */