]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclass.h
Point fix, earlier forgotten
[lyx.git] / src / lyxtextclass.h
index 2b0a3a538a5d0ad308e7dbb0641431daa217b497..485b8290b34429071cb23d9957d6e66f3884d251 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef LYXTEXTCLASS_H
@@ -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_;
 };