summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_System_Driver.H5
1 files changed, 5 insertions, 0 deletions
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