4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS
12 #ifndef CONTROLERROR_H
13 #define CONTROLERROR_H
19 #include "ControlInset.h"
20 #include "insets/inseterror.h" // needed for proper instantiation of GUI<>.
24 /** A controller for LaTeX Error dialogs.
26 class ControlError : public ControlInset<InsetError, string>
30 ControlError(LyXView &, Dialogs &);
34 virtual void applyParamsToInset() {}
36 virtual void applyParamsNoInset() {}
37 /// get the parameters from the string passed to createInset.
38 virtual string const getParams(string const &) { return string(); }
39 /// get the parameters from the inset passed to showInset.
40 virtual string const getParams(InsetError const &);
43 #endif // CONTROLERROR_H