]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetmarginal.h
Enable convertDefault.sh to run even if its executable bit is not set.
[lyx.git] / src / insets / insetmarginal.h
index 55d657ea6f6f1330f36e1fbf0f1b86da773a64f8..a1cbfa0016f09d040c9be823e9e2b53f439f2052 100644 (file)
@@ -7,15 +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 INSETMARGINAL_H
 #define INSETMARGINAL_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "insetfootlike.h"
 
@@ -27,13 +24,14 @@ public:
        ///
        InsetMarginal(BufferParams const &);
        ///
-       InsetMarginal(InsetMarginal const &, bool same_id = false);
+       InsetMarginal(InsetMarginal const &);
        ///
-       Inset * clone(Buffer const &, bool same_id = false) const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       Inset::Code lyxCode() const { return Inset::MARGIN_CODE; }
+       InsetOld::Code lyxCode() const { return InsetOld::MARGIN_CODE; }
        ///
-       int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+       int latex(Buffer const &, std::ostream &,
+                 LatexRunParams const &) const;
        ///
        string const editMessage() const;
 };