diff options
| author | Manolo Gouy <Manolo> | 2016-04-07 16:54:20 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-07 16:54:20 +0000 |
| commit | 19b98e40de481349f88c02883a2330ed19ccd316 (patch) | |
| tree | 40346d9c13d70c2658406bcc7a5f0eedb83ec88b /FL | |
| parent | 050dfb55045e81ff681982f3d429d9cf8850a606 (diff) | |
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
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_System_Driver.H | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
