]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbibitem.h
the dispatch patch
[lyx.git] / src / insets / insetbibitem.h
index c2d5797ab6d6f846eddb27b8db98a6cf5e0f118e..ae3c6649a315ace94a2f2b33fe8906453bc26d38 100644 (file)
@@ -30,8 +30,6 @@ public:
        ~InsetBibitem();
        ///
        std::auto_ptr<InsetBase> clone() const;
-       ///
-       virtual dispatch_result localDispatch(FuncRequest const & cmd);
        /** Currently \bibitem is used as a LyX2.x command,
            so we need this method.
        */
@@ -39,7 +37,7 @@ public:
        ///
        void read(Buffer const &, LyXLex & lex);
        ///
-       virtual string const getScreenLabel(Buffer const &) const;
+       virtual std::string const getScreenLabel(Buffer const &) const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
@@ -51,8 +49,12 @@ public:
        ///
        int getCounter() const { return counter; }
        ///
-       string const getBibLabel() const;
-
+       std::string const getBibLabel() const;
+protected:
+       ///
+       virtual
+       dispatch_result
+       priv_dispatch(FuncRequest const & cmd, idx_type &, pos_type &);
 private:
        ///
        int counter;