diff --git a/simgear/misc/sg_path.hxx b/simgear/misc/sg_path.hxx index 4b92f033..429097f4 100644 --- a/simgear/misc/sg_path.hxx +++ b/simgear/misc/sg_path.hxx @@ -100,6 +100,12 @@ public: */ string dir(); + /** + * Return the filename part of the path. + * @return file name string + */ + string filename(); + /** Get the path string * @return path string */