]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetenv.h
Enable convertDefault.sh to run even if its executable bit is not set.
[lyx.git] / src / insets / insetenv.h
index 2a8cd40e4cd6d0b0e031d76687a78174aaf49ac1..5a1758f1cdb0414ab21910be21e57f2b5fab9ad9 100644 (file)
@@ -6,7 +6,7 @@
  *
  * \author André Pönitz
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef INSETENVIRONMENT_H
@@ -20,28 +20,26 @@ public:
        ///
        InsetEnvironment(BufferParams const &, string const & name);
        ///
-       InsetEnvironment(InsetEnvironment const &, bool same_id = false);
+       InsetEnvironment(InsetEnvironment const &);
        ///
-       void write(Buffer const * buf, std::ostream & os) const;
+       void write(Buffer const & buf, std::ostream & os) const;
        ///
-       void read(Buffer const * buf, LyXLex & lex);
+       void read(Buffer const & buf, LyXLex & lex);
        ///
-       Inset * clone(Buffer const &, bool same_id = false) const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       Inset::Code lyxCode() const { return Inset::ENVIRONMENT_CODE; }
+       InsetOld::Code lyxCode() const { return InsetOld::ENVIRONMENT_CODE; }
        ///
-       int latex(Buffer const *, std::ostream &, LatexRunParams const &,
-                 bool fp) const;
+       int latex(Buffer const &, std::ostream &,
+                 LatexRunParams const &) const;
        ///
        string const editMessage() const;
        ///
-       Inset::EDITABLE editable() const { return HIGHLY_EDITABLE; }
+       InsetOld::EDITABLE editable() const { return HIGHLY_EDITABLE; }
        ///
        bool isTextInset() const { return true; }
        ///
        LyXLayout_ptr const & layout() const;
-       ///
-       bool needFullRow() const { return true; }
        /** returns true if, when outputing LaTeX, font changes should
             be closed before generating this inset. This is needed for
             insets that may contain several paragraphs */