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"
20 /** A controller for the Ref Dialog.
22 class ControlRef : public ControlCommand {
27 std::vector<string> const getLabelList(string const &) const;
29 void gotoRef(string const &);
33 std::vector<string> const getBufferList() const;
35 int getBufferNum() const;
37 string const getBufferName(int num) const;
39 /** disconnect from the inset when the Apply button is pressed.
40 Allows easy insertion of multiple references. */
41 virtual bool disconnectOnApply() const { return true; }
44 #endif // CONTROLREF_H