X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfoot.h;h=46caafc48683b3f8e3883e42f7ecf7cf2f33f61d;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=d20a0510b8abf06bb5fa2527d6a22a3b8df80829;hpb=0507b8600d40ac155d6576dafe1218db643a8970;p=lyx.git diff --git a/src/insets/insetfoot.h b/src/insets/insetfoot.h index d20a0510b8..46caafc486 100644 --- a/src/insets/insetfoot.h +++ b/src/insets/insetfoot.h @@ -7,19 +7,17 @@ * \author Jürgen Vigna * \author Lars Gullik Bjønnes * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. */ #ifndef INSETFOOT_H #define INSETFOOT_H -#ifdef __GNUG__ -#pragma interface -#endif - -#include "LaTeXFeatures.h" #include "insetfootlike.h" + +namespace lyx { + /** The footnote inset */ @@ -28,17 +26,22 @@ public: /// InsetFoot(BufferParams const &); /// - InsetFoot(InsetFoot const &, bool same_id = false); + InsetBase::Code lyxCode() const { return InsetBase::FOOT_CODE; } /// - Inset * clone(Buffer const &, bool same_id = false) const; + int latex(Buffer const &, odocstream &, + OutputParams const &) const; /// - Inset::Code lyxCode() const { return Inset::FOOT_CODE; } + int docbook(Buffer const &, odocstream &, + OutputParams const & runparams) const; /// - int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; - /// - int docbook(Buffer const *, std::ostream &, bool mixcont) const; - /// - string const editMessage() const; + virtual docstring const editMessage() const; +protected: + InsetFoot(InsetFoot const &); +private: + virtual std::auto_ptr doClone() const; }; + +} // namespace lyx + #endif