3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Angus Leeming
8 * Full author contact details are available in file CREDITS.
13 #include "mailinset.h"
15 #include "BufferView.h"
18 #include "frontends/Dialogs.h"
19 #include "frontends/LyXView.h"
24 void MailInset::showDialog(BufferView * bv) const
27 bv->showInsetDialog(name(), inset2string(*bv->buffer()),
32 void MailInset::updateDialog(BufferView * bv) const
35 bv->updateDialog(name(), inset2string(*bv->buffer()));
39 void MailInset::hideDialog() const
41 Dialogs::hide(name(), &inset());
45 void print_mailer_error(string const & class_name,
46 string const & data, int arg_id, string const & arg)
48 lyxerr << '\n' << class_name << "::string2params(" << data << ")\n"
49 << "Expected arg " << arg_id << " to be \"" << arg << "\"\n"