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
19 #include "ControlCommand.h"
21 /** A controller for the Ref Dialog.
23 class ControlRef : public ControlCommand {
26 ControlRef(LyXView &, Dialogs &);
29 std::vector<string> const getLabelList(string const &) const;
31 void gotoRef(string const &);
35 std::vector<string> const getBufferList() const;
37 int getBufferNum() const;
39 string const getBufferName(int num) const;
41 /** disconnect from the inset when the Apply button is pressed.
42 Allows easy insertion of multiple references. */
43 virtual bool disconnectOnApply() { return true; }
46 #endif // CONTROLREF_H