]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettoc.h
The markDirty() and fitCursor() changes
[lyx.git] / src / insets / insettoc.h
index 349cf61171328c58067a8561300b0cf9f6f37f4d..142c8de333980a9e093d5e33382ad266ece9c496 100644 (file)
@@ -1,20 +1,17 @@
 // -*- C++ -*-
-/* This file is part of*
- * ======================================================
+/**
+ * \file insettoc.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Word Processor
- *      
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1996-2001 The LyX Team.
- * 
- * ====================================================== */
+ * \author Lars Gullik Bjønnes
+ *
+ * Full author contact details are available in file CREDITS
+ */
 
 #ifndef INSET_TOC_H
 #define INSET_TOC_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "insetcommand.h"
 
@@ -23,8 +20,9 @@
 class InsetTOC : public InsetCommand {
 public:
        ///
-       InsetTOC(InsetCommandParams const & p, bool same_id = false)
-                       : InsetCommand(p, same_id) {}
+       InsetTOC(InsetCommandParams const &, bool same_id = false);
+       ///
+       ~InsetTOC();
        ///
        virtual Inset * clone(Buffer const &, bool same_id = false) const {
                return new InsetTOC(params(), same_id);
@@ -32,7 +30,7 @@ public:
        ///
        string const getScreenLabel(Buffer const *) const;
        ///
-       void edit(BufferView * bv, int, int, unsigned int);
+       void edit(BufferView * bv, int, int, mouse_button::state);
        ///
        void edit(BufferView * bv, bool front = true);
        ///
@@ -46,7 +44,7 @@ public:
        ///
        int linuxdoc(Buffer const *, std::ostream &) const;
        ///
-       int DocBook(Buffer const *, std::ostream &) const;
+       int docbook(Buffer const *, std::ostream &, bool mixcont) const;
 };
 
 #endif