/**
* \file FormExternal.C
- * Copyright 2000-2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
* \author Asger Alstrup
- * \author John Levon, moz@compsoc.man.ac.uk
- * \author Angus Leeming, a.leeming@ic.ac.uk
+ * \author John Levon
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
*/
#include <config.h>
#include "xformsBC.h"
#include "ControlExternal.h"
#include "FormExternal.h"
-#include "form_external.h"
+#include "forms/form_external.h"
#include "gettext.h"
#include "xforms_helpers.h"
#include "helper_funcs.h"
-typedef FormCB<ControlExternal, FormDB<FD_form_external> > base_class;
+#include "support/lstrings.h"
+#include FORMS_H_LOCATION
+
+typedef FormCB<ControlExternal, FormDB<FD_external> > base_class;
-FormExternal::FormExternal(ControlExternal & c)
- : base_class(c, _("Edit external file"))
+FormExternal::FormExternal()
+ : base_class(_("Edit external file"))
{}
void FormExternal::build()
{
- dialog_.reset(build_external());
+ dialog_.reset(build_external(this));
string const choice =
" " + getStringFromVector(controller().getTemplates(), " | ") + " ";