return d;
}
-/* Enables (if ENABLE is nonzero) or disables (if ENABLE is zero) the
+/* Enables (if ENABLE is true) or disables (if ENABLE is false) the
device(s) given in mask DEVICE. */
void
-outp_enable_device (int enable, int device)
+outp_enable_device (bool enable, int device)
{
if (enable)
disabled_devices &= ~device;
void outp_list_classes (void);
-void outp_enable_device (int enable, int device);
+void outp_enable_device (bool enable, int device);
struct outp_driver *outp_drivers (struct outp_driver *);
bool outp_parse_options (struct substring options,
+2007-07-29 John Darrington <john@darrington.wattle.id.au>
+
+ * helper.c psppire.c: Enabled the output system so that the results
+ of analysis can be seen.
+
2007-07-26 John Darrington <john@darrington.wattle.id.au>
* helper.c helper.h (execute_syntax): removed implicit EXECUTE at end
#include <data/procedure.h>
#include <language/lexer/lexer.h>
#include "psppire-data-store.h"
+#include <output/manager.h>
#include <gettext.h>
psppire_data_store_set_case_file (the_data_store, pcf);
}
+
+ som_flush ();
}
#include <libpspp/getl.h>
#include <language/lexer/lexer.h>
#include <libpspp/version.h>
+#include <output/output.h>
#include <gtk/gtk.h>
#include <glade/glade.h>
glade_init ();
fmt_init ();
+ fn_init ();
+ outp_init ();
settings_init ();
fh_init ();
the_source_stream =
dictionary = psppire_dict_new_from_dict (dataset_dict (the_dataset));
-
bind_textdomain_codeset (PACKAGE, "UTF-8");
-
/* Create the model for the var_sheet */
the_var_store = psppire_var_store_new (dictionary);
the_data_store = psppire_data_store_new (dictionary);
replace_casereader (NULL);
-
create_icon_factory ();
+ outp_read_devices ();
+ outp_enable_device (true, OUTP_DEV_SCREEN);
+
new_data_window (NULL, NULL);
}
destroy_source_stream (the_source_stream);
message_dialog_done ();
settings_done ();
+ outp_done ();
}