3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Angus Leeming
8 * Full author contact details are available in file CREDITS.
13 #include "ControlNote.h"
14 #include "funcrequest.h"
15 #include "insets/insetnote.h"
24 ControlNote::ControlNote(Dialog & parent)
25 : Dialog::Controller(parent)
29 bool ControlNote::initialiseParams(string const & data)
31 InsetNoteParams params;
32 InsetNoteMailer::string2params(data, params);
33 params_.reset(new InsetNoteParams(params));
38 void ControlNote::clearParams()
44 void ControlNote::dispatchParams()
46 string const lfun = InsetNoteMailer::params2string(params());
47 kernel().dispatch(FuncRequest(getLfun(), lfun));
50 } // namespace frontend