]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlRef.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlRef.h
index 5882e5a244bee928bc0494500dfa519250003d9b..df13045ec51d6eea00be4952ded138936278da2d 100644 (file)
 #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;
        ///
@@ -40,7 +38,7 @@ public:
 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