}
-InsetNote::InsetNote(BufferParams const & bp, string const & label)
- : InsetCollapsable(bp)
+/////////////////////////////////////////////////////////////////////
+//
+// InsetNode
+//
+/////////////////////////////////////////////////////////////////////
+
+InsetNote::InsetNote(Buffer const & buf, string const & label)
+ : InsetCollapsable(buf)
{
params_.type = notetranslator().find(label);
}
-InsetNote::InsetNote(InsetNote const & in)
- : InsetCollapsable(in), params_(in.params_)
-{}
-
-
InsetNote::~InsetNote()
{
InsetNoteMailer(*this).hideDialog();
}
-Inset * InsetNote::clone() const
-{
- return new InsetNote(*this);
-}
-
-
docstring InsetNote::editMessage() const
{
return _("Opened Note Inset");