From 19b98e40de481349f88c02883a2330ed19ccd316 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 7 Apr 2016 16:54:20 +0000 Subject: Rewrite filename_expand.cxx under the driver model. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11553 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_System_Driver.H | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'FL') diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index 7984a6050..12e0f5f1d 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -98,6 +98,10 @@ 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 + virtual int filename_expand(char *to, int tolen, const char *from); + // to implement + virtual const char *getpwnam(const char *login) {return NULL;} }; #endif // FL_SYSTEM_DRIVER_H -- cgit v1.2.3