From a9fd08ff5ab8bbf3838200ceace671a72627d212 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 23 Jun 2018 16:47:40 +0000 Subject: 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 --- src/filename_absolute.cxx | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'src/filename_absolute.cxx') 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 @@ -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$". // -- cgit v1.2.3