X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-data-store.h;h=d305ad844516bec91e711bc470344766045fc6cf;hb=f8278f359b743b60a3970e0b65bb3c9e980e0c94;hp=27bea1c00f8829e4a1e90379f98e2375eab6c339;hpb=b0edc00b3466899dab038e27452125315c859b37;p=pspp-builds.git diff --git a/src/ui/gui/psppire-data-store.h b/src/ui/gui/psppire-data-store.h index 27bea1c0..d305ad84 100644 --- a/src/ui/gui/psppire-data-store.h +++ b/src/ui/gui/psppire-data-store.h @@ -1,11 +1,9 @@ -/* psppire-data-store.h - - PSPPIRE --- A Graphical User Interface for PSPP +/* PSPPIRE - a graphical user interface for PSPP. Copyright (C) 2006 Free Software Foundation - This program is free software; you can redistribute it and/or modify + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -14,9 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program. If not, see . */ #ifndef __PSPPIRE_DATA_STORE_H__ #define __PSPPIRE_DATA_STORE_H__ @@ -101,16 +97,19 @@ void psppire_data_store_show_labels (PsppireDataStore *store, void psppire_data_store_clear (PsppireDataStore *data_store); -gboolean psppire_data_store_insert_new_case (PsppireDataStore *ds, gint posn); +gboolean psppire_data_store_insert_new_case (PsppireDataStore *ds, casenumber posn); struct casereader * psppire_data_store_get_reader (PsppireDataStore *ds); gchar * psppire_data_store_get_string (PsppireDataStore *ds, - gint row, gint column); + casenumber row, glong column); gboolean psppire_data_store_set_string (PsppireDataStore *ds, const gchar *text, - gint row, gint column); + glong row, glong column); + +casenumber psppire_data_store_get_case_count (PsppireDataStore *store); + #ifdef __cplusplus }