summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_System_Driver.H6
1 files changed, 5 insertions, 1 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H
index 12e0f5f1d..03364e2f4 100644
--- a/FL/Fl_System_Driver.H
+++ b/FL/Fl_System_Driver.H
@@ -98,10 +98,14 @@ public:
virtual int get_key(int k) {return 0;}
// implement scandir-like function
virtual int filename_list(const char *d, dirent ***list, int (*sort)(struct dirent **, struct dirent **) ) {return -1;}
- // the default implementation of filename_expand may be enough
+ // the default implementation of filename_expand() may be enough
virtual int filename_expand(char *to, int tolen, const char *from);
// to implement
virtual const char *getpwnam(const char *login) {return NULL;}
+ // the default implementation of filename_relative() is in src/filename_absolute.cxx and may be enough
+ virtual int filename_relative(char *to, int tolen, const char *from, const char *base);
+ // the default implementation of filename_absolute() is in src/filename_absolute.cxx and may be enough
+ virtual int filename_absolute(char *to, int tolen, const char *from);
};
#endif // FL_SYSTEM_DRIVER_H