diff options
Diffstat (limited to 'src/IO/iowatch.cc')
-rw-r--r-- | src/IO/iowatch.cc | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/IO/iowatch.cc b/src/IO/iowatch.cc index f5243934..13c537fe 100644 --- a/src/IO/iowatch.cc +++ b/src/IO/iowatch.cc @@ -9,14 +9,16 @@ * (at your option) any later version. */ -// Simple ADT for watching file descriptor activity +/** @file + * Simple ADT for watching file descriptor activity + */ #include <FL/Fl.H> #include "iowatch.hh" -// -// Hook a Callback for a certain activities in a FD -// +/** + * Hook a Callback for a certain activities in a FD + */ void a_IOwatch_add_fd(int fd, int when, Fl_FD_Handler Callback, void *usr_data = 0) { @@ -24,9 +26,9 @@ void a_IOwatch_add_fd(int fd, int when, Fl_FD_Handler Callback, Fl::add_fd(fd, when, Callback, usr_data); } -// -// Remove a Callback for a given FD (or just remove some events) -// +/** + * Remove a Callback for a given FD (or just remove some events) + */ void a_IOwatch_remove_fd(int fd, int when) { if (fd >= 0) |