]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormBibtex.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormBibtex.h
index c26cc402b8c49b11d6f41e420b4b3088789140aa..c37bc1dae5251e5123551f219955ba309e321ead 100644 (file)
@@ -1,33 +1,33 @@
 // -*- C++ -*-
 /**
  * \file FormBibtex.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author Angus Leeming
  * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORMBIBTEX_H
 #define FORMBIBTEX_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "FormDialogView.h"
 
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
 
 class ControlBibtex;
-struct FD_form_bibtex;
+struct FD_bibtex;
 
 /**
  * For bibtex database setting
  */
-class FormBibtex : public FormCB<ControlBibtex, FormDB<FD_form_bibtex> > {
+class FormBibtex : public FormController<ControlBibtex, FormView<FD_bibtex> > {
 public:
        ///
-       FormBibtex(ControlBibtex &);
-
+       FormBibtex(Dialog &);
 private:
        /// Set the Params variable for the Controller.
        virtual void apply();
@@ -37,11 +37,9 @@ private:
        virtual void update();
        /// Filter the inputs on callback from xforms
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
-       /// tooltips
-       string const getVerboseTooltip(FL_OBJECT *) const;
-
-       /// Fdesign generated method
-       FD_form_bibtex * build_bibtex();
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // FORMBIBTEX_H