]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileName.h
Attempt to fix #8137 (arrived at r40862).
[lyx.git] / src / support / FileName.h
index 6744db1834206c0a8eb3abedb81432d6261c3ede..9d282e58a331659fb600be86a7b896e3241a76c2 100644 (file)
@@ -194,6 +194,9 @@ public:
        bool hasExtension(const std::string & ext);
        /// path without file name
        FileName onlyPath() const;
+       /// path of parent directory
+       /// returns empty path for root directory
+       FileName parentPath() const;
        /// used for display in the Gui
        docstring displayName(int threshold = 1000) const;