]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormSendto.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormSendto.h
index c41ab06d213aed329a959ec27120a7a689cb5166..7557e117d26c73e51e6401e102e382fe2da944a8 100644 (file)
@@ -4,31 +4,32 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming 
+ * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORMSENDTO_H
 #define FORMSENDTO_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "FormBase.h"
+#include "FormDialogView.h"
 #include <vector>
 
-class ControlSendto;
 class Format;
+
+namespace lyx {
+namespace frontend {
+
+class ControlSendto;
 struct FD_sendto;
 
 /** This class provides an XForms implementation of the Custom Export Dialog.
  */
-class FormSendto : public FormCB<ControlSendto, FormDB<FD_sendto> > {
+class FormSendto
+       : public FormController<ControlSendto, FormView<FD_sendto> > {
 public:
        ///
-       FormSendto();
+       FormSendto(Dialog &);
 private:
        /// Apply from dialog (modify or create inset)
        virtual void apply();
@@ -42,4 +43,7 @@ private:
        std::vector<Format const *> all_formats_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // FORMSENDTO_H