]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetmarginal.h
simplificatons
[lyx.git] / src / insets / insetmarginal.h
index f8d650b97069a6bd880f8d2e2aedcb504b64430d..09ae022f6e70cf2de77518eb80c1788a7d06743a 100644 (file)
 #pragma interface
 #endif
 
-#include "insetcollapsable.h"
-
-class Painter;
+#include "insetfootlike.h"
 
 /** The marginal note inset
   
 */
-class InsetMarginal : public InsetCollapsable {
+class InsetMarginal : public InsetFootlike {
 public:
        ///
-       explicit
        InsetMarginal();
        ///
-       ~InsetMarginal() {}
-       ///
-       void Write(Buffer const * buf, std::ostream & os) const;
-       ///
-       Inset * Clone() const;
-       ///
-       Inset::Code LyxCode() const { return Inset::MARGIN_CODE; }
-       ///
-       int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
-       ///
-       const char * EditMessage() const;
-       ///
-       bool InsertInset(BufferView *, Inset * inset);
+       Inset::Code lyxCode() const { return Inset::MARGIN_CODE; }
        ///
-       bool InsertInsetAllowed(Inset * inset) const;
+       int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
        ///
-       LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
+       string const editMessage() const;
 };
 
 #endif