]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormSendto.C
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / frontends / xforms / FormSendto.C
index 589610c8d28bd2fa58aec4bd99980e1800b3ffda..7fd0484ca845ffacb612cd4c346fe74fd73517ea 100644 (file)
 
 #include "lyx_forms.h"
 
-using lyx::support::trim;
-
 using std::vector;
 using std::string;
 
+namespace lyx {
+
+using support::trim;
 
-typedef FormCB<ControlSendto, FormDB<FD_sendto> > base_class;
+namespace frontend {
 
-FormSendto::FormSendto()
-       : base_class(_("Send document to command"))
+typedef FormController<ControlSendto, FormView<FD_sendto> > base_class;
+
+FormSendto::FormSendto(Dialog & parent)
+       : base_class(parent, _("Send document to command"))
 {}
 
 
@@ -118,3 +121,6 @@ void FormSendto::apply()
        controller().setFormat(all_formats_[line-1]);
        controller().setCommand(cmd);
 }
+
+} // namespace frontend
+} // namespace lyx