4 * Read the file COPYING
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS
21 #include "ControlInset.h"
22 #include "insets/insetert.h" // InsetERT::Status
24 /** This should be moved back into insetert.h and InsetERT should
25 contain an instance of it. */
31 ERTParams(InsetERT const &);
33 InsetERT::ERTStatus status;
38 bool operator==(ERTParams const &, ERTParams const &);
40 bool operator!=(ERTParams const &, ERTParams const &);
43 /** A controller for ERT dialogs.
45 class ControlERT : public ControlInset<InsetERT, ERTParams> {
48 ControlERT(LyXView &, Dialogs &);
51 /// Dispatch the changed parameters to the kernel.
52 virtual void applyParamsToInset();
54 virtual void applyParamsNoInset();
55 /// get the parameters from the string passed to createInset.
56 virtual ERTParams const getParams(string const &)
57 { return ERTParams(); }
58 /// get the parameters from the inset passed to showInset.
59 virtual ERTParams const getParams(InsetERT const &);