summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/filename.H14
1 files changed, 14 insertions, 0 deletions
diff --git a/FL/filename.H b/FL/filename.H
index d9caa70bb..fb2272b43 100644
--- a/FL/filename.H
+++ b/FL/filename.H
@@ -53,6 +53,20 @@ FL_EXPORT int fl_filename_relative(char *to, int tolen, const char *from);
FL_EXPORT int fl_filename_match(const char *name, const char *pattern);
FL_EXPORT int fl_filename_isdir(const char *name);
+# if defined(__cplusplus)
+
+class Fl_String;
+
+FL_EXPORT Fl_String fl_filename_name(const Fl_String &filename);
+FL_EXPORT Fl_String fl_filename_path(const Fl_String &filename);
+FL_EXPORT Fl_String fl_filename_ext(const Fl_String &filename);
+FL_EXPORT Fl_String fl_filename_setext(const Fl_String &filename, const Fl_String &new_extension);
+FL_EXPORT Fl_String fl_filename_expand(const Fl_String &from);
+FL_EXPORT Fl_String fl_filename_absolute(const Fl_String &from);
+FL_EXPORT Fl_String fl_filename_relative(const Fl_String &from);
+
+# endif
+
# if defined(__cplusplus) && !defined(FL_DOXYGEN)
/*
* Under Windows, we include filename.H from numericsort.c; this should probably change...