summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-09-09 15:56:33 +0000
committerManolo Gouy <Manolo>2016-09-09 15:56:33 +0000
commitc5960df5fb4d99098c4ecbc28cc2f90c7f02e9aa (patch)
tree262d21c1cb4e6fba5dfb48424e61f20ef264bdf2 /src/drivers
parent86e48ce2ca8269e2b94c57d4988c4fd9e4d2a202 (diff)
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
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/Darwin/Fl_Darwin_System_Driver.H1
-rw-r--r--src/drivers/PicoSDL/Fl_PicoSDL_System_Driver.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/Darwin/Fl_Darwin_System_Driver.H b/src/drivers/Darwin/Fl_Darwin_System_Driver.H
index 400184d05..a8cbe7d75 100644
--- a/src/drivers/Darwin/Fl_Darwin_System_Driver.H
+++ b/src/drivers/Darwin/Fl_Darwin_System_Driver.H
@@ -76,6 +76,7 @@ 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);
+ virtual void open_callback(void (*)(const char *));
};
#endif // FL_DARWIN_SYSTEM_DRIVER_H
diff --git a/src/drivers/PicoSDL/Fl_PicoSDL_System_Driver.cxx b/src/drivers/PicoSDL/Fl_PicoSDL_System_Driver.cxx
index 32cd3b698..4043b7cb6 100644
--- a/src/drivers/PicoSDL/Fl_PicoSDL_System_Driver.cxx
+++ b/src/drivers/PicoSDL/Fl_PicoSDL_System_Driver.cxx
@@ -31,8 +31,6 @@ Fl_System_Driver *Fl_System_Driver::newSystemDriver()
return new Fl_System_Driver();
}
-void fl_open_callback(void (*cb)(const char *)) {}
-
//
// End of "$Id$".
//