// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
+/**
+ * \file insetmarginal.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * Copyright 1998 The LyX Team.
+ * \author Jürgen Vigna
+ * \author Lars Gullik Bjønnes
*
- *======================================================
+ * Full author contact details are available in file CREDITS
*/
#ifndef INSETMARGINAL_H
#define INSETMARGINAL_H
-#ifdef __GNUG__
-#pragma interface
-#endif
#include "insetfootlike.h"
/** The marginal note inset
-
+
*/
class InsetMarginal : public InsetFootlike {
public:
///
- InsetMarginal();
+ InsetMarginal(BufferParams const &);
+ ///
+ InsetMarginal(InsetMarginal 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;
};