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
16 #include "ControlInset.h"
17 #include "insets/inseterror.h" // needed for proper instantiation of GUI<>.
21 /** A controller for LaTeX Error dialogs.
23 class ControlError : public ControlInset<InsetError, string> {
26 ControlError(LyXView &, Dialogs &);
29 virtual void applyParamsToInset() {}
31 virtual void applyParamsNoInset() {}
32 /// get the parameters from the string passed to createInset.
33 virtual string const getParams(string const &) { return string(); }
34 /// get the parameters from the inset passed to showInset.
35 virtual string const getParams(InsetError const &);
38 #endif // CONTROLERROR_H