]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbibtex.h
changelogs
[lyx.git] / src / insets / insetbibtex.h
index 2554b48fef3b17c8f025675229e5a8a9f704c3e0..f2148395a000d878877176f09310bbb0c6af75fd 100644 (file)
@@ -23,14 +23,6 @@ public:
        ///
        InsetBibtex(InsetCommandParams const &);
        ///
-       ~InsetBibtex();
-       ///
-       std::auto_ptr<InsetBase> clone() const;
-       ///
-       void metrics(MetricsInfo &, Dimension &) const;
-       ///
-       void draw(PainterInfo & pi, int x, int y) const;
-       ///
        std::string const getScreenLabel(Buffer const &) const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
@@ -40,7 +32,7 @@ public:
        bool display() const { return true; }
        ///
        int latex(Buffer const &, std::ostream &,
-                 LatexRunParams const &) const;
+                 OutputParams const &) const;
        ///
        void fillWithBibKeys(Buffer const & buffer,
                std::vector<std::pair<std::string,std::string> > & keys) const;
@@ -50,11 +42,13 @@ public:
        bool addDatabase(std::string const &);
        ///
        bool delDatabase(std::string const &);
-protected:
        ///
-       virtual
-       DispatchResult
-       priv_dispatch(FuncRequest const & cmd, idx_type &, pos_type &);
+       void validate(LaTeXFeatures &) const;
+protected:
+       virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
+
 };
 
 #endif // INSET_BIBTEX_H