]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormCitation.h
Yet more dialog tweaking from Rob.
[lyx.git] / src / frontends / xforms / FormCitation.h
index 1429269c89d746885b4d84d75a36eed7d7b96b79..59ebc6126074f5ced5545e7ee0a7e191414508eb 100644 (file)
@@ -1,15 +1,12 @@
 // -*- C++ -*-
-/* This file is part of
- * ====================================================== 
+/**
+ * \file xforms/FormCitation.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author Angus Leeming 
  *
- *           Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
- *
- * \file FormCitation.h
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FORMCITATION_H
 #endif
 
 #include "FormBase.h"
+#include "biblio.h"
 
 /** This class provides an XForms implementation of the Citation Dialog.
  */
 class ControlCitation;
-struct FD_form_citation;
+struct FD_citation;
 
-class FormCitation : public FormCB<ControlCitation, FormDB<FD_form_citation> > {
+class FormCitation : public FormCB<ControlCitation, FormDB<FD_citation> > {
 public:
        ///
-       FormCitation(ControlCitation &);
-
+       FormCitation();
 private:
        ///
        enum State {
@@ -51,8 +48,8 @@ private:
        /// Filter the inputs on callback from xforms
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 
-       /// Fdesign generated method
-       FD_form_citation * build_citation();
+       /// search for a citation
+       void findBiblio(biblio::Direction const dir);
 
        ///
        void updateBrowser(FL_OBJECT *, std::vector<string> const &) const;
@@ -60,8 +57,6 @@ private:
        void setBibButtons(State) const;
        ///
        void setCiteButtons(State) const;
-       ///
-       void setSize(int, bool) const;
 
        ///
        std::vector<string> citekeys;