diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2007-01-04 14:53:54 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2007-01-04 14:53:54 +0000 |
| commit | 5456a2b8fc5b1d1121a8b80d6f190147c3f89f45 (patch) | |
| tree | 4e7a149283061ee49b551e61b4d1e8acaafebb00 /FL | |
| parent | e806450644365883a6561552bdb2dc65566a8e20 (diff) | |
Add fl_open_uri() function as discussed on fltk.development.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/filename.H | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/FL/filename.H b/FL/filename.H index 558154baf..cc86472fe 100644 --- a/FL/filename.H +++ b/FL/filename.H @@ -111,6 +111,14 @@ typedef int (Fl_File_Sort_F)(struct dirent **, struct dirent **); FL_EXPORT int fl_filename_list(const char *d, struct dirent ***l, Fl_File_Sort_F *s = fl_numericsort); + +/* + * Generic function to open a Uniform Resource Identifier (URI) using a + * system-defined program (added in FLTK 1.1.8) + */ + +FL_EXPORT int fl_open_uri(const char *uri, char *msg = (char *)0, + int msglen = 0); # endif /* __cplusplus */ /* |
