4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS
14 #include "mailinset.h"
16 #include "BufferView.h"
17 #include "frontends/LyXView.h"
18 #include "frontends/Dialogs.h"
19 #include "support/LAssert.h"
23 void MailInset::showDialog(BufferView * bv) const
26 bv->owner()->getDialogs().show(name(), inset2string(), &inset());
30 void MailInset::updateDialog(BufferView * bv) const
33 bv->owner()->getDialogs().update(name(), inset2string());
37 void MailInset::hideDialog() const
39 Dialogs::hide()(name(), &inset());