]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclass.h
Alfredo's second patch
[lyx.git] / src / lyxtextclass.h
index 2b0a3a538a5d0ad308e7dbb0641431daa217b497..53ccef4c12568ca657942efb6f6e23d6edbc56f2 100644 (file)
@@ -61,6 +61,8 @@ 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;
@@ -149,6 +151,8 @@ private:
        ///
        bool delete_layout(string const &);
        ///
+       bool delete_env(string const &);
+       ///
        bool do_readStyle(LyXLex &, LyXLayout &);
        /// Layout file name
        string name_;
@@ -202,6 +206,9 @@ 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_;