]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormPreamble.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormPreamble.h
index 1fe89805fb1728972c19f7f9cd012fb350438e31..335a1746951b189a69742e5bbe8a0a4b5a9c8b8e 100644 (file)
 #ifndef FORMPREAMBLE_H
 #define FORMPREAMBLE_H
 
+#include "FormDialogView.h"
 
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
 
 class ControlPreamble;
 struct FD_preamble;
 
 /** This class provides an XForms implementation of the Preamble Dialog.
  */
-class FormPreamble : public FormCB<ControlPreamble, FormDB<FD_preamble> > {
+class FormPreamble
+       : public FormController<ControlPreamble, FormView<FD_preamble> > {
 public:
        ///
-       FormPreamble();
+       FormPreamble(Dialog &);
 private:
        /// Apply from dialog
        virtual void apply();
@@ -33,5 +36,7 @@ private:
        virtual void update();
 };
 
+} // namespace frontend
+} // namespace lyx
 
 #endif // FORMPREAMBLE_H