X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfoot.h;h=2a64b918726127adba50fea8d8cc33cb2d9206a8;hb=3ce727041d6eef7a30ea58d8469ac8042eb20409;hp=0f417281d1561761b227b0773c3772100c98efdc;hpb=ee16c6dfc0268060144dd4de0d40d43d2b25622c;p=lyx.git diff --git a/src/insets/insetfoot.h b/src/insets/insetfoot.h index 0f417281d1..2a64b91872 100644 --- a/src/insets/insetfoot.h +++ b/src/insets/insetfoot.h @@ -18,36 +18,24 @@ #pragma interface #endif -#include "insetcollapsable.h" - -class Painter; +#include "insetfootlike.h" /** The footnote inset */ -class InsetFoot : public InsetCollapsable { +class InsetFoot : public InsetFootlike { public: /// - explicit InsetFoot(); /// - ~InsetFoot() {} - /// - void Write(Buffer const * buf, std::ostream & os) const; - /// - Inset * Clone() const; - /// - Inset::Code LyxCode() const { return Inset::FOOT_CODE; } - /// - int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; + Inset::Code lyxCode() const { return Inset::FOOT_CODE; } /// - const char * EditMessage() const; + int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; /// - bool InsertInset(BufferView *, Inset * inset); - /// - bool InsertInsetAllowed(Inset * inset) const; - /// - LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const; + string const editMessage() const; }; #endif + + +