]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormError.h
2002-07-02 Lars Gullik Bj�nnes <larsbj@birdstep.com>
[lyx.git] / src / frontends / xforms / FormError.h
1 // -*- C++ -*-
2 /**
3  * \file xforms/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_error;
21
22 /** This class provides an XForms implementation of the Error Dialog.
23  */
24 class FormError : public FormCB<ControlError, FormDB<FD_error> > {
25 public:
26         /// Constructor
27         FormError(ControlError &, Dialogs &);
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