]> 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 130e88c903d2f4947d82d9914bf52984e15123ee..f5890a287689df94def82d9a61c1e12d71d62685 100644 (file)
@@ -1,37 +1,31 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
- *      
- *          Copyright 2001 The LyX Team.
+/**
+ * \file FormERT.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *======================================================
+ * \author Jürgen Vigna
  *
- * \file FormERT.h
- * \author Juergen Vigna, jug@sad.it
+ * 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();
@@ -39,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