summaryrefslogtreecommitdiff
path: root/fluid/tools/filename.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-03-08 00:13:36 +0100
committerMatthias Melcher <github@matthiasm.com>2025-03-08 00:14:27 +0100
commitca22660bbb7efe4b38ab5af6a233a1ef5ef33389 (patch)
treee70ec2e434f0dd370d738e55b7e47463043178a1 /fluid/tools/filename.h
parent187eaa04414f27fdc3dc7c663aaf19cfbd4d3097 (diff)
Fluid: last incremental change: restructuring
Diffstat (limited to 'fluid/tools/filename.h')
-rw-r--r--fluid/tools/filename.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/fluid/tools/filename.h b/fluid/tools/filename.h
new file mode 100644
index 000000000..4544a0534
--- /dev/null
+++ b/fluid/tools/filename.h
@@ -0,0 +1,28 @@
+/*
+ * Filename header file for the Fast Light Tool Kit (FLTK).
+ *
+ * Copyright 1998-2025 by Bill Spitzak and others.
+ *
+ * This library is free software. Distribution and use rights are outlined in
+ * the file "COPYING" which should have been included with this file. If this
+ * file is missing or damaged, see the license at:
+ *
+ * https://www.fltk.org/COPYING.php
+ *
+ * Please see the following page on how to report bugs and issues:
+ *
+ * https://www.fltk.org/bugs.php
+ */
+
+/** \file fluid/fluid_filename.h
+ \brief Handling file names operations that are not in the core library.
+*/
+
+#ifndef FLUID_TOOLS_FILENAME_H
+#define FLUID_TOOLS_FILENAME_H
+
+#include <string>
+
+std::string fl_filename_shortened(const std::string &filename, int maxchars);
+
+#endif // FLUID_TOOLS_FILENAME_H