#pragma interface
#endif
-#include "insetcollapsable.h"
-
-class Painter;
+#include "insetfootlike.h"
/** The footnote inset
*/
-class InsetFoot : public InsetCollapsable {
+class InsetFoot : public InsetFootlike {
public:
- ///
- InsetFoot(Buffer *);
- ///
- ~InsetFoot() {}
- ///
- Inset * Clone() const;
- ///
- Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
- ///
- int Latex(std::ostream &, signed char, bool fp) const;
- ///
- void Write(std::ostream &) const;
- ///
- void Read(LyXLex &);
- ///
- const char * EditMessage() const;
- ///
- bool InsertInset(BufferView *, Inset * inset);
+ ///
+ 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 InsertInsetAllowed(Inset * inset) const;
};
#endif
+
+
+