#ifndef CONTROLREF_H
#define CONTROLREF_H
-#ifdef __GNUG__
-#pragma interface
-#endif
#include "ControlCommand.h"
+#include <vector>
+
/** A controller for the Ref Dialog.
*/
class ControlRef : public ControlCommand {
public:
///
- ControlRef(LyXView &, Dialogs &);
-
+ ControlRef(Dialog &);
///
std::vector<string> const getLabelList(string const &) const;
///
private:
/** disconnect from the inset when the Apply button is pressed.
Allows easy insertion of multiple references. */
- virtual bool disconnectOnApply() { return true; }
+ virtual bool disconnectOnApply() const { return true; }
};
#endif // CONTROLREF_H