]> git.lyx.org Git - lyx.git/blobdiff - src/TextClassList.h
make index label translatable
[lyx.git] / src / TextClassList.h
index 0defc16c07b6cb7a672b3dfc4f9a4a4739a25245..740b87f5364dcbbcd265f949a01868786f9b0a0f 100644 (file)
@@ -51,10 +51,13 @@ 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, textclass_type> const
-       addTextClass(std::string const & textclass, std::string const & path);
+       /// Clears the textclass so as to force it to be reloaded
+       void reset(textclass_type const textclass);
+
+       /// add a textclass from user local directory.
+       /// Return ture/false, and textclass number
+       std::pair<bool, textclass_type> const
+       addTextClass(std::string const & textclass, std::string const & path);
 
 private:
        ///