]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormPreamble.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / frontends / xforms / FormPreamble.h
index 449482d60b792d35deefa371221494c5d740076b..335a1746951b189a69742e5bbe8a0a4b5a9c8b8e 100644 (file)
@@ -1,30 +1,32 @@
 // -*- C++ -*-
 /**
  * \file FormPreamble.h
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Edwin Leuven, leuven@fee.uva.nl
+ * \author Edwin Leuven
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORMPREAMBLE_H
 #define FORMPREAMBLE_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "FormDialogView.h"
 
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
 
 class ControlPreamble;
-struct FD_form_preamble;
+struct FD_preamble;
 
 /** This class provides an XForms implementation of the Preamble Dialog.
  */
-class FormPreamble : public FormCB<ControlPreamble, FormDB<FD_form_preamble> > {
+class FormPreamble
+       : public FormController<ControlPreamble, FormView<FD_preamble> > {
 public:
        ///
-       FormPreamble(ControlPreamble &);
+       FormPreamble(Dialog &);
 private:
        /// Apply from dialog
        virtual void apply();
@@ -32,10 +34,9 @@ private:
        virtual void build();
        /// Update the dialog
        virtual void update();
-
-       /// Fdesign generated method
-       FD_form_preamble * build_preamble();
 };
 
+} // namespace frontend
+} // namespace lyx
 
 #endif // FORMPREAMBLE_H