]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlMinipage.C
Fix a bunch of doxygen warnings.
[lyx.git] / src / frontends / controllers / ControlMinipage.C
1 /**
2  * \file ControlMinipage.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Jürgen Vigna
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #include <config.h>
13
14 #include "ControlMinipage.h"
15 #include "funcrequest.h"
16
17
18 using std::string;
19
20
21 ControlMinipage::ControlMinipage(Dialog & parent)
22         : Dialog::Controller(parent)
23 {}
24
25
26 bool ControlMinipage::initialiseParams(string const & data)
27 {
28         InsetMinipage::Params params;
29         InsetMinipageMailer::string2params(data, params);
30         params_.reset(new InsetMinipage::Params(params));
31         return true;
32 }
33
34
35 void ControlMinipage::clearParams()
36 {
37         params_.reset();
38 }
39
40
41 void ControlMinipage::dispatchParams()
42 {
43         string const lfun = InsetMinipageMailer::params2string(params());
44         kernel().dispatch(FuncRequest(LFUN_INSET_APPLY, lfun));
45 }