4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS
16 #include "ControlCommand.h"
18 /** A controller for the Ref Dialog.
20 class ControlRef : public ControlCommand {
23 ControlRef(LyXView &, Dialogs &);
25 std::vector<string> const getLabelList(string const &) const;
27 void gotoRef(string const &);
31 std::vector<string> const getBufferList() const;
33 int getBufferNum() const;
35 string const getBufferName(int num) const;
37 /** disconnect from the inset when the Apply button is pressed.
38 Allows easy insertion of multiple references. */
39 virtual bool disconnectOnApply() { return true; }
42 #endif // CONTROLREF_H