]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfoot.h
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / insetfoot.h
index e99370063d8d67c86fb238138cbc5debf7d34170..46caafc48683b3f8e3883e42f7ecf7cf2f33f61d 100644 (file)
@@ -15,6 +15,9 @@
 
 #include "insetfootlike.h"
 
+
+namespace lyx {
+
 /** The footnote inset
 
 */
@@ -23,19 +26,22 @@ public:
        ///
        InsetFoot(BufferParams const &);
        ///
-       InsetFoot(InsetFoot const &);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       InsetBase::Code lyxCode() const { return InsetBase::FOOT_CODE; }
        ///
-       InsetOld::Code lyxCode() const { return InsetOld::FOOT_CODE; }
-       ///
-       int latex(Buffer const &, std::ostream &,
+       int latex(Buffer const &, odocstream &,
                  OutputParams const &) const;
        ///
-       int docbook(Buffer const &, std::ostream &,
+       int docbook(Buffer const &, odocstream &,
                    OutputParams const & runparams) const;
        ///
-       std::string const editMessage() const;
+       virtual docstring const editMessage() const;
+protected:
+       InsetFoot(InsetFoot const &);
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
+
+} // namespace lyx
+
 #endif