]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormCitation.h
Remove the XForms frontend, update the autotools files, and fixup po.
[lyx.git] / src / frontends / xforms / FormCitation.h
diff --git a/src/frontends/xforms/FormCitation.h b/src/frontends/xforms/FormCitation.h
deleted file mode 100644 (file)
index 382c9fd..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-// -*- C++ -*-
-/**
- * \file FormCitation.h
- * This file is part of LyX, the document processor.
- * Licence details can be found in the file COPYING.
- *
- * \author Angus Leeming
- *
- * Full author contact details are available in file CREDITS.
- */
-
-#ifndef FORMCITATION_H
-#define FORMCITATION_H
-
-#include "FormDialogView.h"
-#include "biblio.h"
-
-namespace lyx {
-namespace frontend {
-
-class ControlCitation;
-struct FD_citation;
-
-/** This class provides an XForms implementation of the Citation Dialog.
- */
-class FormCitation
-       : public FormController<ControlCitation, FormView<FD_citation> > {
-public:
-       ///
-       FormCitation(Dialog &);
-private:
-       ///
-       enum State {
-               ///
-               ON,
-               ///
-               OFF
-       };
-
-       /// Set the Params variable for the Controller.
-       virtual void apply();
-       /// Build the dialog.
-       virtual void build();
-       /// Hide the dialog.
-       virtual void hide();
-       /// Update dialog before/whilst showing it.
-       virtual void update();
-       /// Filter the inputs on callback from xforms
-       virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
-
-       /// search for a citation
-       void findBiblio(biblio::Direction const dir);
-
-       ///
-       void updateBrowser(FL_OBJECT *, std::vector<std::string> const &) const;
-       ///
-       void setBibButtons(State) const;
-       ///
-       void setCiteButtons(State) const;
-
-       /// used keys (left panel)
-       std::vector<std::string> citekeys;
-       /// available keys (right panel)
-       std::vector<std::string> bibkeys;
-};
-
-} // namespace frontend
-} // namespace lyx
-
-#endif // FORMCITATION_H