/* psppire-data-store.h
-
+
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
/*< private >*/
PsppireDict *dict;
PsppireCaseFile *case_file;
- PangoFontDescription *font_desc;
+ const PangoFontDescription *font_desc;
+
+ /* The width of an upper case 'M' rendered in the current font */
+ gint width_of_m ;
+
gboolean show_labels;
/* Geometry */
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, PsppireDict *dict);
-void psppire_data_store_set_font(PsppireDataStore *store, PangoFontDescription *fd);
+void psppire_data_store_set_dictionary (PsppireDataStore *data_store,
+ PsppireDict *dict);
-void psppire_data_store_show_labels(PsppireDataStore *store, gboolean show_labels);
+void psppire_data_store_set_font (PsppireDataStore *store,
+ const PangoFontDescription *fd);
-
-void psppire_data_store_clear(PsppireDataStore *data_store);
+void psppire_data_store_show_labels (PsppireDataStore *store,
+ gboolean show_labels);
+void psppire_data_store_clear (PsppireDataStore *data_store);
+struct file_handle;
+void psppire_data_store_create_system_file (PsppireDataStore *store,
+ struct file_handle *handle);
-struct file_handle;
+gboolean psppire_data_store_insert_new_case (PsppireDataStore *ds, gint posn);
-void psppire_data_store_create_system_file(PsppireDataStore *store,
- struct file_handle *handle);
#ifdef __cplusplus