4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Angus Leeming
10 * Full author contact details are available in file CREDITS
19 #include "ControlInset.h"
20 #include "insets/insetert.h" // InsetERT::Status
22 /** This should be moved back into insetert.h and InsetERT should
23 contain an instance of it. */
29 ERTParams(InsetERT const &);
31 InsetERT::ERTStatus status;
36 bool operator==(ERTParams const &, ERTParams const &);
38 bool operator!=(ERTParams const &, ERTParams const &);
41 /** A controller for ERT dialogs.
43 class ControlERT : public ControlInset<InsetERT, ERTParams> {
46 ControlERT(LyXView &, Dialogs &);
48 /// Dispatch the changed parameters to the kernel.
49 virtual void applyParamsToInset();
51 virtual void applyParamsNoInset();
52 /// get the parameters from the string passed to createInset.
53 virtual ERTParams const getParams(string const &)
54 { return ERTParams(); }
55 /// get the parameters from the inset passed to showInset.
56 virtual ERTParams const getParams(InsetERT const &);