using std::ostream;
-InsetIndex::InsetIndex(InsetCommandParams const & p, bool)
+InsetIndex::InsetIndex(InsetCommandParams const & p)
: InsetCommand(p)
{}
+// InsetIndex::InsetIndex(InsetCommandParams const & p, bool)
+// : InsetCommand(p, false)
+// {}
+
+
InsetIndex::~InsetIndex()
{
InsetCommandMailer mailer("index", *this);
case LFUN_INSET_EDIT:
InsetCommandMailer("index", *this).showDialog(cmd.view());
return DISPATCHED;
-
+
default:
- return UNDISPATCHED;
+ return InsetCommand::localDispatch(cmd);
}
}
}
-Inset::Code InsetIndex::lyxCode() const
+InsetOld::Code InsetIndex::lyxCode() const
{
- return Inset::INDEX_CODE;
+ return InsetOld::INDEX_CODE;
}
-InsetPrintIndex::InsetPrintIndex(InsetCommandParams const & p, bool)
+InsetPrintIndex::InsetPrintIndex(InsetCommandParams const & p)
: InsetCommand(p)
{}
+// InsetPrintIndex::InsetPrintIndex(InsetCommandParams const & p, bool)
+// : InsetCommand(p, false)
+// {}
+
+
InsetPrintIndex::~InsetPrintIndex()
{}
}
-Inset::Code InsetPrintIndex::lyxCode() const
+InsetOld::Code InsetPrintIndex::lyxCode() const
{
- return Inset::INDEX_PRINT_CODE;
+ return InsetOld::INDEX_PRINT_CODE;
}