]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettheorem.h
Make it compile when USE_BOOST_FORMAT is unset
[lyx.git] / src / insets / insettheorem.h
index c81e54f036bfd8a010f977504c6dee936cbfc560..fea6fe9f3e4c825ad884ae9e3a0a66a92527768f 100644 (file)
@@ -1,12 +1,12 @@
 // -*- 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
@@ -19,7 +19,7 @@
 #include "insetcollapsable.h"
 
 /** The theorem inset
-  
+
 */
 class InsetTheorem : public InsetCollapsable {
 public:
@@ -28,7 +28,7 @@ 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; }
        ///
@@ -37,8 +37,6 @@ public:
        int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
        ///
        string const editMessage() const;
-       ///
-       bool insertInsetAllowed(Inset * inset) const;
 };
 
 #endif