]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormError.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormError.h
1 // -*- C++ -*-
2 /*
3  * \file FormError.h
4  * This file is part of
5  * ====================================================== 
6  *
7  *           LyX, The Document Processor
8  *
9  *           Copyright 2000-2001 The LyX Team.
10  *
11  * ======================================================
12  *
13  * \author Angus Leeming, a.leeming@.ac.uk
14  */
15
16 #ifndef FORMERROR_H
17 #define FORMERROR_H
18
19 #ifdef __GNUG__
20 #pragma interface
21 #endif
22
23 #include "FormBase.h"
24
25 class ControlError;
26 struct FD_form_error;
27
28 /** This class provides an XForms implementation of the Error Dialog.
29  */
30 class FormError : public FormCB<ControlError, FormDB<FD_form_error> > {
31 public:
32         /// Constructor
33         FormError(ControlError &);
34
35 private:
36         /// not needed.
37         virtual void apply() {}
38         /// Build the dialog
39         virtual void build();
40         /// Update dialog before showing it
41         virtual void update();
42
43         /// Fdesign generated method
44         FD_form_error * build_error();
45 };
46
47 #endif // FORMERROR_H