]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlCitation.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlCitation.h
index 451b01e57bd9bf0a84428de5e4bf11419e8316c5..2d30c54a70f92d50e1120a4fa8fc17c326451554 100644 (file)
 class ControlCitation : public ControlCommand {
 public:
        ///
-       ControlCitation(LyXView &, Dialogs &);
+       ControlCitation(Dialog &);
+
+       ///
+       virtual bool initialiseParams(string const & data);
+       /// clean-up on hide.
+       virtual void clearParams();
+
+       /** Disconnect from the inset when the Apply button is pressed.
+        *  Allows easy insertion of multiple citations.
+        */
+       virtual bool disconnectOnApply() const { return true; }
 
        /// Returns a reference to the map of stored keys
        biblio::InfoMap const & bibkeysInfo() const;
@@ -36,15 +46,6 @@ public:
                return citeStyles_;
        }
 private:
-       /// create the InfoMap of keys and data
-       virtual void setDaughterParams();
-       ///
-       virtual void clearDaughterParams();
-
-       /** disconnect from the inset when the Apply button is pressed.
-        Allows easy insertion of multiple citations. */
-       virtual bool disconnectOnApply() { return true; }
-
        /// The info associated with each key
        biblio::InfoMap bibkeysInfo_;