]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlError.h
Collapse all those LFUN_XYZ_APPLY to a single LFUN_INSET_APPLY.
[lyx.git] / src / frontends / controllers / ControlError.h
1 // -*- C++ -*-
2 /**
3  * \file ControlError.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef CONTROLERROR_H
13 #define CONTROLERROR_H
14
15
16 #include "Dialog.h"
17
18
19 class ControlError : public Dialog::Controller {
20 public:
21         ///
22         ControlError(Dialog &);
23         ///
24         virtual void initialiseParams(string const &);
25         ///
26         virtual void clearParams();
27         ///
28         virtual void dispatchParams() {}
29         ///
30         virtual bool isBufferDependent() const { return true; }
31         ///
32         string & params() { return params_; }
33         ///
34         string const & params() const { return params_; }
35         ///
36 private:
37         string params_;
38 };
39
40 #endif // CONTROLERROR_H