]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetindex.h
The markDirty() and fitCursor() changes
[lyx.git] / src / insets / insetindex.h
index 88c76bab6b3538e196082236615450a688f9e4c1..3f13751563d3fe840ce94b58a4aa006e6ce1d22a 100644 (file)
@@ -1,20 +1,17 @@
 // -*- C++ -*-
-/* This file is part of*
- * ======================================================
+/**
+ * \file insetindex.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author Lars Gullik Bjønnes
  *
- *         Copyright 1995 Matthias Ettrich
- *          Copyright 1996-2001 the LyX Team.
- *
- * ====================================================== */
+ * Full author contact details are available in file CREDITS
+ */
 
 #ifndef INSET_INDEX_H
 #define INSET_INDEX_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "insetcommand.h"
 
@@ -27,6 +24,8 @@ public:
        ///
        InsetIndex(InsetCommandParams const &, bool same_id = false);
        ///
+       ~InsetIndex();
+       ///
        virtual Inset * clone(Buffer const &, bool same_id = false) const {
                return new InsetIndex(params(), same_id);
        }
@@ -35,13 +34,13 @@ public:
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       void edit(BufferView *, int, int, unsigned int);
+       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 &) const;
+       int docbook(Buffer const *, std::ostream &, bool mixcont) const;
 };
 
 
@@ -56,7 +55,7 @@ public:
        /// Updates needed features for this inset.
        void validate(LaTeXFeatures & features) const;
        ///
-       void edit(BufferView *, int, int, unsigned int) {}
+       void edit(BufferView *, int, int, mouse_button::state) {}
        ///
        void edit(BufferView *, bool = true) {}
        ///