]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormExternal.h
Tiny clean-ups.
[lyx.git] / src / frontends / xforms / FormExternal.h
index 34de5021fb04b161cf09c2f3a6a571de55bff858..06794df91d8b6b1113014482d5512d21cb79eea9 100644 (file)
@@ -1,55 +1,50 @@
-/* This file is part of
- * ====================================================== 
- *
- *           LyX, The Document Processor
- *
- *           Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
+// -*- C++ -*-
+/**
  * \file FormExternal.h
- * \author Asger Alstrup
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Asger Alstrup Nielsen
  * \author John Levon
- * \author Angus Leeming, a.leeming@ic.ac.uk
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORMEXTERNAL_H
 #define FORMEXTERNAL_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-#include "FormBase.h"
-#include "insets/insetexternal.h"
+#include "FormDialogView.h"
+#include <map>
+
 
 class ControlExternal;
-struct FD_form_external;
+struct FD_external;
 
 /// The class for editing External insets via a dialog
-class FormExternal : public FormCB<ControlExternal, FormDB<FD_form_external> > {
+class FormExternal
+       : public FormController<ControlExternal, FormView<FD_external> > {
 public:
        ///
-       FormExternal(ControlExternal &);
-
+       FormExternal(Dialog &);
 private:
        /// apply changes
-       void apply();
+       virtual void apply();
 
        /// build the dialog
-       void build();
+       virtual void build();
 
        /// update the dialog
-       void update();
+       virtual void update();
 
        /// Filter the inputs on callback from xforms
-       ButtonPolicy::SMInput input(FL_OBJECT *, long);
+       virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 
        ///
        void updateComboChange();
 
-       /// Fdesign generated method
-       FD_form_external * build_external();
+       std::map<std::string, std::string> extra_;
 };
 
 #endif // FORMEXTERNAL_H