]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormErrorList.h
Change the semantics of 'none' and 'auto' viewers/editors: 'none' means now
[lyx.git] / src / frontends / xforms / FormErrorList.h
1 // -*- C++ -*-
2 /**
3  * \file FormErrorList.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 FORMERRORLIST_H
13 #define FORMERRORLIST_H
14
15 #include "FormDialogView.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlErrorList;
21 struct FD_errorlist;
22
23 /** This class provides an XForms implementation of the FormErrorList Dialog.
24  */
25 class FormErrorList : public FormController<ControlErrorList, FormView<FD_errorlist> > {
26 public:
27         ///
28         FormErrorList(Dialog &);
29 private:
30         /// not needed
31         virtual void apply() {}
32         /// Build the dialog
33         virtual void build();
34         /// Update dialog before showing it
35         virtual void update();
36         /// Filter the inputs on callback from xforms
37         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
38         /// Goto to this error
39         void goTo(int);
40         ///
41         void updateContents();
42 };
43
44 } // namespace frontend
45 } // namespace lyx
46
47 #endif // FORMERRORLIST_H