4 * See the file COPYING.
6 * \author Angus Leeming
8 * Full author contact details are available in file CREDITS
18 #include "ControlCommand.h"
20 /** A controller for the Ref Dialog.
22 class ControlRef : public ControlCommand {
25 ControlRef(LyXView &, Dialogs &);
28 std::vector<string> const getLabelList(string const &) const;
30 void gotoRef(string const &);
34 std::vector<string> const getBufferList() const;
36 int getBufferNum() const;
38 string const getBufferName(int num) const;
40 /** disconnect from the inset when the Apply button is pressed.
41 Allows easy insertion of multiple references. */
42 virtual bool disconnectOnApply() { return true; }
45 #endif // CONTROLREF_H