projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made the datasheet number cases from 1 instead of zero.
[pspp-builds.git]
/
src
/
ui
/
gui
/
psppire-data-store.h
diff --git
a/src/ui/gui/psppire-data-store.h
b/src/ui/gui/psppire-data-store.h
index c16d158e23803e3b5ed21ca7b57ab9b4b17b31b0..27bea1c00f8829e4a1e90379f98e2375eab6c339 100644
(file)
--- a/
src/ui/gui/psppire-data-store.h
+++ b/
src/ui/gui/psppire-data-store.h
@@
-1,8
+1,7
@@
/* psppire-data-store.h
/* psppire-data-store.h
-
+
PSPPIRE --- A Graphical User Interface for PSPP
Copyright (C) 2006 Free Software Foundation
PSPPIRE --- A Graphical User Interface for PSPP
Copyright (C) 2006 Free Software Foundation
- Written by John Darrington
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
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
@@
-26,6
+25,9
@@
#include "psppire-dict.h"
#include "psppire-case-file.h"
#include "psppire-dict.h"
#include "psppire-case-file.h"
+#define FIRST_CASE_NUMBER 1
+
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
@@
-62,8
+64,8
@@
struct _PsppireDataStore
const PangoFontDescription *font_desc;
/* The width of an upper case 'M' rendered in the current font */
const PangoFontDescription *font_desc;
/* The width of an upper case 'M' rendered in the current font */
- gint width_of_m ;
-
+ gint width_of_m ;
+
gboolean show_labels;
/* Geometry */
gboolean show_labels;
/* Geometry */
@@
-85,22
+87,30
@@
struct _PsppireDataStoreClass
inline GType psppire_data_store_get_type (void) G_GNUC_CONST;
PsppireDataStore *psppire_data_store_new (PsppireDict *dict);
inline GType psppire_data_store_get_type (void) G_GNUC_CONST;
PsppireDataStore *psppire_data_store_new (PsppireDict *dict);
-void psppire_data_store_set_
dictionary(PsppireDataStore *data_store,
- Psppire
Dict *dict
);
+void psppire_data_store_set_
case_file (PsppireDataStore *data_store,
+ Psppire
CaseFile *cf
);
-void psppire_data_store_set_font(PsppireDataStore *store,
+void psppire_data_store_set_dictionary (PsppireDataStore *data_store,
+ PsppireDict *dict);
+
+void psppire_data_store_set_font (PsppireDataStore *store,
const PangoFontDescription *fd);
const PangoFontDescription *fd);
-void psppire_data_store_show_labels
(PsppireDataStore *store,
+void psppire_data_store_show_labels
(PsppireDataStore *store,
gboolean show_labels);
gboolean show_labels);
-
-void psppire_data_store_clear(PsppireDataStore *data_store);
-struct file_handle;
+void psppire_data_store_clear (PsppireDataStore *data_store);
+
+gboolean psppire_data_store_insert_new_case (PsppireDataStore *ds, gint posn);
+
+struct casereader * psppire_data_store_get_reader (PsppireDataStore *ds);
-
void psppire_data_store_create_system_file(PsppireDataStore *store
,
-
struct file_handle *handle
);
+
gchar * psppire_data_store_get_string (PsppireDataStore *ds
,
+
gint row, gint column
);
+gboolean psppire_data_store_set_string (PsppireDataStore *ds,
+ const gchar *text,
+ gint row, gint column);
#ifdef __cplusplus
}
#ifdef __cplusplus
}