]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormUrl.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormUrl.h
index d9d44f6953cc1778f74588e994d8478b9c1d5cc3..f5b278527f548f769525c517984e88cf7c41c606 100644 (file)
@@ -1,35 +1,29 @@
-/* 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();
@@ -37,8 +31,6 @@ private:
        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