]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormUrl.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormUrl.h
index 5ad62ce30f2a89f8f749281061cac2946350bf53..f5b278527f548f769525c517984e88cf7c41c606 100644 (file)
@@ -1,36 +1,29 @@
 // -*- C++ -*-
-/* This file is part of
- * ====================================================== 
- *
- *           LyX, The Document Processor
- *
- *           Copyright 2000-2001 The LyX Team.
+/**
+ * \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();
@@ -38,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