3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
13 #include "ControlWrap.h"
14 #include "funcrequest.h"
15 #include "insets/insetwrap.h"
21 ControlWrap::ControlWrap(Dialog & parent)
22 : Dialog::Controller(parent)
26 bool ControlWrap::initialiseParams(string const & data)
28 InsetWrapParams params;
29 InsetWrapMailer::string2params(data, params);
30 params_.reset(new InsetWrapParams(params));
35 void ControlWrap::clearParams()
41 void ControlWrap::dispatchParams()
43 string const lfun = InsetWrapMailer::params2string(params());
44 kernel().dispatch(FuncRequest(LFUN_INSET_APPLY, lfun));