]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/sg_path.hxx
math: Move lerp function into SGMisc.
[simgear.git] / simgear / misc / sg_path.hxx
index 969eec0bfc124d88c0c18ac052979047584a06fd..1f9dfbe706c4d3a0d663001e4d977d5446be907a 100644 (file)
@@ -111,6 +111,12 @@ public:
      */
     void concat( const std::string& p );
 
+    /**
+     * Returns a string with the absolute pathname that names the same file, whose
+     * resolution does not involve '.', '..', or symbolic links.
+     */
+    std::string realpath() const;
+
     /**
      * Get the file part of the path (everything after the last path sep)
      * @return file string