#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() {}
- ///
- Inset * Clone() const;
- ///
- Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
- ///
- int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
- ///
- const char * EditMessage() const;
- ///
- bool InsertInset(BufferView *, Inset * inset);
- ///
- bool InsertInsetAllowed(Inset * inset) const;
- ///
- LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
+ ///
+ InsetFoot();
+ ///
+ Inset * Clone(Buffer const &) const;
+ ///
+ Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
+ ///
+ int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+ ///
+ string const EditMessage() const;
+ ///
+ bool InsertInsetAllowed(Inset * inset) const;
};
#endif
+
+
+