class LyXLayout;
/// Reads the style files
-extern void LyXSetStyle();
+extern bool LyXSetStyle();
///
class LyXTextClassList : boost::noncopyable {
/// 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_;