]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlError.h
John's character.C patch (bug fix).
[lyx.git] / src / frontends / controllers / ControlError.h
1 // -*- C++ -*-
2 /*
3  * \file ControlError.h
4  * This file is part of
5  * ====================================================== 
6  *
7  *           LyX, The Document Processor
8  *
9  *           Copyright 2000-2001 The LyX Team.
10  *
11  * ======================================================
12  *
13  * \author Angus Leeming, a.leeming@.ac.uk
14  */
15
16 #ifndef CONTROLERROR_H
17 #define CONTROLERROR_H
18
19 #ifdef __GNUG__
20 #pragma interface
21 #endif
22
23 #include "ControlInset.h"
24
25 class InsetError;
26
27 /** A controller for LaTeX Error dialogs.
28  */
29 class ControlError : public ControlInset<InsetError, string>
30 {
31 public:
32         ///
33         ControlError(LyXView &, Dialogs &);
34
35 private:
36         /// not needed.
37         virtual void applyParamsToInset() {}
38         /// 
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 &);
44 };
45
46 #endif // CONTROLERROR_H