]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormRef.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / FormRef.h
index 0170f6fd24e367d70c76aaaa65a6ec471bff5e4e..526c7f8fca779d0e6b1ee009428e010241d06c36 100644 (file)
@@ -1,10 +1,12 @@
 // -*- C++ -*-
 /**
- * \file FormRef.h
- * Copyright 2000-2001 the LyX Team
- * Read the file COPYING
+ * \file xforms/FormRef.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 FORMREF_H
 #include "FormBase.h"
 
 class ControlRef;
-struct FD_form_ref;
+struct FD_ref;
 
 /** This class provides an XForms implementation of the FormRef Dialog.
  */
-class FormRef : public FormCB<ControlRef, FormDB<FD_form_ref> > {
+class FormRef : public FormCB<ControlRef, FormDB<FD_ref> > {
 public:
        ///
-       FormRef(ControlRef &);
-
+       FormRef();
 private:
        /// Set the Params variable for the Controller.
        virtual void apply();
@@ -38,13 +39,13 @@ private:
 
        ///
        void updateBrowser(std::vector<string> const &) const;
-
-       /// Fdesign generated method
-       FD_form_ref * build_ref();
+       
+       ///
+       void switch_go_button();
 
        ///
        bool at_ref_;
-       /// 
+       ///
        std::vector<string> refs_;
 };