]> 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 7798f1bc462838e16724ac24c71100eae42e38eb..7557e117d26c73e51e6401e102e382fe2da944a8 100644 (file)
@@ -1,33 +1,35 @@
 // -*- C++ -*-
-/*
+/**
  * \file FormSendto.h
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * \author Angus Leeming
+ *
+ * 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;
-struct FD_form_sendto;
+
+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_form_sendto> > {
+class FormSendto
+       : public FormController<ControlSendto, FormView<FD_sendto> > {
 public:
        ///
-       FormSendto(ControlSendto &);
-
+       FormSendto(Dialog &);
 private:
        /// Apply from dialog (modify or create inset)
        virtual void apply();
@@ -38,13 +40,10 @@ private:
        /// Filter the inputs on callback from xforms
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 
-       /// tooltips
-       string const getVerboseTooltip(FL_OBJECT const *) const;
-
-       /// Fdesign generated method
-       FD_form_sendto * build_sendto();
-
        std::vector<Format const *> all_formats_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // FORMSENDTO_H