]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTheorem.h
* src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
[lyx.git] / src / insets / InsetTheorem.h
index 479e1bb262c022b68178bc3b64b7c14330b5c85f..302fce7f8fdb81018d02469d61a999e5037c275e 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file InsetBase.heorem.h
+ * \file Inset.heorem.h
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
@@ -9,9 +9,10 @@
  * Full author contact details are available in file CREDITS.
  */
 
-#ifndef InsetBase.heorem_H
-#define InsetBase.heorem_H
+#if 0
 
+#ifndef INSETTHEOREM_H
+#define INSETTHEOREM_H
 
 #include "InsetCollapsable.h"
 
@@ -21,16 +22,16 @@ namespace lyx {
 /** The theorem inset
 
 */
-class InsetBase.heorem : public InsetCollapsable {
+class Inset.heorem : public InsetCollapsable {
 public:
        ///
-       InsetBase.heorem();
+       Inset.heorem();
        ///
        void write(Buffer const & buf, std::ostream & os) const;
        ///
        Inset::Code lyxCode() const { return Inset::THEOREM_CODE; }
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -39,7 +40,7 @@ public:
        ///
        virtual docstring const editMessage() const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 
        ///
        mutable unsigned int center_indent_;
@@ -49,3 +50,5 @@ private:
 } // namespace lyx
 
 #endif
+
+#endif