]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormErrorList.h
Introduce LFUN_PRINT.
[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
16 #include "FormDialogView.h"
17
18 class ControlErrorList;
19 struct FD_errorlist;
20
21 /** This class provides an XForms implementation of the FormErrorList Dialog.
22  */
23 class FormErrorList : public FormController<ControlErrorList, FormView<FD_errorlist> > {
24 public:
25         ///
26         FormErrorList(Dialog &);
27 private:
28         /// not needed
29         virtual void apply() {}
30         /// Build the dialog
31         virtual void build();
32         /// Update dialog before showing it
33         virtual void update();
34         /// Filter the inputs on callback from xforms
35         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
36         /// Goto to this error
37         void goTo(int);
38         ///
39         void updateContents();
40 };
41
42 #endif // FORMERRORLIST_H