]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormError.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormError.h
1 // -*- C++ -*-
2 /**
3  * \file FormError.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 FORMERROR_H
13 #define FORMERROR_H
14
15
16 #include "FormDialogView.h"
17
18
19 class ControlError;
20 struct FD_error;
21
22 /** This class provides an XForms implementation of the Error Dialog.
23  */
24 class FormError : public FormController<ControlError, FormView<FD_error> > {
25 public:
26         /// Constructor
27         FormError(Dialog &);
28 private:
29         /// not needed.
30         virtual void apply() {}
31         /// Build the dialog
32         virtual void build();
33         /// Update dialog before showing it
34         virtual void update();
35 };
36
37 #endif // FORMERROR_H