]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormUrl.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormUrl.h
index 361553a748d4e704a8fa4d00b7ab2fb8ba3ef01e..af727c08d3a0ad39759167ef09c25eb9d4dc07cd 100644 (file)
@@ -1,30 +1,31 @@
 // -*- C++ -*-
 /**
- * \file xforms/FormUrl.h
- * Copyright 2000-2001 the LyX Team
- * Read the file COPYING
+ * \file FormUrl.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming, a.leeming@ic.ac.uk
+ * \author Angus Leeming
+ *
+ * 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;
+class ControlCommand;
 struct FD_url;
 
 /** This class provides an XForms implementation of the Url Dialog.
  */
-class FormUrl : public FormCB<ControlUrl, FormDB<FD_url> > {
+class FormUrl : public FormController<ControlCommand, FormView<FD_url> > {
 public:
        ///
-       FormUrl(ControlUrl &, Dialogs &);
+       FormUrl(Dialog &);
 private:
        /// Apply from dialog (modify or create inset)
        virtual void apply();
@@ -34,4 +35,7 @@ private:
        virtual void update();
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // FORMURL_H