From 6879d54fc494dd07c214c8582806304e6b09e80f Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 10 Apr 2016 20:38:04 +0000 Subject: Rewrite Fl_lock.cxx under the driver model. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11578 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_System_Driver.H | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'FL') diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index 0bcc7973b..5441d8185 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -152,6 +152,11 @@ public: virtual void png_extra_rgba_processing(unsigned char *array, int w, int h) {} // the default implementation is most probably enough virtual const char *next_dir_sep(const char *start) { return strchr(start, '/');} + // implement to support threading + virtual void awake(void*) {} + virtual int lock() {return 1;} + virtual void unlock() {} + virtual void* thread_message() {return NULL;} }; #endif // FL_SYSTEM_DRIVER_H -- cgit v1.2.3