]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfoot.h
Don't remove cell selections after fontchange.
[lyx.git] / src / insets / insetfoot.h
index 3ac1ee73bf7e0522c4b7bfa928fc8f574a35a4d7..275a69c39e181e3ffab1b70309da930af526e53c 100644 (file)
 #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 &, signed char, bool fp) const;
-    ///
-    void Write(std::ostream &) const;
-    ///
-    void Read(LyXLex &);
-    ///
-    const char * EditMessage() const;
-    ///
-    bool InsertInset(BufferView *, Inset * inset);
+       ///
+       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
+
+
+