]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfoot.h
The speed patch: redraw only rows that have changed
[lyx.git] / src / insets / insetfoot.h
index 6b0e31cf3a6da6125eead493848a5e1c7e56c1a4..dfcfed3b63fafeb891280f09b89395125570e6a3 100644 (file)
@@ -7,14 +7,12 @@
  * \author Jürgen Vigna
  * \author Lars Gullik Bjønnes
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef INSETFOOT_H
 #define INSETFOOT_H
 
-
-#include "LaTeXFeatures.h"
 #include "insetfootlike.h"
 
 /** The footnote inset
@@ -25,18 +23,19 @@ public:
        ///
        InsetFoot(BufferParams const &);
        ///
-       InsetFoot(InsetFoot const &);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       InsetBase::Code lyxCode() const { return InsetBase::FOOT_CODE; }
        ///
-       Inset::Code lyxCode() const { return Inset::FOOT_CODE; }
+       int latex(Buffer const &, std::ostream &,
+                 OutputParams const &) const;
        ///
-       int latex(Buffer const *, std::ostream &,
-                 LatexRunParams const &) const;
+       int docbook(Buffer const &, std::ostream &,
+                   OutputParams const & runparams) const;
        ///
-       int docbook(Buffer const *, std::ostream &, bool mixcont) const;
-       ///
-       string const editMessage() const;
+       std::string const editMessage() const;
+protected:
+       InsetFoot(InsetFoot const &);
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif