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_ext.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_ext.cxx')
| -rw-r--r-- | src/filename_ext.cxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/filename_ext.cxx b/src/filename_ext.cxx index f07e6797f..43f0a7962 100644 --- a/src/filename_ext.cxx +++ b/src/filename_ext.cxx @@ -34,6 +34,21 @@ const char *fl_filename_ext(const char *buf) { return Fl::system_driver()->filename_ext(buf); } + +/** + * @cond DriverDev + * @addtogroup DriverDeveloper + * @{ + */ + +/** + * Default implementation to find a filename extension. + * + * The default implementation assumes that the last `.` character separates + * the extension form the basename of a file. + * + * @see fl_filename_ext(const char*) + */ const char *Fl_System_Driver::filename_ext(const char *buf) { const char *q = 0; const char *p = buf; @@ -44,6 +59,11 @@ const char *Fl_System_Driver::filename_ext(const char *buf) { return q ? q : p; } +/** + * @} + * @endcond + */ + // // End of "$Id$". // |
