#pragma interface
#endif
-#include "insetcollapsable.h"
-
-class Painter;
+#include "LaTeXFeatures.h"
+#include "insetfootlike.h"
/** The footnote inset
*/
-class InsetFoot : public InsetCollapsable {
+class InsetFoot : public InsetFootlike {
public:
- ///
- explicit
- InsetFoot(Buffer *);
- ///
- ~InsetFoot() {}
- ///
- Inset * Clone() const;
- ///
- Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
- ///
- int Latex(std::ostream &, bool fragile, bool fp) const;
- ///
- const char * EditMessage() const;
- ///
- bool InsertInset(BufferView *, Inset * inset);
- ///
- bool InsertInsetAllowed(Inset * inset) const;
- ///
- LyXFont GetDrawFont(LyXParagraph * par, int pos) const;
- ///
+ ///
+ InsetFoot();
+ ///
+ InsetFoot(InsetFoot const &, bool same_id = false);
+ ///
+ Inset * clone(Buffer const &, bool same_id = false) const;
+ ///
+ Inset::Code lyxCode() const { return Inset::FOOT_CODE; }
+ ///
+ int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+ ///
+ string const editMessage() const;
};
#endif
+
+
+