-/* \file FormUrl.h
- * This file is part of
- * ======================================================
+// -*- C++ -*-
+/**
+ * \file FormUrl.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * LyX, The Document Processor
+ * \author Angus Leeming
*
- * Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
- * \author Angus Leeming, a.leeming@.ac.uk
+ * Full author contact details are available in file CREDITS.
*/
#ifndef FORMURL_H
#define FORMURL_H
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "FormDialogView.h"
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
-class ControlUrl;
-struct FD_form_url;
+class ControlCommand;
+struct FD_url;
/** This class provides an XForms implementation of the Url Dialog.
*/
-class FormUrl : public FormCB<ControlUrl, FormDB<FD_form_url> > {
+class FormUrl : public FormController<ControlCommand, FormView<FD_url> > {
public:
///
- FormUrl(ControlUrl &);
-
+ FormUrl(Dialog &);
private:
/// Apply from dialog (modify or create inset)
virtual void apply();
virtual void build();
/// Update dialog before showing it
virtual void update();
- /// Filter the inputs on callback from xforms
- FD_form_url * build_url();
};
+} // namespace frontend
+} // namespace lyx
+
#endif // FORMURL_H