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"
27 /** A controller for LaTeX Error dialogs.
29 class ControlError : public ControlInset<InsetError, string>
33 ControlError(LyXView &, Dialogs &);
37 virtual void applyParamsToInset() {}
39 virtual void applyParamsNoInset() {}
40 /// get the parameters from the string passed to createInset.
41 virtual string const getParams(string const &) { return string(); }
42 /// get the parameters from the inset passed to showInset.
43 virtual string const getParams(InsetError const &);
46 #endif // CONTROLERROR_H