]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfoot.h
Rename LatexRunParams::fragile as moving_arg.
[lyx.git] / src / insets / insetfoot.h
index 2fd833a8186559539f29923e9cd5c465389029b3..14384cd411166d221cb34a07a9d22b0b8ae1ffac 100644 (file)
@@ -1,55 +1,42 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
+/**
+ * \file insetfoot.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           Copyright (C) 1998 The LyX Team.
+ * \author Jürgen Vigna
+ * \author Lars Gullik Bjønnes
  *
- *======================================================
+ * Full author contact details are available in file CREDITS
  */
-// The pristine updatable inset: Text
-
 
 #ifndef INSETFOOT_H
 #define INSETFOOT_H
 
-#ifdef __GNUG__
-#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:
-    ///
-    InsetFoot(Buffer *);
-    ///
-    ~InsetFoot() {}
-    ///
-    InsetFoot * Clone() const;
-    ///
-    Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
-#ifndef USE_OSTREAM_ONLY
-    ///
-    int Latex(string &, signed char) const;
-#endif
-    ///
-    int Latex(ostream &, signed char) const;
-    ///
-    void Write(ostream &) const;
-    ///
-    void Read(LyXLex &);
-    ///
-    const char * EditMessage() const;
-    ///
-    bool InsertInset(BufferView *, Inset * inset);
+       ///
+       InsetFoot(BufferParams const &);
+       ///
+       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 &,
+                 LatexRunParams const &) const;
+       ///
+       int docbook(Buffer const *, std::ostream &, bool mixcont) const;
+       ///
+       string const editMessage() const;
 };
 
 #endif