]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormERT.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormERT.h
index 9d943da098f2e34df540f46fbf97104a4369cbdd..f5890a287689df94def82d9a61c1e12d71d62685 100644 (file)
@@ -1,32 +1,31 @@
 // -*- C++ -*-
 /**
  * \file FormERT.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Jürgen Vigna, jug@sad.it
+ * \author Jürgen Vigna
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FORMERT_H
 #define FORMERT_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-#include "FormBase.h"
+#include "FormDialogView.h"
+
 
 class ControlERT;
-struct FD_form_ert;
+struct FD_ert;
 
 /** This class provides an XForms implementation of the ERT
     Dialog.
  */
-class FormERT
-       : public FormCB<ControlERT, FormDB<FD_form_ert> > {
+class FormERT : public FormController<ControlERT, FormView<FD_ert> > {
 public:
        ///
-       FormERT(ControlERT &);
+       FormERT(Dialog &);
 private:
        /// Set the Params variable for the Controller.
        virtual void apply();
@@ -34,9 +33,6 @@ private:
        virtual void build();
        /// Update dialog before/whilst showing it.
        virtual void update();
-
-       /// Fdesign generated method
-       FD_form_ert * build_ert();
 };
 
 #endif // FORMERT_H