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

« back to all changes in this revision

Viewing changes to src/gnm-data-cache-source.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
 * gnm-data-cache-source.h : GODataCacheSource from a GnmSheet
 
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 GNM_DATA_CACHE_SOURCE_H
 
22
#define GNM_DATA_CACHE_SOURCE_H
 
23
 
 
24
#include <goffice/goffice.h>
 
25
#include <glib-object.h>
 
26
 
 
27
#include <gnumeric.h>
 
28
#include "goffice-data.h"
 
29
 
 
30
G_BEGIN_DECLS
 
31
 
 
32
#define GNM_DATA_CACHE_SOURCE_TYPE      (gnm_data_cache_source_get_type ())
 
33
#define GNM_DATA_CACHE_SOURCE(o)        (G_TYPE_CHECK_INSTANCE_CAST ((o), GNM_DATA_CACHE_SOURCE_TYPE, GnmDataCacheSource))
 
34
#define IS_GNM_DATA_CACHE_SOURCE(o)     (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNM_DATA_CACHE_SOURCE_TYPE))
 
35
 
 
36
GType gnm_data_cache_source_get_type (void);
 
37
 
 
38
typedef struct _GnmDataCacheSource GnmDataCacheSource;
 
39
 
 
40
GODataCacheSource *gnm_data_cache_source_new (Sheet *src_sheet,
 
41
                                              GnmRange const *src_range, char const *src_name);
 
42
 
 
43
Sheet           *gnm_data_cache_source_get_sheet (GnmDataCacheSource const *src);
 
44
void             gnm_data_cache_source_set_sheet (GnmDataCacheSource *src, Sheet *sheet);
 
45
GnmRange const  *gnm_data_cache_source_get_range (GnmDataCacheSource const *src);
 
46
void             gnm_data_cache_source_set_range (GnmDataCacheSource *src, GnmRange const *r);
 
47
char const      *gnm_data_cache_source_get_name  (GnmDataCacheSource const *src);
 
48
void             gnm_data_cache_source_set_name  (GnmDataCacheSource *src, char const *name);
 
49
 
 
50
G_END_DECLS
 
51
 
 
52
#endif /* GNM_DATA_CACHE_SOURCE_H */