]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormPrint.h
merge booktabs branch
[lyx.git] / src / frontends / xforms / FormPrint.h
index 0228ad38631571e64797802d7de36f1aa0937809..5a499b5366abd68d027be6f268878e0b7e6e8a5c 100644 (file)
 #ifndef FORMPRINT_H
 #define FORMPRINT_H
 
-
-
-#include "FormBase.h"
+#include "FormDialogView.h"
 #include "RadioButtonGroup.h"
 
+namespace lyx {
+namespace frontend {
+
 class ControlPrint;
 struct FD_print;
 
 /** This class provides an XForms implementation of the FormPrint Dialog.
     The print dialog allows users to print their documents.
  */
-class FormPrint : public FormCB<ControlPrint, FormDB<FD_print> > {
+class FormPrint
+       : public FormController<ControlPrint, FormView<FD_print> > {
 public:
        ///
-       FormPrint();
+       FormPrint(Dialog &);
 private:
        /// Apply from dialog
        virtual void apply();
@@ -45,4 +47,7 @@ private:
        RadioButtonGroup all_pages_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // FORMPRINT_H