summaryrefslogtreecommitdiff
path: root/fluid/ExternalCodeEditor_UNIX.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-01-27 11:35:05 +0100
committerMatthias Melcher <github@matthiasm.com>2023-01-27 11:35:17 +0100
commit873d355ec271b22f0e48dac1c8eaca7deb075e66 (patch)
treea7515616c5e61d5724f0ca862e01dddb3816e5bd /fluid/ExternalCodeEditor_UNIX.h
parentcb64a6d7687df314d14aeb014c2b6556bbb04ee4 (diff)
FLUID: fixe external command alert on Unix
Diffstat (limited to 'fluid/ExternalCodeEditor_UNIX.h')
-rw-r--r--fluid/ExternalCodeEditor_UNIX.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fluid/ExternalCodeEditor_UNIX.h b/fluid/ExternalCodeEditor_UNIX.h
index 186a5b5ec..87feba850 100644
--- a/fluid/ExternalCodeEditor_UNIX.h
+++ b/fluid/ExternalCodeEditor_UNIX.h
@@ -9,6 +9,8 @@
#include <FL/Fl.H>
+#include "fluid.h"
+
#include <errno.h> /* errno */
#include <string.h> /* strerror() */
#include <sys/types.h> /* stat().. */
@@ -22,6 +24,10 @@ class ExternalCodeEditor {
time_t file_mtime_; // last modify time of the file (used to determine if file changed)
size_t file_size_; // last file size (used to determine if changed)
const char *filename_;
+ Fd_String command_line_;
+ int last_error_;
+ int alert_pipe_[2];
+ static void alert_pipe_cb(FL_SOCKET, void*);
protected:
void kill_editor();