diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-01-27 11:35:05 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-01-27 11:35:17 +0100 |
| commit | 873d355ec271b22f0e48dac1c8eaca7deb075e66 (patch) | |
| tree | a7515616c5e61d5724f0ca862e01dddb3816e5bd /fluid/ExternalCodeEditor_UNIX.h | |
| parent | cb64a6d7687df314d14aeb014c2b6556bbb04ee4 (diff) | |
FLUID: fixe external command alert on Unix
Diffstat (limited to 'fluid/ExternalCodeEditor_UNIX.h')
| -rw-r--r-- | fluid/ExternalCodeEditor_UNIX.h | 6 |
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(); |
