-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2000-2001 The LyX Team.
+// -*- C++ -*-
+/**
+ * \file FormUrl.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * ======================================================
+ * \author Angus Leeming
*
- * \file FormUrl.h
- * \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 "FormBase.h"
+#include "FormDialogView.h"
-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();
};
#endif // FORMURL_H