]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbibtex.h
Clean up InsetGraphics::Cache and rename as GraphicsInset.
[lyx.git] / src / insets / insetbibtex.h
index 7c7b2676ef12c8c0dc863ea818721b58f45e315d..e618f43b4a4be22486afd6bd2f1fb310134f37e2 100644 (file)
@@ -23,13 +23,15 @@ class Buffer;
 class InsetBibtex : public InsetCommand {
 public:
        ///
-       InsetBibtex(InsetCommandParams const &, bool same_id = false);
+       InsetBibtex(InsetCommandParams const &);
        ///
        ~InsetBibtex();
        ///
-       Inset * clone(Buffer const &, bool same_id = false) const {
-               return new InsetBibtex(params(), same_id);
+       Inset * clone() const {
+               return new InsetBibtex(params());
        }
+       /// small wrapper for the time being
+       virtual dispatch_result localDispatch(FuncRequest const & cmd);
        ///
        string const getScreenLabel(Buffer const *) const;
        ///
@@ -37,12 +39,8 @@ public:
        ///
        Inset::Code lyxCode() const { return Inset::BIBTEX_CODE; }
        ///
-       void edit(BufferView *, int x, int y, mouse_button::state button);
-       ///
-       void edit(BufferView * bv, bool front = true);
-       ///
        int latex(Buffer const *, std::ostream &,
-                 bool fragile, bool freespace) const;
+                 LatexRunParams const &) const;
        ///
        void fillWithBibKeys(Buffer const *,
                std::vector<std::pair<string,string> > &) const;