]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.h
More headers.
[lyx.git] / src / insets / InsetLayout.h
index 08cab983d405366a584cae9e78b5850f2192ef9e..21d11a6f3a5c1ba71d2accd3b8e646d9932168a7 100644 (file)
 
 namespace lyx {
 
+class Lexer;
+       
 ///
 class InsetLayout {
 public:
        ///
        InsetLayout();
        ///
-       std::string name() const { return name_; };
+       bool read(Lexer & lexrc);
+       ///
+       docstring name() const { return name_; };
        ///
        std::string lyxtype() const { return lyxtype_; };
        ///
@@ -67,7 +71,7 @@ public:
        bool isForceLtr() const { return forceltr_; };
 private:
        ///
-       std::string name_;
+       docstring name_;
        ///
        std::string lyxtype_;
        ///
@@ -102,9 +106,6 @@ private:
        bool keepempty_;
        ///
        bool forceltr_;
-       
-       //FIXME This will be removed.
-       friend class TextClass;
 };
 
 } // namespace lyx