4 * Read the file COPYING
6 * \author Angus Leeming
8 * Full author contact details are available in file CREDITS
11 #ifndef CONTROLERROR_H
12 #define CONTROLERROR_H
18 #include "ControlInset.h"
19 #include "insets/inseterror.h" // needed for proper instantiation of GUI<>.
23 /** A controller for LaTeX Error dialogs.
25 class ControlError : public ControlInset<InsetError, string>
29 ControlError(LyXView &, Dialogs &);
33 virtual void applyParamsToInset() {}
35 virtual void applyParamsNoInset() {}
36 /// get the parameters from the string passed to createInset.
37 virtual string const getParams(string const &) { return string(); }
38 /// get the parameters from the inset passed to showInset.
39 virtual string const getParams(InsetError const &);
42 #endif // CONTROLERROR_H