diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-04-19 22:45:22 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-04-19 22:45:22 +0000 |
| commit | 769d151a121ac849a365a509d644c3328738970a (patch) | |
| tree | 65aab2b83a8ca4b678088b06e8771053c10943d7 /src/Fl.cxx | |
| parent | cd4498021e9623da828b3fb8344bc4db35675efe (diff) | |
Virtualized add_fd and remove_fd into System Driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl.cxx')
| -rw-r--r-- | src/Fl.cxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index 534a7d8e0..b964614a0 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1939,6 +1939,27 @@ int Fl::clipboard_contains(const char *type) return Fl::system_driver()->clipboard_contains(type); } + +void Fl::add_fd(int fd, int when, Fl_FD_Handler cb, void *d) +{ + Fl::system_driver()->add_fd(fd, when, cb, d); +} + +void Fl::add_fd(int fd, Fl_FD_Handler cb, void *d) +{ + Fl::system_driver()->add_fd(fd, cb, d); +} + +void Fl::remove_fd(int fd, int when) +{ + Fl::system_driver()->remove_fd(fd, when); +} + +void Fl::remove_fd(int fd) +{ + Fl::system_driver()->remove_fd(fd); +} + /** Enables the system input methods facilities. This is the default. \see disable_im() |
