X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfoot.h;h=46caafc48683b3f8e3883e42f7ecf7cf2f33f61d;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=821c73016d5bf8dac117e06db974c1db25e4d0a5;hpb=44cd0fc9a1687cc63911c7f98d978594458e7813;p=lyx.git diff --git a/src/insets/insetfoot.h b/src/insets/insetfoot.h index 821c73016d..46caafc486 100644 --- a/src/insets/insetfoot.h +++ b/src/insets/insetfoot.h @@ -15,6 +15,9 @@ #include "insetfootlike.h" + +namespace lyx { + /** The footnote inset */ @@ -23,18 +26,22 @@ public: /// InsetFoot(BufferParams const &); /// - InsetFoot(InsetFoot const &); - /// - virtual std::auto_ptr clone() const; + InsetBase::Code lyxCode() const { return InsetBase::FOOT_CODE; } /// - InsetOld::Code lyxCode() const { return InsetOld::FOOT_CODE; } + int latex(Buffer const &, odocstream &, + OutputParams const &) const; /// - int latex(Buffer const &, std::ostream &, - LatexRunParams const &) const; + int docbook(Buffer const &, odocstream &, + OutputParams const & runparams) const; /// - int docbook(Buffer const &, std::ostream &, bool mixcont) const; - /// - std::string const editMessage() const; + virtual docstring const editMessage() const; +protected: + InsetFoot(InsetFoot const &); +private: + virtual std::auto_ptr doClone() const; }; + +} // namespace lyx + #endif