]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormPreamble.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormPreamble.h
index 55ca68fe7ebef401a8adc52058c28c4ff0365c9d..1fe89805fb1728972c19f7f9cd012fb350438e31 100644 (file)
@@ -1,49 +1,37 @@
+// -*- 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
 
+
 #include "FormBase.h"
 
-struct FD_form_preamble;
+class ControlPreamble;
+struct FD_preamble;
 
-/** This class provides an XForms implementation of the FormPreamble Dialog.
+/** This class provides an XForms implementation of the Preamble Dialog.
  */
-class FormPreamble : public FormBaseBD {
+class FormPreamble : public FormCB<ControlPreamble, FormDB<FD_preamble> > {
 public:
-   ///
-   FormPreamble(LyXView *, Dialogs *);
-   ///
-   ~FormPreamble();
-   
+       ///
+       FormPreamble();
 private:
-   /** Redraw the form (on receipt of a Signal indicating, for example,
-    *  that the xforms colours have been re-mapped). 
-    */
-
-   /// Filter the inputs
-   // virtual bool input(FL_OBJECT *, long);
-   
-   /// Build the popup
-   virtual void build();
-   /// Apply from popup
-   virtual void apply();
-   /// Update the popup.
-   virtual void update();
-   ///
-   virtual FL_FORM * form() const;
-   
-   /// Typedefinitions from the fdesign produced Header file
-   FD_form_preamble  * build_preamble();
-   
-   /// Real GUI implementation.
-   FD_form_preamble  * dialog_;
+       /// Apply from dialog
+       virtual void apply();
+       /// Build the dialog
+       virtual void build();
+       /// Update the dialog
+       virtual void update();
 };
 
-#endif
+
+#endif // FORMPREAMBLE_H