#include <config.h>
-
#include "insetfootlike.h"
#include "lyxfont.h"
#include "buffer.h"
}
-// InsetFootlike::InsetFootlike(InsetFootlike const & in, bool same_id)
-// : InsetCollapsable(in, same_id)
-// {
-// LyXFont font(LyXFont::ALL_SANE);
-// font.decSize();
-// font.decSize();
-// font.setColor(LColor::collapsable);
-// setLabelFont(font);
-// }
-
-
void InsetFootlike::write(Buffer const * buf, ostream & os) const
{
os << getInsetName() << "\n";
}
-bool InsetFootlike::insetAllowed(Inset::Code code) const
+bool InsetFootlike::insetAllowed(InsetOld::Code code) const
{
- if ((code == Inset::FOOT_CODE) || (code == Inset::MARGIN_CODE)
- || (code == Inset::FLOAT_CODE))
+ if (code == InsetOld::FOOT_CODE || code == InsetOld::MARGIN_CODE
+ || code == InsetOld::FLOAT_CODE)
return false;
return InsetCollapsable::insetAllowed(code);
}