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