]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettheorem.h
Rename LatexRunParams::fragile as moving_arg.
[lyx.git] / src / insets / insettheorem.h
index c81e54f036bfd8a010f977504c6dee936cbfc560..bbb09b7920530b6a2c6f13488bf9dc447cd68f9a 100644 (file)
@@ -1,25 +1,22 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
+/**
+ * \file insettheorem.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           Copyright 1998 The LyX Team.
+ * \author Lars Gullik Bjønnes
  *
- * ======================================================
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef InsetTheorem_H
 #define InsetTheorem_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "insetcollapsable.h"
 
 /** The theorem inset
-  
+
 */
 class InsetTheorem : public InsetCollapsable {
 public:
@@ -28,17 +25,16 @@ public:
        ///
        void write(Buffer const * buf, std::ostream & os) const;
        ///
-       virtual Inset * clone(Buffer const &) const;
+       virtual Inset * clone(Buffer const &, bool same_id = false) const;
        ///
        Inset::Code lyxCode() const { return Inset::THEOREM_CODE; }
        ///
        bool display() const { return true; }
        ///
-       int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+       int latex(Buffer const *, std::ostream &,
+                 LatexRunParams const &) const;
        ///
        string const editMessage() const;
-       ///
-       bool insertInsetAllowed(Inset * inset) const;
 };
 
 #endif