]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettheorem.h
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / insettheorem.h
index ed9b88f81c473b138fb1d61720d0c03c2bc0b347..2e1d8d59b11c2f3d54ba7d859442e05802ca7b30 100644 (file)
@@ -15,6 +15,9 @@
 
 #include "insetcollapsable.h"
 
+
+namespace lyx {
+
 /** The theorem inset
 
 */
@@ -27,14 +30,14 @@ public:
        ///
        Inset::Code lyxCode() const { return Inset::THEOREM_CODE; }
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
+       bool metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       int latex(Buffer const &, std::ostream &,
+       int latex(Buffer const &, odocstream &,
                  OutputParams const &) const;
        ///
-       virtual lyx::docstring const editMessage() const;
+       virtual docstring const editMessage() const;
 private:
        virtual std::auto_ptr<InsetBase> doClone() const;
 
@@ -42,4 +45,7 @@ private:
        mutable unsigned int center_indent_;
 };
 
+
+} // namespace lyx
+
 #endif