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 "ControlFloat.h"
14 #include "funcrequest.h"
15 #include "insets/insetfloat.h"
23 ControlFloat::ControlFloat(Dialog & parent)
24 : Dialog::Controller(parent)
28 bool ControlFloat::initialiseParams(string const & data)
30 InsetFloatParams params;
31 InsetFloatMailer::string2params(data, params);
32 params_.reset(new InsetFloatParams(params));
37 void ControlFloat::clearParams()
43 void ControlFloat::dispatchParams()
45 string const lfun = InsetFloatMailer::params2string(params());
46 kernel().dispatch(FuncRequest(LFUN_INSET_APPLY, lfun));
49 } // namespace frontend