summaryrefslogtreecommitdiff
path: root/FL/Fl_System_Driver.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-08 15:17:39 +0000
committerManolo Gouy <Manolo>2016-04-08 15:17:39 +0000
commit62952ea2952768d922e2c93bcaa67e05c419f5a3 (patch)
tree3dcd142b3e57409079e86a3535c16a68567addc4 /FL/Fl_System_Driver.H
parent19b98e40de481349f88c02883a2330ed19ccd316 (diff)
Rewrite filename_absolute.cxx for the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11554 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_System_Driver.H')
-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