2001-06-13 14:33:31 +00:00
|
|
|
// -*- C++ -*-
|
2002-03-11 17:00:41 +00:00
|
|
|
/**
|
2002-03-11 22:47:41 +00:00
|
|
|
* \file xforms/FormError.h
|
2002-03-11 17:00:41 +00:00
|
|
|
* Copyright 2000-2002 the LyX Team
|
|
|
|
* Read the file COPYING
|
2000-09-22 15:09:51 +00:00
|
|
|
*
|
2002-08-15 16:02:22 +00:00
|
|
|
* \author Angus Leeming <leeming@lyx.org>
|
2000-09-22 15:09:51 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMERROR_H
|
|
|
|
#define FORMERROR_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-03-23 17:09:34 +00:00
|
|
|
#include "FormBase.h"
|
2001-03-16 12:08:14 +00:00
|
|
|
|
2001-03-23 17:09:34 +00:00
|
|
|
class ControlError;
|
2002-06-13 13:43:51 +00:00
|
|
|
struct FD_error;
|
2000-09-22 15:09:51 +00:00
|
|
|
|
2001-03-23 17:09:34 +00:00
|
|
|
/** This class provides an XForms implementation of the Error Dialog.
|
2000-09-22 15:09:51 +00:00
|
|
|
*/
|
2002-06-13 13:43:51 +00:00
|
|
|
class FormError : public FormCB<ControlError, FormDB<FD_error> > {
|
2000-09-22 15:09:51 +00:00
|
|
|
public:
|
|
|
|
/// Constructor
|
2002-08-12 14:28:43 +00:00
|
|
|
FormError();
|
2001-03-23 17:09:34 +00:00
|
|
|
private:
|
|
|
|
/// not needed.
|
|
|
|
virtual void apply() {}
|
2000-09-22 15:09:51 +00:00
|
|
|
/// Build the dialog
|
2000-10-02 00:10:25 +00:00
|
|
|
virtual void build();
|
2001-03-23 17:09:34 +00:00
|
|
|
/// Update dialog before showing it
|
|
|
|
virtual void update();
|
2000-09-22 15:09:51 +00:00
|
|
|
};
|
|
|
|
|
2001-03-23 17:09:34 +00:00
|
|
|
#endif // FORMERROR_H
|