]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormError.h
cedc1f917cbdcf7fbd0ce767e8b75375530d3167
[lyx.git] / src / frontends / xforms / FormError.h
1 // -*- C++ -*-
2 /**
3  * \file FormError.h
4  * Copyright 2000-2002 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Angus Leeming, a.leeming@ic.ac.uk
8  */
9
10 #ifndef FORMERROR_H
11 #define FORMERROR_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "FormBase.h"
18
19 class ControlError;
20 struct FD_form_error;
21
22 /** This class provides an XForms implementation of the Error Dialog.
23  */
24 class FormError : public FormCB<ControlError, FormDB<FD_form_error> > {
25 public:
26         /// Constructor
27         FormError(ControlError &);
28
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
37         /// Fdesign generated method
38         FD_form_error * build_error();
39 };
40
41 #endif // FORMERROR_H