diff options
| author | Manolo Gouy <Manolo> | 2016-03-29 19:41:14 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-29 19:41:14 +0000 |
| commit | fd600aa2396cc7fa0d4cd020cd318fbe6ef6e9b4 (patch) | |
| tree | 493be8570207f5c634e65679b9c610e4d3c4667d /FL/Fl_System_Driver.H | |
| parent | eff92c82110b379e3c6bace9719e1bd0c35ce2f6 (diff) | |
Rewrite fl_utf8.cxx under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_System_Driver.H')
| -rw-r--r-- | FL/Fl_System_Driver.H | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index 4ace8411d..ec5972e3e 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -93,6 +93,21 @@ public: // implement to support drag-n-drop. use_selection = 1 means the GUI is welcome to display // the selected text during the D&D operation virtual int dnd(int use_selection = 0) {return 0;} + + virtual char *utf2mbcs(const char *s) {return (char*)s;} + virtual char *getenv(const char* v); + virtual int open(const char* f, int oflags, int pmode) {return -1;} + virtual FILE *fopen(const char* f, const char *mode) {return NULL;} + virtual int system(const char* cmd) {return -1;} + virtual int execvp(const char *file, char *const *argv) {return -1;} + virtual int chmod(const char* f, int mode) {return -1;} + virtual int access(const char* f, int mode) { return -1;} + virtual int stat(const char* f, struct stat *b) { return -1;} + virtual char *getcwd(char* b, int l) {return NULL;} + virtual int unlink(const char* f) {return -1;} + virtual int mkdir(const char* f, int mode) {return -1;} + virtual int rmdir(const char* f) {return -1;} + virtual int rename(const char* f, const char *n) {return -1;} }; #endif // FL_SYSTEM_DRIVER_H |
