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 &);
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