]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclass.h
More 'standard conformant blurb' nonsense.
[lyx.git] / src / lyxtextclass.h
index 53ccef4c12568ca657942efb6f6e23d6edbc56f2..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(); }
@@ -61,8 +65,6 @@ public:
 
        ///
        LyXLayout_ptr const & operator[](string const & vname) const;
-       ///
-       LyXLayout_ptr const & getEnv(string const & vname) const;
 
        /// Sees to that the textclass structure has been loaded
        bool load() const;
@@ -151,8 +153,6 @@ private:
        ///
        bool delete_layout(string const &);
        ///
-       bool delete_env(string const &);
-       ///
        bool do_readStyle(LyXLex &, LyXLayout &);
        /// Layout file name
        string name_;
@@ -206,9 +206,6 @@ private:
        /// Paragraph styles used in this layout
        LayoutList layoutlist_;
 
-       /// Environment styles used in this layout
-       LayoutList envlist_;
-
        /// available types of float, eg. figure, algorithm.
        boost::shared_ptr<FloatList> floatlist_;
 
@@ -217,6 +214,9 @@ private:
 
        /// Has this layout file been loaded yet?
        mutable bool loaded;
+
+       /// Is the TeX class available?
+       bool texClassAvail_;
 };