]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormSendto.C
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormSendto.C
index ac97db71dcf9338f5c0f0ab861237261b61acf6f..b1b08ffdcb6c2d7f24c92dfcdebf66aa83df7cb5 100644 (file)
@@ -5,29 +5,35 @@
  *
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
-
 #include "FormSendto.h"
-#include "forms/form_sendto.h"
 #include "ControlSendto.h"
-#include "xformsBC.h"
+#include "forms/form_sendto.h"
+
 #include "Tooltips.h"
 #include "xforms_helpers.h"
+#include "xformsBC.h"
+
 #include "format.h"
-#include "gettext.h"
-#include "lyx_forms.h"
+
 #include "support/lstrings.h"
 
+#include "lyx_forms.h"
+
+using lyx::support::trim;
+
 using std::vector;
+using std::string;
+
 
-typedef FormCB<ControlSendto, FormDB<FD_sendto> > base_class;
+typedef FormController<ControlSendto, FormView<FD_sendto> > base_class;
 
-FormSendto::FormSendto()
-       : base_class(_("Send document to command"))
+FormSendto::FormSendto(Dialog & parent)
+       : base_class(parent, _("Send document to command"))
 {}