]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlErrorList.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlErrorList.h
1 // -*- C++ -*-
2 /**
3  * \file ControlErrorList.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Alfredo Braunstein
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef CONTROLERRORLIST_H
13 #define CONTROLERRORLIST_H
14
15 #include "errorlist.h"
16 #include "Dialog.h"
17 #include <vector>
18
19
20
21 /** A controller for the ErrorList dialog.
22  */
23
24
25 class ControlErrorList : public Dialog::Controller {
26 public:
27         ///
28         ControlErrorList(Dialog & parent);
29         ///
30         virtual bool isBufferDependent() const { return true; }
31         ///
32         virtual bool initialiseParams(string const & data);
33         ///
34         virtual void clearParams();
35         ///
36         virtual void dispatchParams() {}
37
38         /// goto this error in the parent bv
39         void goTo(int item);
40         /// return the parent document name
41         string const & name();
42         ///
43         ErrorList const & errorList() const;
44 private:
45         ///
46         ErrorList errorlist_;
47         ///
48         string name_;
49 };
50
51 #endif // CONTROLERRORLIST_H