Rewrite PSPP output engine.
[pspp-builds.git] / src / language / utilities / set.q
index fd4e1a93839e27b453abdc9298a559f3b1b8ce6d..46d5cd8dd145a4ab74800eb2e76f29142165b553 100644 (file)
@@ -40,8 +40,8 @@
 #include <libpspp/message.h>
 #include <libpspp/i18n.h>
 #include <math/random.h>
+#include <output/driver.h>
 #include <output/journal.h>
-#include <output/output.h>
 
 #if HAVE_LIBTERMCAP
 #if HAVE_TERMCAP_H
@@ -224,7 +224,7 @@ cmd_set (struct lexer *lexer, struct dataset *ds)
     msg (SW, _("%s is obsolete."), "TB1");
 
   if (cmd.sbc_case)
-    msg (SW, _("%s is not implemented."), "CASE");
+    msg (SW, _("%s is not yet implemented."), "CASE");
 
   if (cmd.sbc_compression)
     msg (SW, _("Active file compression is not implemented."));
@@ -504,7 +504,7 @@ stc_custom_listing (struct lexer *lexer, struct dataset *ds UNUSED, struct cmd_s
       /* FIXME */
       return 0;
     }
-  outp_enable_device (listing, OUTP_DEV_LISTING);
+  output_set_type_enabled (listing, OUTPUT_DEVICE_LISTING);
 
   return 1;
 }