]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfoot.h
simplificatons
[lyx.git] / src / insets / insetfoot.h
index fa8b6533342841fe67c956bcd249920af5b578a7..2a64b918726127adba50fea8d8cc33cb2d9206a8 100644 (file)
 #pragma interface
 #endif
 
-#include "insetcollapsable.h"
-
-using std::ostream;
-
-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(ostream &, signed char, bool fp) const;
-    ///
-    void Write(ostream &) const;
-    ///
-    void Read(LyXLex &);
-    ///
-    const char * EditMessage() const;
-    ///
-    bool InsertInset(BufferView *, Inset * inset);
+       ///
+       InsetFoot();
+       ///
+       Inset::Code lyxCode() const { return Inset::FOOT_CODE; }
+       ///
+       int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+       ///
+       string const editMessage() const;
 };
 
 #endif
+
+
+