]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormError.h
doxygen fixes
[lyx.git] / src / frontends / xforms / FormError.h
index d84e098e10eda29bd499ad509b37e6c897c284f4..78ae1f95ef452c710ee44b2da75b46b2aede96db 100644 (file)
@@ -1,12 +1,10 @@
 // -*- C++ -*-
-/* This file is part of
- * ====================================================== 
+/**
+ * \file xforms/FormError.h
+ * Copyright 2000-2002 the LyX Team
+ * Read the file COPYING
  *
- *           LyX, The Document Processor
- *
- *           Copyright 2000 The LyX Team.
- *
- * ======================================================
+ * \author Angus Leeming, a.leeming@ic.ac.uk
  */
 
 #ifndef FORMERROR_H
 
 #include "FormBase.h"
 
-class InsetError;
+class ControlError;
 struct FD_form_error;
 
-/** This class provides an XForms implementation of the FormError Dialog.
+/** This class provides an XForms implementation of the Error Dialog.
  */
-class FormError : public FormBase {
+class FormError : public FormCB<ControlError, FormDB<FD_form_error> > {
 public:
        /// Constructor
-       FormError(LyXView *, Dialogs *);
-       ///
-       ~FormError();
+       FormError(ControlError &);
+
 private:
-       /// Slot launching dialog to an existing inset
-       void showInset( InsetError * const );
-       /// Update dialog before showing it
-       void update();
+       /// not needed.
+       virtual void apply() {}
        /// Build the dialog
-       void build();
-       /// Reset data when hide() is called
-       void clearStore();
-       /// Pointer to the actual instantiation of the xform's form
-       FL_FORM * const form() const;
+       virtual void build();
+       /// Update dialog before showing it
+       virtual void update();
+
        /// Fdesign generated method
        FD_form_error * build_error();
-
-       /// Real GUI implementation.
-       FD_form_error * dialog_;
-       /// inset::hide connection.
-       Connection ih_;
-       /// the error message
-       string message_;
 };
 
-#endif
+#endif // FORMERROR_H