3 * This file is part of LyX, the document processor.
4 * 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 "ControlERT.h"
15 #include "FuncRequest.h"
23 ControlERT::ControlERT(Dialog & parent)
24 : Dialog::Controller(parent), status_(InsetERT::Collapsed)
28 bool ControlERT::initialiseParams(string const & data)
30 InsetERTMailer::string2params(data, status_);
35 void ControlERT::clearParams()
37 status_ = InsetERT::Collapsed;
41 void ControlERT::dispatchParams()
43 string const lfun = InsetERTMailer::params2string(status_);
44 kernel().dispatch(FuncRequest(getLfun(), lfun));
47 } // namespace frontend