5 * ======================================================
7 * LyX, The Document Processor
9 * Copyright 2000-2001 The LyX Team.
11 * ======================================================
13 * \author Angus Leeming, a.leeming@.ac.uk
16 #ifndef CONTROLERROR_H
17 #define CONTROLERROR_H
23 #include "ControlInset.h"
24 #include "insets/inseterror.h" // needed for proper instantiation of GUI<>.
28 /** A controller for LaTeX Error dialogs.
30 class ControlError : public ControlInset<InsetError, string>
34 ControlError(LyXView &, Dialogs &);
38 virtual void applyParamsToInset() {}
40 virtual void applyParamsNoInset() {}
41 /// get the parameters from the string passed to createInset.
42 virtual string const getParams(string const &) { return string(); }
43 /// get the parameters from the inset passed to showInset.
44 virtual string const getParams(InsetError const &);
47 #endif // CONTROLERROR_H