]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclass.h
move some selection related stuff over to textcursor.C
[lyx.git] / src / lyxtextclass.h
index 2b0a3a538a5d0ad308e7dbb0641431daa217b497..70817d1ad83e5a95d6b4aa59e2f851d866adf0f8 100644 (file)
@@ -35,7 +35,11 @@ public:
        explicit
        LyXTextClass(string const & = string(),
                     string const & = string(),
-                    string const & = string());
+                    string const & = string(),
+                    bool = false);
+
+       /// check whether the TeX class is available
+       bool isTeXClassAvailable() const;
 
        /// paragraph styles begin iterator.
        const_iterator begin() const { return layoutlist_.begin(); }
@@ -210,6 +214,9 @@ private:
 
        /// Has this layout file been loaded yet?
        mutable bool loaded;
+
+       /// Is the TeX class available?
+       bool texClassAvail_;
 };