diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2018-06-23 16:47:40 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2018-06-23 16:47:40 +0000 |
| commit | a9fd08ff5ab8bbf3838200ceace671a72627d212 (patch) | |
| tree | b7821c8f82a8ab75c682d9175c24bfaaf2993501 /src/filename_absolute.cxx | |
| parent | 8c993648dbb568e35271ad4c8bd346d7eb97e69b (diff) | |
Doxygen: created Group to document drivers, disabled by default
Uncomment `ENABLED_SECTIONS += DriverDev` in documentation/Doxyfile.in
to enable driver documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12968 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/filename_absolute.cxx')
| -rw-r--r-- | src/filename_absolute.cxx | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/filename_absolute.cxx b/src/filename_absolute.cxx index 1f1c7ddbe..a21e0ff1e 100644 --- a/src/filename_absolute.cxx +++ b/src/filename_absolute.cxx @@ -49,6 +49,12 @@ int fl_filename_absolute(char *to, int tolen, const char *from) { } +/** + * @cond DriverDev + * @addtogroup DriverDeveloper + * @{ + */ + int Fl_System_Driver::filename_absolute(char *to, int tolen, const char *from) { if (isdirsep(*from) || *from == '|') { strlcpy(to, from, tolen); @@ -88,6 +94,12 @@ int Fl_System_Driver::filename_absolute(char *to, int tolen, const char *from) { return 1; } +/** + * @} + * @endcond + */ + + /** Makes a filename relative to the current working directory. \code #include <FL/filename.H> @@ -136,6 +148,13 @@ fl_filename_relative(char *to, // O - Relative filename return Fl::system_driver()->filename_relative(to, tolen, from, base); } + +/** + * @cond DriverDev + * @addtogroup DriverDeveloper + * @{ + */ + int // O - 0 if no change, 1 if changed Fl_System_Driver::filename_relative(char *to, // O - Relative filename int tolen, // I - Size of "to" buffer @@ -207,6 +226,11 @@ Fl_System_Driver::filename_relative(char *to, // O - Relative filename return 1; } +/** + * @} + * @endcond + */ + // // End of "$Id$". // |
