]> git.lyx.org Git - features.git/blobdiff - src/support/FileName.h
Revert "WIP: refactor Systemcall"
[features.git] / src / support / FileName.h
index 1cf1e730f4801704e2c955d1b132a4d60def40c8..95940a9235a71234b6518cd3487d6e7796d8ef81 100644 (file)
@@ -177,6 +177,9 @@ public:
        */
        void changeExtension(std::string const & extension);
 
+       /// Add extension to the file name if it is not already there
+       void ensureExtension(std::string const & extension);
+
        static FileName fromFilesystemEncoding(std::string const & name);
 
        /// get the current working directory