2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2001 The LyX Team.
9 * ======================================================
12 * \author Angus Leeming <a.leeming@ic.ac.uk>
22 #include "ControlCommand.h"
24 /** A controller for the Ref Dialog.
26 class ControlRef : public ControlCommand {
29 ControlRef(LyXView &, Dialogs &);
32 std::vector<string> const getLabelList(string const &) const;
34 void gotoRef(string const &) const;
36 void gotoBookmark() const;
38 std::vector<string> const getBufferList() const;
40 int getBufferNum() const;
42 string const getBufferName(int num) const;
44 /** disconnect from the inset when the Apply button is pressed.
45 Allows easy insertion of multiple references. */
46 virtual bool disconnectOnApply() { return true; }
49 #endif // CONTROLREF_H