]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/sg_path.hxx
Revert "Use simgear internal stuff for the singleton class."
[simgear.git] / simgear / misc / sg_path.hxx
index c19b977dcbe77fddb500cb56232f20812b41bfe8..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
@@ -124,7 +130,7 @@ public:
     std::string dir() const;
   
     /**
-     * Get the base part of the path (everything but the extension.)
+     * Get the base part of the path (everything but the final extension.)
      * @return the base string
      */
     std::string base() const;