From 5456a2b8fc5b1d1121a8b80d6f190147c3f89f45 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 4 Jan 2007 14:53:54 +0000 Subject: 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 --- FL/filename.H | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'FL') 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 */ /* -- cgit v1.2.3