~ubuntu-branches/ubuntu/quantal/gnumeric/quantal

« back to all changes in this revision

Viewing changes to src/go-data-slicer.h

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2009-06-22 13:37:20 UTC
  • mfrom: (1.1.20 upstream) (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090622133720-rtdazsiz2lx5q8l7
Tags: 1.9.9-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Promoted gnumeric-doc to Recommends in gnumeric package for help to be
    installed automatically
  - gnumeric-gtk is a transitional package
  - gnumeric conflicts with gnumeric-gtk << 1.8.3-3ubuntu1
  - call initltool-update in po*
  - remove psiconv support (psiconv is in universe):
    o debian/control: remove B-D on libpsiconv-dev
    o debian/rules: don't pass --with-psiconv to ./configure
    o debian/gnumeric-plugins-extra.install: don't install the psiconv
      plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
2
/*
 
3
 * go-data-slicer.h :
 
4
 *
 
5
 * Copyright (C) 2008 Jody Goldberg (jody@gnome.org)
 
6
 *
 
7
 * This program is free software; you can redistribute it and/or
 
8
 * modify it under the terms of version 2 of the GNU General Public
 
9
 * License as published by the Free Software Foundation.
 
10
 *
 
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.
 
15
 *
 
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
 
20
 */
 
21
#ifndef GO_DATA_SLICER_H
 
22
#define GO_DATA_SLICER_H
 
23
 
 
24
#include "goffice-data.h"       /* remove after move to goffice */
 
25
#include <glib-object.h>
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
#define GO_DATA_SLICER_TYPE     (go_data_slicer_get_type ())
 
30
#define GO_DATA_SLICER(o)       (G_TYPE_CHECK_INSTANCE_CAST ((o), GO_DATA_SLICER_TYPE, GODataSlicer))
 
31
#define IS_GO_DATA_SLICER(o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_DATA_SLICER_TYPE))
 
32
 
 
33
GType go_data_slicer_get_type (void);
 
34
 
 
35
GODataCache *go_data_slicer_get_cache (GODataSlicer const *ds);
 
36
void         go_data_slicer_set_cache (GODataSlicer *ds, GODataCache *cache);
 
37
 
 
38
void               go_data_slicer_add_field   (GODataSlicer *ds, GODataSlicerField *field);
 
39
GODataSlicerField *go_data_slicer_get_field   (GODataSlicer const *ds, unsigned int field_index);
 
40
unsigned int       go_data_slicer_num_fields  (GODataSlicer const *ds);
 
41
void               go_data_slicer_order_field (GODataSlicer *ds, GODataSlicerFieldType field_type,
 
42
                                               unsigned int field_index, int before);
 
43
 
 
44
G_END_DECLS
 
45
 
 
46
#endif /* GO_DATA_SLICER_H */