From c5960df5fb4d99098c4ecbc28cc2f90c7f02e9aa Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 9 Sep 2016 15:56:33 +0000 Subject: Rewrite fl_open_callback() under the driver model. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_System_Driver.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'FL/Fl_System_Driver.H') diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index 89d18a8a2..e9f0f38c6 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -208,6 +208,8 @@ public: virtual void add_fd(int fd, Fl_FD_Handler cb, void* = 0); virtual void remove_fd(int, int when); virtual void remove_fd(int); + // the default implementation of open_callback() may be enough + virtual void open_callback(void (*)(const char *)); }; #endif // FL_SYSTEM_DRIVER_H -- cgit v1.2.3