]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetindex.h
fix #832
[lyx.git] / src / insets / insetindex.h
index 3f13751563d3fe840ce94b58a4aa006e6ce1d22a..79ae38e58d3d2c74c5e8a1b225b45488e8cd6559 100644 (file)
@@ -30,14 +30,12 @@ public:
                return new InsetIndex(params(), same_id);
        }
        ///
+       dispatch_result localDispatch(FuncRequest const & cmd);
+       ///
        string const getScreenLabel(Buffer const *) const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       void edit(BufferView *, int, int, mouse_button::state);
-       ///
-       void edit(BufferView * bv, bool front = true);
-       ///
        Inset::Code lyxCode() const;
        ///
        int docbook(Buffer const *, std::ostream &, bool mixcont) const;
@@ -49,16 +47,16 @@ public:
        ///
        InsetPrintIndex(InsetCommandParams const &, bool same_id = false);
        ///
-       virtual Inset * clone(Buffer const &, bool same_id = false) const {
+       ~InsetPrintIndex();
+       ///
+       Inset * clone(Buffer const &, bool same_id = false) const {
                return new InsetPrintIndex(params(), same_id);
        }
+       ///
+       //dispatch_result localDispatch(FuncRequest const & cmd);
        /// Updates needed features for this inset.
        void validate(LaTeXFeatures & features) const;
        ///
-       void edit(BufferView *, int, int, mouse_button::state) {}
-       ///
-       void edit(BufferView *, bool = true) {}
-       ///
        EDITABLE editable() const { return NOT_EDITABLE; }
        ///
        bool display() const { return true; }