// -*- 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();
/// 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