]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclasslist.h
Fix bug 2485 and crash on middle mouse paste on math
[lyx.git] / src / lyxtextclasslist.h
index 80ac1de17b00371a037a039d0cf65abdd8d0437c..9bea70bde5b8e12760fc7ec5cef6bd4f7700a35a 100644 (file)
@@ -47,6 +47,12 @@ public:
 
        /// Read textclass list.  Returns false if this fails.
        bool read();
+       
+       /// add a textclass from user local directory. 
+       /// Return ture/false, and textclass number
+       std::pair<bool, lyx::textclass_type> const
+       addTextClass(std::string const & textclass, std::string const & path);
+
 private:
        ///
        mutable ClassList classlist_;