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"
22 void MailInset::showDialog() const
24 BufferView * bv = inset().view();
28 bv->owner()->getDialogs().show(name(), inset2string(), &inset());
32 void MailInset::updateDialog() const
34 BufferView * bv = inset().view();
38 bv->owner()->getDialogs().update(name(), inset2string());
42 void MailInset::hideDialog() const
44 BufferView * bv = inset().view();
48 InsetBase * cmp = bv->owner()->getDialogs().getOpenInset(name());
50 bv->owner()->getDialogs().hide(name());