summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-10 18:36:47 +0000
committerManolo Gouy <Manolo>2016-04-10 18:36:47 +0000
commit99b3c6813aa7ecf32696e6e83a52a39254f537e4 (patch)
tree10290591bb6882304b13fe1ba1a7ba2e31e48d2c /FL
parentc3f1877fd111d9d708ef03470e6723d7ce2e24a1 (diff)
Rewrite Fl_File_Input.cxx under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11575 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_System_Driver.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H
index 5073be7ec..db3784d7b 100644
--- a/FL/Fl_System_Driver.H
+++ b/FL/Fl_System_Driver.H
@@ -30,6 +30,7 @@
#include <FL/Fl_Preferences.H>
#include <stdio.h>
#include <stdarg.h>
+#include <string.h>
class Fl_File_Icon;
class Fl_File_Browser;
@@ -147,6 +148,8 @@ public:
virtual void *dlopen(const char *filename) {return NULL;}
// the default implementation is most probably enough
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, '/');}
};
#endif // FL_SYSTEM_DRIVER_H