2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2001 The LyX Team.
9 *======================================================
12 * \author Juergen Vigna, jug@sad.it
13 * \author Angus Leeming, a.leeming@ic.ac.uk
25 #include "ControlInset.h"
26 #include "insets/insetert.h" // InsetERT::Status
28 /** This should be moved back into insetert.h and InsetERT should
29 contain an instance of it. */
35 ERTParams(InsetERT const &);
37 InsetERT::ERTStatus status;
42 bool operator==(ERTParams const &, ERTParams const &);
44 bool operator!=(ERTParams const &, ERTParams const &);
47 /** A controller for ERT dialogs.
49 class ControlERT : public ControlInset<InsetERT, ERTParams> {
52 ControlERT(LyXView &, Dialogs &);
55 /// Dispatch the changed parameters to the kernel.
56 virtual void applyParamsToInset();
58 virtual void applyParamsNoInset();
59 /// get the parameters from the string passed to createInset.
60 virtual ERTParams const getParams(string const &)
61 { return ERTParams(); }
62 /// get the parameters from the inset passed to showInset.
63 virtual ERTParams const getParams(InsetERT const &);