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
22 #include "ControlInset.h"
23 #include "insets/insetert.h" // InsetERT::Status
25 /** This should be moved back into insetert.h and InsetERT should
26 contain an instance of it. */
32 ERTParams(InsetERT const &);
34 InsetERT::ERTStatus status;
39 bool operator==(ERTParams const &, ERTParams const &);
41 bool operator!=(ERTParams const &, ERTParams const &);
44 /** A controller for ERT dialogs.
46 class ControlERT : public ControlInset<InsetERT, ERTParams> {
49 ControlERT(LyXView &, Dialogs &);
52 /// Dispatch the changed parameters to the kernel.
53 virtual void applyParamsToInset();
55 virtual void applyParamsNoInset();
56 /// get the parameters from the string passed to createInset.
57 virtual ERTParams const getParams(string const &)
58 { return ERTParams(); }
59 /// get the parameters from the inset passed to showInset.
60 virtual ERTParams const getParams(InsetERT const &);