]> git.lyx.org Git - lyx.git/blobdiff - src/LayoutFile.h
Account for old versions of Pygments
[lyx.git] / src / LayoutFile.h
index 1632cda117320df5d86ac904778e1caad686a6d4..e911aa5a6b41f2ece4a7d9a97b147194bb7958d1 100644 (file)
@@ -118,8 +118,9 @@ public:
        /// add a textclass from user local directory.
        /// \return the identifier for the loaded file, or else an
        /// empty string if no file was loaded.
-       LayoutFileIndex
-               addLocalLayout(std::string const & textclass, std::string const & path);
+       LayoutFileIndex addLocalLayout(std::string const & textclass,
+                                      std::string const & path,
+                                      std::string const & oldpath = empty_string());
        /// a list of the available classes
        std::vector<LayoutFileIndex> classList() const;