4 * ======================================================
6 * LyX, The Document Processor
8 * Copyright 2000-2001 The LyX Team.
10 * ======================================================
12 * \author Angus Leeming, a.leeming@.ac.uk
15 #ifndef CONTROLERROR_H
16 #define CONTROLERROR_H
22 #include "ControlInset.h"
26 /** A controller for LaTeX Error dialogs.
28 class ControlError : public ControlInset<InsetError, string>
32 ControlError(LyXView &, Dialogs &);
36 virtual void applyParamsToInset() {}
38 virtual void applyParamsNoInset() {}
39 /// get the parameters from the string passed to createInset.
40 virtual string const getParams(string const &) { return string(); }
41 /// get the parameters from the inset passed to showInset.
42 virtual string const getParams(InsetError const &);
45 #endif // CONTROLERROR_H