]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfoot.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetfoot.h
index 8c8895d62aaafb128c835873e4fd23f1f52203eb..da1e1d662b946d185e172a1ae49185fbc3aa7701 100644 (file)
@@ -1,22 +1,18 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
+/**
+ * \file insetfoot.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author Jürgen Vigna
+ * \author Lars Gullik Bjønnes
  *
- *           Copyright 1998 The LyX Team.
- *
- *======================================================
+ * 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 "LaTeXFeatures.h"
 #include "insetfootlike.h"
@@ -29,13 +25,16 @@ public:
        ///
        InsetFoot(BufferParams const &);
        ///
-       InsetFoot(InsetFoot const &, bool same_id = false);
+       InsetFoot(InsetFoot const &);
+       ///
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       Inset * clone(Buffer const &, bool same_id = false) const;
+       InsetOld::Code lyxCode() const { return InsetOld::FOOT_CODE; }
        ///
-       Inset::Code lyxCode() const { return Inset::FOOT_CODE; }
+       int latex(Buffer const *, std::ostream &,
+                 LatexRunParams const &) const;
        ///
-       int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+       int docbook(Buffer const *, std::ostream &, bool mixcont) const;
        ///
        string const editMessage() const;
 };