]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclass.h
don't rm emergency saves ever
[lyx.git] / src / lyxtextclass.h
index 53ccef4c12568ca657942efb6f6e23d6edbc56f2..bc93f8d6fe40950ab5a8c51373f22710bb203bc8 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(); }
@@ -217,6 +221,9 @@ private:
 
        /// Has this layout file been loaded yet?
        mutable bool loaded;
+
+       /// Is the TeX class available?
+       bool texClassAvail_;
 };