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"
22 /** A controller for the Ref Dialog.
24 class ControlRef : public ControlCommand {
29 std::vector<docstring> const getLabelList(std::string const &) const;
31 void gotoRef(std::string const &);
35 std::vector<std::string> const getBufferList() const;
37 int getBufferNum() const;
39 std::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() const { return true; }
46 } // namespace frontend
49 #endif // CONTROLREF_H