diff gui-main.h @ 5:54edd85237ab

use signal to send input to qt interpreter object
author John W. Eaton <jwe@octave.org>
date Wed, 22 May 2019 18:07:37 -0400
parents 0e154787183d
children 04867eba6428
line wrap: on
line diff
--- a/gui-main.h	Wed May 22 17:30:46 2019 -0400
+++ b/gui-main.h	Wed May 22 18:07:37 2019 -0400
@@ -28,7 +28,7 @@
 
     // Accept an input line, parse and possibly execute it.
 
-    void accept (const std::string& line);
+    void accept_line (const std::string& line);
 
     // Redisplay current command line.
 
@@ -46,6 +46,8 @@
 
     void result_available (double value);
 
+    void accept_line_signal (const QString& line);
+
   public slots:
 
     void handle_input_char (int key);
@@ -90,9 +92,6 @@
   extern void emit_error (const std::string& msg);
 
   extern void emit_result (double value);
-
-  extern int available_char;
-  extern command_window *calc_interaction_window;
 }
 
 #endif