diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-11-15 10:09:01 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-11-15 10:09:01 +0100 |
| commit | 7f8f7c5b851f4e15cf95c6e819bff284b7fda7ca (patch) | |
| tree | 48a51de221358f977c494a955b73ceca6cd679be /src/drivers/Posix/Fl_Posix_System_Driver.H | |
| parent | 433a8e71e81c51a96f1d617fae5a3a4aac4efaeb (diff) | |
Add support of .svgz image files to fluid
The prototype of the public Fl_SVG_Image constructor is expanded
to allow construction from in-memory, gzip'ed binary data.
Diffstat (limited to 'src/drivers/Posix/Fl_Posix_System_Driver.H')
| -rw-r--r-- | src/drivers/Posix/Fl_Posix_System_Driver.H | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/Posix/Fl_Posix_System_Driver.H b/src/drivers/Posix/Fl_Posix_System_Driver.H index df9407c17..5712f6be2 100644 --- a/src/drivers/Posix/Fl_Posix_System_Driver.H +++ b/src/drivers/Posix/Fl_Posix_System_Driver.H @@ -82,6 +82,10 @@ public: virtual int dot_file_hidden() {return 1;} virtual void gettime(time_t *sec, int *usec); virtual char* strdup(const char *s) {return ::strdup(s);} + virtual int close_fd(int fd); + // next 2 for support of Fl_SVG_Image + virtual int write_nonblocking_fd(int , const unsigned char *&, size_t &); + virtual void pipe_support(int &, int &, const unsigned char *, size_t ); #if defined(HAVE_PTHREAD) virtual void lock_ring(); virtual void unlock_ring(); |
