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