]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettoc.h
reformatting and remove using delc
[lyx.git] / src / insets / insettoc.h
index 4c6848c447b6fc73868851f2ca7549062db96e87..9e2078f2cbb637c44f409e5305dc9c8d9e997194 100644 (file)
 #endif
 
 #include "insetcommand.h"
-#include "support/utility.hpp"
 
 /** Used to insert table of contents
  */
-class InsetTOC : public InsetCommand, public noncopyable {
+class InsetTOC : public InsetCommand {
 public:
        ///
        InsetTOC(InsetCommandParams const & p) : InsetCommand(p) {}
        ///
-        Inset * Clone() const { return new InsetTOC(params()); }
+        Inset * Clone(Buffer const &) const { return new InsetTOC(params()); }
        ///
-       string getScreenLabel() const;
+       string const getScreenLabel() const;
        ///
        void Edit(BufferView * bv, int, int, unsigned int);
         ///
@@ -38,6 +37,8 @@ public:
        ///
        Inset::Code LyxCode() const;
        ///
+       int Ascii(Buffer const *, std::ostream &, int linelen) const;
+       ///
        int Linuxdoc(Buffer const *, std::ostream &) const;
        ///
        int DocBook(Buffer const *, std::ostream &) const;